types

package
v1.19.0-rc2 Latest Latest
Warning

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

Go to latest
Published: Jun 25, 2024 License: Apache-2.0 Imports: 46 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 (
	// TKObject is the telemetry key for an object stored on-chain in the metadata module.
	TKObject string = "stored-object"
	// TKObjectAction is the telemetry key for an action taken on the chain.
	TKObjectAction string = "object-action"

	// TLCategory is a string name for labels defining an object category.
	TLCategory               string            = "category"
	TLCategory_Entry         TelemetryCategory = "entry"
	TLCategory_Specification TelemetryCategory = "specification"
	TLCategory_OSLocator     TelemetryCategory = "object-store-locator"

	// TLType is a string name for labels defining an object type.
	TLType              string              = "object-type"
	TLType_Scope        TelemetryObjectType = "scope"
	TLType_Session      TelemetryObjectType = "session"
	TLType_Record       TelemetryObjectType = "record"
	TLType_ScopeSpec    TelemetryObjectType = "scope-specification"
	TLType_ContractSpec TelemetryObjectType = "contract-specification"
	TLType_RecordSpec   TelemetryObjectType = "record-specification"
	TLType_OSLocator    TelemetryObjectType = "object-store-locator"

	// TLAction is a string name for labels defining an action taken.
	TLAction         string          = "action"
	TLAction_Created TelemetryAction = "created"
	TLAction_Updated TelemetryAction = "updated"
	TLAction_Deleted TelemetryAction = "deleted"
)
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

	// DefaultParamspace is the name used for the parameter subspace for this module.
	DefaultParamspace = ModuleName
)
View Source
const (
	TypeURLMsgWriteScopeRequest                      = "/provenance.metadata.v1.MsgWriteScopeRequest"
	TypeURLMsgDeleteScopeRequest                     = "/provenance.metadata.v1.MsgDeleteScopeRequest"
	TypeURLMsgAddScopeDataAccessRequest              = "/provenance.metadata.v1.MsgAddScopeDataAccessRequest"
	TypeURLMsgDeleteScopeDataAccessRequest           = "/provenance.metadata.v1.MsgDeleteScopeDataAccessRequest"
	TypeURLMsgAddScopeOwnerRequest                   = "/provenance.metadata.v1.MsgAddScopeOwnerRequest"
	TypeURLMsgDeleteScopeOwnerRequest                = "/provenance.metadata.v1.MsgDeleteScopeOwnerRequest"
	TypeURLMsgUpdateValueOwnersRequest               = "/provenance.metadata.v1.MsgUpdateValueOwnersRequest"
	TypeURLMsgMigrateValueOwnerRequest               = "/provenance.metadata.v1.MsgMigrateValueOwnerRequest"
	TypeURLMsgWriteSessionRequest                    = "/provenance.metadata.v1.MsgWriteSessionRequest"
	TypeURLMsgWriteRecordRequest                     = "/provenance.metadata.v1.MsgWriteRecordRequest"
	TypeURLMsgDeleteRecordRequest                    = "/provenance.metadata.v1.MsgDeleteRecordRequest"
	TypeURLMsgWriteScopeSpecificationRequest         = "/provenance.metadata.v1.MsgWriteScopeSpecificationRequest"
	TypeURLMsgDeleteScopeSpecificationRequest        = "/provenance.metadata.v1.MsgDeleteScopeSpecificationRequest"
	TypeURLMsgWriteContractSpecificationRequest      = "/provenance.metadata.v1.MsgWriteContractSpecificationRequest"
	TypeURLMsgDeleteContractSpecificationRequest     = "/provenance.metadata.v1.MsgDeleteContractSpecificationRequest"
	TypeURLMsgAddContractSpecToScopeSpecRequest      = "/provenance.metadata.v1.MsgAddContractSpecToScopeSpecRequest"
	TypeURLMsgDeleteContractSpecFromScopeSpecRequest = "/provenance.metadata.v1.MsgDeleteContractSpecFromScopeSpecRequest"
	TypeURLMsgWriteRecordSpecificationRequest        = "/provenance.metadata.v1.MsgWriteRecordSpecificationRequest"
	TypeURLMsgDeleteRecordSpecificationRequest       = "/provenance.metadata.v1.MsgDeleteRecordSpecificationRequest"
	TypeURLMsgBindOSLocatorRequest                   = "/provenance.metadata.v1.MsgBindOSLocatorRequest"
	TypeURLMsgDeleteOSLocatorRequest                 = "/provenance.metadata.v1.MsgDeleteOSLocatorRequest"
	TypeURLMsgModifyOSLocatorRequest                 = "/provenance.metadata.v1.MsgModifyOSLocatorRequest"
	TypeURLMsgSetAccountDataRequest                  = "/provenance.metadata.v1.MsgSetAccountDataRequest"
)

These TypeURL variables and values be generated by running unit test TestPrintMessageTypeStrings in msgs_test.go.

View Source
const (
	DefaultMaxURILength = 2048
)

Default parameter namespace

View Source
const (
	UsdDenom = "usd"
)

Variables

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

x/metadata module errors

View Source
var (
	ErrInvalidLengthEvents        = fmt.Errorf("proto: negative length found during unmarshaling")
	ErrIntOverflowEvents          = fmt.Errorf("proto: integer overflow")
	ErrUnexpectedEndOfGroupEvents = fmt.Errorf("proto: unexpected end of group")
)
View Source
var (
	ErrInvalidLengthGenesis        = fmt.Errorf("proto: negative length found during unmarshaling")
	ErrIntOverflowGenesis          = fmt.Errorf("proto: integer overflow")
	ErrUnexpectedEndOfGroupGenesis = fmt.Errorf("proto: unexpected end of group")
)
View Source
var (
	// ScopeKeyPrefix is the key for scope records in metadata store
	ScopeKeyPrefix = []byte{0x00}
	// 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{0x17}
	// ScopeSpecScopeCacheKeyPrefix for scope to scope specification cache lookup
	ScopeSpecScopeCacheKeyPrefix = []byte{0x11}
	// ValueOwnerScopeCacheKeyPrefix for scope to value owner address cache lookup
	ValueOwnerScopeCacheKeyPrefix = []byte{0x18}

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

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

	// NetAssetValuePrefix prefix for net asset values of scopes
	NetAssetValuePrefix = []byte{0x22}

	// OSLocatorParamPrefix prefix for os locator params
	OSLocatorParamPrefix = []byte{0x23}
)

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

- 0x21<owner_address>: ObjectStoreLocator

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

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

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

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

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

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

- 0x20<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")
)

AllRequestMsgs defines all the Msg*Request messages.

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 (
	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",
	10: "PARTY_TYPE_CONTROLLER",
	11: "PARTY_TYPE_VALIDATOR",
}
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,
	"PARTY_TYPE_CONTROLLER":  10,
	"PARTY_TYPE_VALIDATOR":   11,
}
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 EqualPartiers added in v1.15.0

func EqualPartiers(p1, p2 Partier) bool

EqualPartiers returns true if p1 and p2 are equivalent.

func EqualParties added in v1.5.0

func EqualParties(p1, p2 []Party) bool

EqualParties returns true if the two provided sets of parties contain the same entries. This assumes that duplicates are not allowed in a set of parties.

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 GetIncObjFunc added in v1.3.0

func GetIncObjFunc(objType TelemetryObjectType, action TelemetryAction) func()

GetIncObjFunc creates a function that will call telemetry.IncrCounterWithLabels for counting metadata module chain objects.

func GetIncObjFuncN added in v1.16.0

func GetIncObjFuncN(objType TelemetryObjectType, action TelemetryAction, count int) func()

GetIncObjFuncN creates a function that will call telemetry.IncrCounterWithLabels for counting metadata module chain objects. It's similar to GetIncObjFunc, except multiplies the counts by the provided count.

func GetOSLocatorKey added in v1.1.0

func GetOSLocatorKey(addr sdk.AccAddress) []byte

GetOSLocatorKey returns a store key for an object store locator entry

func GetPartyAddresses added in v1.15.0

func GetPartyAddresses(parties []Party) []string

GetPartyAddresses gets the addresses of all of the parties. Each address can only appear once in the return value.

func GetRequiredPartyAddresses added in v1.15.0

func GetRequiredPartyAddresses(parties []Party) []string

GetRequiredPartyAddresses gets the addresses of all the required parties. Each address can only appear once in the return value.

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 NetAssetValueKey added in v1.18.0

func NetAssetValueKey(scopeAddr MetadataAddress, denom string) []byte

NetAssetValueKey returns key [prefix][marker address][asset denom value] for scope's net asset value by value denom

func NetAssetValueKeyPrefix added in v1.18.0

func NetAssetValueKeyPrefix(scopeAddr MetadataAddress) []byte

NetAssetValueKey returns key [prefix][scope address] for scope net asset values

func OSParamKeyTable added in v0.3.0

func OSParamKeyTable() paramtypes.KeyTable

ParamKeyTable for metadata module TODO: remove with the umber (v1.19.x) handlers.

func ParamKeyTable

func ParamKeyTable() paramtypes.KeyTable

ParamKeyTable for metadata module

func RegisterInterfaces

func RegisterInterfaces(registry cdctypes.InterfaceRegistry)

RegisterInterfaces registers concrete implementations for this module.

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 SamePartiers added in v1.15.0

func SamePartiers(p1, p2 Partier) bool

SamePartiers returns true if p1 and p2 are have the same address and role.

func ValidateOptionalParties added in v1.15.0

func ValidateOptionalParties(optAllowed bool, parties []Party) error

ValidateOptionalParties validates that, if optional parties aren't allowed, none are provided.

func ValidatePartiesAreUnique added in v1.15.0

func ValidatePartiesAreUnique(parties []Party) error

ValidatePartiesAreUnique makes sure that no two provided parties are the same.

func ValidatePartiesBasic added in v1.3.0

func ValidatePartiesBasic(parties []Party) error

ValidatePartiesBasic validates a required list of parties.

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 AccountDataRequest added in v1.16.0

type AccountDataRequest struct {
	// The metadata address to look up.
	// Currently, only scope ids are supported.
	MetadataAddr MetadataAddress `protobuf:"bytes,1,opt,name=metadata_addr,json=metadataAddr,proto3,customtype=MetadataAddress" json:"metadata_addr"`
}

AccountDataRequest is the request type for the Query/AccountData RPC method.

func (*AccountDataRequest) Descriptor added in v1.16.0

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

func (*AccountDataRequest) Marshal added in v1.16.0

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

func (*AccountDataRequest) MarshalTo added in v1.16.0

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

func (*AccountDataRequest) MarshalToSizedBuffer added in v1.16.0

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

func (*AccountDataRequest) ProtoMessage added in v1.16.0

func (*AccountDataRequest) ProtoMessage()

func (*AccountDataRequest) Reset added in v1.16.0

func (m *AccountDataRequest) Reset()

func (*AccountDataRequest) Size added in v1.16.0

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

func (*AccountDataRequest) String added in v1.16.0

func (m *AccountDataRequest) String() string

func (*AccountDataRequest) Unmarshal added in v1.16.0

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

func (*AccountDataRequest) XXX_DiscardUnknown added in v1.16.0

func (m *AccountDataRequest) XXX_DiscardUnknown()

func (*AccountDataRequest) XXX_Marshal added in v1.16.0

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

func (*AccountDataRequest) XXX_Merge added in v1.16.0

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

func (*AccountDataRequest) XXX_Size added in v1.16.0

func (m *AccountDataRequest) XXX_Size() int

func (*AccountDataRequest) XXX_Unmarshal added in v1.16.0

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

type AccountDataResponse added in v1.16.0

type AccountDataResponse struct {
	// The accountdata for the requested metadata address.
	Value string `protobuf:"bytes,1,opt,name=value,proto3" json:"value,omitempty"`
}

AccountDataResponse is the response type for the Query/AccountData RPC method.

func (*AccountDataResponse) Descriptor added in v1.16.0

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

func (*AccountDataResponse) GetValue added in v1.16.0

func (m *AccountDataResponse) GetValue() string

func (*AccountDataResponse) Marshal added in v1.16.0

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

func (*AccountDataResponse) MarshalTo added in v1.16.0

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

func (*AccountDataResponse) MarshalToSizedBuffer added in v1.16.0

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

func (*AccountDataResponse) ProtoMessage added in v1.16.0

func (*AccountDataResponse) ProtoMessage()

func (*AccountDataResponse) Reset added in v1.16.0

func (m *AccountDataResponse) Reset()

func (*AccountDataResponse) Size added in v1.16.0

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

func (*AccountDataResponse) String added in v1.16.0

func (m *AccountDataResponse) String() string

func (*AccountDataResponse) Unmarshal added in v1.16.0

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

func (*AccountDataResponse) XXX_DiscardUnknown added in v1.16.0

func (m *AccountDataResponse) XXX_DiscardUnknown()

func (*AccountDataResponse) XXX_Marshal added in v1.16.0

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

func (*AccountDataResponse) XXX_Merge added in v1.16.0

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

func (*AccountDataResponse) XXX_Size added in v1.16.0

func (m *AccountDataResponse) XXX_Size() int

func (*AccountDataResponse) XXX_Unmarshal added in v1.16.0

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

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"`
	// 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"`
	// the date/time when this entry was last updated
	UpdatedDate time.Time `protobuf:"bytes,3,opt,name=updated_date,json=updatedDate,proto3,stdtime" json:"updated_date"`
	// the address of the account that modified this record
	UpdatedBy string `protobuf:"bytes,4,opt,name=updated_by,json=updatedBy,proto3" json:"updated_by,omitempty"`
	// an optional version number that is incremented with each update
	Version uint32 `protobuf:"varint,5,opt,name=version,proto3" json:"version,omitempty"`
	// an optional message associated with the creation/update event
	Message string `protobuf:"bytes,6,opt,name=message,proto3" json:"message,omitempty"`
}

AuditFields capture information about the last account to make modifications and when they were made

func (*AuditFields) Descriptor

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

func (*AuditFields) GetCreatedBy

func (m *AuditFields) GetCreatedBy() string

func (*AuditFields) GetCreatedDate

func (m *AuditFields) GetCreatedDate() time.Time

func (*AuditFields) GetMessage

func (m *AuditFields) GetMessage() string

func (*AuditFields) GetUpdatedBy

func (m *AuditFields) GetUpdatedBy() string

func (*AuditFields) GetUpdatedDate

func (m *AuditFields) GetUpdatedDate() time.Time

func (*AuditFields) GetVersion

func (m *AuditFields) GetVersion() uint32

func (*AuditFields) Marshal

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

func (*AuditFields) MarshalTo

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

func (*AuditFields) MarshalToSizedBuffer

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

func (*AuditFields) ProtoMessage

func (*AuditFields) ProtoMessage()

func (*AuditFields) Reset

func (m *AuditFields) Reset()

func (*AuditFields) Size

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

func (*AuditFields) String

func (m *AuditFields) String() string

func (*AuditFields) Unmarshal

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

func (*AuditFields) 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 ContractSpecIdInfo added in v1.0.0

type ContractSpecIdInfo struct {
	// contract_spec_id is the raw bytes of the contract specification address.
	ContractSpecId MetadataAddress `protobuf:"bytes,1,opt,name=contract_spec_id,json=contractSpecId,proto3,customtype=MetadataAddress" json:"contract_spec_id"`
	// contract_spec_id_prefix is the prefix portion of the contract_spec_id.
	ContractSpecIdPrefix []byte `protobuf:"bytes,2,opt,name=contract_spec_id_prefix,json=contractSpecIdPrefix,proto3" json:"contract_spec_id_prefix,omitempty"`
	// contract_spec_id_contract_spec_uuid is the contract_spec_uuid portion of the contract_spec_id.
	ContractSpecIdContractSpecUuid []byte `` /* 159-byte string literal not displayed */
	// contract_spec_addr is the bech32 string version of the contract_spec_id.
	ContractSpecAddr string `protobuf:"bytes,4,opt,name=contract_spec_addr,json=contractSpecAddr,proto3" json:"contract_spec_addr,omitempty"`
	// contract_spec_uuid is the uuid hex string of the contract_spec_id_contract_spec_uuid.
	ContractSpecUuid string `protobuf:"bytes,5,opt,name=contract_spec_uuid,json=contractSpecUuid,proto3" json:"contract_spec_uuid,omitempty"`
}

ContractSpecIdInfo contains various info regarding a contract specification id.

func GetContractSpecIDInfo added in v1.0.0

func GetContractSpecIDInfo(contractSpecID MetadataAddress) *ContractSpecIdInfo

GetContractSpecIDInfo creates a ContractSpecIdInfo populated with info about the provided MetadataAddress.

func (*ContractSpecIdInfo) Descriptor added in v1.0.0

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

func (*ContractSpecIdInfo) GetContractSpecAddr added in v1.0.0

func (m *ContractSpecIdInfo) GetContractSpecAddr() string

func (*ContractSpecIdInfo) GetContractSpecIdContractSpecUuid added in v1.0.0

func (m *ContractSpecIdInfo) GetContractSpecIdContractSpecUuid() []byte

func (*ContractSpecIdInfo) GetContractSpecIdPrefix added in v1.0.0

func (m *ContractSpecIdInfo) GetContractSpecIdPrefix() []byte

func (*ContractSpecIdInfo) GetContractSpecUuid added in v1.0.0

func (m *ContractSpecIdInfo) GetContractSpecUuid() string

func (*ContractSpecIdInfo) Marshal added in v1.0.0

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

func (*ContractSpecIdInfo) MarshalTo added in v1.0.0

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

func (*ContractSpecIdInfo) MarshalToSizedBuffer added in v1.0.0

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

func (*ContractSpecIdInfo) ProtoMessage added in v1.0.0

func (*ContractSpecIdInfo) ProtoMessage()

func (*ContractSpecIdInfo) Reset added in v1.0.0

func (m *ContractSpecIdInfo) Reset()

func (*ContractSpecIdInfo) Size added in v1.0.0

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

func (*ContractSpecIdInfo) String added in v1.0.0

func (m *ContractSpecIdInfo) String() string

func (*ContractSpecIdInfo) Unmarshal added in v1.0.0

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

func (*ContractSpecIdInfo) XXX_DiscardUnknown added in v1.0.0

func (m *ContractSpecIdInfo) XXX_DiscardUnknown()

func (*ContractSpecIdInfo) XXX_Marshal added in v1.0.0

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

func (*ContractSpecIdInfo) XXX_Merge added in v1.0.0

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

func (*ContractSpecIdInfo) XXX_Size added in v1.0.0

func (m *ContractSpecIdInfo) XXX_Size() int

func (*ContractSpecIdInfo) XXX_Unmarshal added in v1.0.0

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

type ContractSpecification added in v0.1.5

type ContractSpecification struct {
	// unique identifier for this specification on chain
	SpecificationId MetadataAddress `protobuf:"bytes,1,opt,name=specification_id,json=specificationId,proto3,customtype=MetadataAddress" json:"specification_id"`
	// 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 `protobuf:"bytes,3,rep,name=owner_addresses,json=ownerAddresses,proto3" json:"owner_addresses,omitempty"`
	// a list of party roles that must be fullfilled when signing a transaction for this contract specification
	PartiesInvolved []PartyType `` /* 152-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"`
}

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

NewContractSpecification creates a new ContractSpecification 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) GetResourceId added in v1.17.0

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 (this *ContractSpecification) String() string

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

type ContractSpecificationRequest struct {
	// specification_id can either be a uuid, e.g. def6bc0a-c9dd-4874-948f-5206e6060a84 or a bech32 contract specification
	// address, e.g. contractspec1q000d0q2e8w5say53afqdesxp2zqzkr4fn.
	// It can also be a record specification address, e.g.
	// recspec1qh00d0q2e8w5say53afqdesxp2zw42dq2jdvmdazuwzcaddhh8gmuqhez44.
	SpecificationId string `protobuf:"bytes,1,opt,name=specification_id,json=specificationId,proto3" json:"specification_id,omitempty"`
	// include_record_specs is a flag for whether to include the the record specifications of this contract specification
	// in the response.
	IncludeRecordSpecs bool `protobuf:"varint,10,opt,name=include_record_specs,json=includeRecordSpecs,proto3" json:"include_record_specs,omitempty"`
	// exclude_id_info is a flag for whether to exclude the id info from the response.
	ExcludeIdInfo bool `protobuf:"varint,12,opt,name=exclude_id_info,json=excludeIdInfo,proto3" json:"exclude_id_info,omitempty"`
	// include_request is a flag for whether to include this request in your result.
	IncludeRequest bool `protobuf:"varint,98,opt,name=include_request,json=includeRequest,proto3" json:"include_request,omitempty"`
}

ContractSpecificationRequest is the request type for the Query/ContractSpecification RPC method.

func (*ContractSpecificationRequest) Descriptor added in v0.1.5

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

func (*ContractSpecificationRequest) GetExcludeIdInfo added in v1.17.0

func (m *ContractSpecificationRequest) GetExcludeIdInfo() bool

func (*ContractSpecificationRequest) GetIncludeRecordSpecs added in v1.0.0

func (m *ContractSpecificationRequest) GetIncludeRecordSpecs() bool

func (*ContractSpecificationRequest) GetIncludeRequest added in v1.17.0

func (m *ContractSpecificationRequest) GetIncludeRequest() bool

func (*ContractSpecificationRequest) GetSpecificationId added in v1.0.0

func (m *ContractSpecificationRequest) GetSpecificationId() 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 {
	// contract_specification is the wrapped contract specification.
	ContractSpecification *ContractSpecificationWrapper `protobuf:"bytes,1,opt,name=contract_specification,json=contractSpecification,proto3" json:"contract_specification,omitempty"`
	// record_specifications is any number or wrapped record specifications associated with this contract_specification
	// (if requested).
	RecordSpecifications []*RecordSpecificationWrapper `protobuf:"bytes,3,rep,name=record_specifications,json=recordSpecifications,proto3" json:"record_specifications,omitempty"`
	// request is a copy of the request that generated these results.
	Request *ContractSpecificationRequest `protobuf:"bytes,98,opt,name=request,proto3" json:"request,omitempty"`
}

ContractSpecificationResponse is the response type for the Query/ContractSpecification RPC method.

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

func (*ContractSpecificationResponse) GetRecordSpecifications added in v1.0.0

func (m *ContractSpecificationResponse) GetRecordSpecifications() []*RecordSpecificationWrapper

func (*ContractSpecificationResponse) GetRequest added in v1.0.0

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 ContractSpecificationWrapper added in v1.0.0

type ContractSpecificationWrapper struct {
	// specification is the on-chain contract specification message.
	Specification *ContractSpecification `protobuf:"bytes,1,opt,name=specification,proto3" json:"specification,omitempty"`
	// contract_spec_id_info contains information about the id/address of the contract specification.
	ContractSpecIdInfo *ContractSpecIdInfo `protobuf:"bytes,2,opt,name=contract_spec_id_info,json=contractSpecIdInfo,proto3" json:"contract_spec_id_info,omitempty"`
}

ContractSpecificationWrapper contains a single contract specification and some extra identifiers for it.

func WrapContractSpec added in v1.0.0

func WrapContractSpec(spec *ContractSpecification, includeIDInfo bool) *ContractSpecificationWrapper

WrapContractSpec wraps a contract specification in a ContractSpecificationWrapper and populates the _addr and _uuid fields.

func WrapContractSpecNotFound added in v1.0.0

func WrapContractSpecNotFound(ma MetadataAddress) *ContractSpecificationWrapper

WrapContractSpecNotFound creates a ContractSpecificationWrapper with the _addr and _uuid fields set using the provided MetadataAddress.

func (*ContractSpecificationWrapper) Descriptor added in v1.0.0

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

func (*ContractSpecificationWrapper) GetContractSpecIdInfo added in v1.0.0

func (m *ContractSpecificationWrapper) GetContractSpecIdInfo() *ContractSpecIdInfo

func (*ContractSpecificationWrapper) GetSpecification added in v1.0.0

func (m *ContractSpecificationWrapper) GetSpecification() *ContractSpecification

func (*ContractSpecificationWrapper) Marshal added in v1.0.0

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

func (*ContractSpecificationWrapper) MarshalTo added in v1.0.0

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

func (*ContractSpecificationWrapper) MarshalToSizedBuffer added in v1.0.0

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

func (*ContractSpecificationWrapper) ProtoMessage added in v1.0.0

func (*ContractSpecificationWrapper) ProtoMessage()

func (*ContractSpecificationWrapper) Reset added in v1.0.0

func (m *ContractSpecificationWrapper) Reset()

func (*ContractSpecificationWrapper) Size added in v1.0.0

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

func (*ContractSpecificationWrapper) String added in v1.0.0

func (*ContractSpecificationWrapper) Unmarshal added in v1.0.0

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

func (*ContractSpecificationWrapper) XXX_DiscardUnknown added in v1.0.0

func (m *ContractSpecificationWrapper) XXX_DiscardUnknown()

func (*ContractSpecificationWrapper) XXX_Marshal added in v1.0.0

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

func (*ContractSpecificationWrapper) XXX_Merge added in v1.0.0

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

func (*ContractSpecificationWrapper) XXX_Size added in v1.0.0

func (m *ContractSpecificationWrapper) XXX_Size() int

func (*ContractSpecificationWrapper) XXX_Unmarshal added in v1.0.0

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

func (*ContractSpecification_Hash) String added in v1.19.0

func (this *ContractSpecification_Hash) String() string

type ContractSpecification_ResourceId added in v0.1.5

type ContractSpecification_ResourceId struct {
	ResourceId github_com_cosmos_cosmos_sdk_types.AccAddress `` /* 152-byte string literal not displayed */
}

func NewContractSpecificationSourceResourceID added in v0.2.0

func NewContractSpecificationSourceResourceID(resourceID sdk.AccAddress) *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)

func (*ContractSpecification_ResourceId) String added in v1.19.0

type ContractSpecificationsAllRequest added in v1.0.0

type ContractSpecificationsAllRequest struct {
	// exclude_id_info is a flag for whether to exclude the id info from the response.
	ExcludeIdInfo bool `protobuf:"varint,12,opt,name=exclude_id_info,json=excludeIdInfo,proto3" json:"exclude_id_info,omitempty"`
	// include_request is a flag for whether to include this request in your result.
	IncludeRequest bool `protobuf:"varint,98,opt,name=include_request,json=includeRequest,proto3" json:"include_request,omitempty"`
	// pagination defines optional pagination parameters for the request.
	Pagination *query.PageRequest `protobuf:"bytes,99,opt,name=pagination,proto3" json:"pagination,omitempty"`
}

ContractSpecificationsAllRequest is the request type for the Query/ContractSpecificationsAll RPC method.

func (*ContractSpecificationsAllRequest) Descriptor added in v1.0.0

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

func (*ContractSpecificationsAllRequest) GetExcludeIdInfo added in v1.17.0

func (m *ContractSpecificationsAllRequest) GetExcludeIdInfo() bool

func (*ContractSpecificationsAllRequest) GetIncludeRequest added in v1.17.0

func (m *ContractSpecificationsAllRequest) GetIncludeRequest() bool

func (*ContractSpecificationsAllRequest) GetPagination added in v1.0.0

func (*ContractSpecificationsAllRequest) Marshal added in v1.0.0

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

func (*ContractSpecificationsAllRequest) MarshalTo added in v1.0.0

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

func (*ContractSpecificationsAllRequest) MarshalToSizedBuffer added in v1.0.0

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

func (*ContractSpecificationsAllRequest) ProtoMessage added in v1.0.0

func (*ContractSpecificationsAllRequest) ProtoMessage()

func (*ContractSpecificationsAllRequest) Reset added in v1.0.0

func (*ContractSpecificationsAllRequest) Size added in v1.0.0

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

func (*ContractSpecificationsAllRequest) String added in v1.0.0

func (*ContractSpecificationsAllRequest) Unmarshal added in v1.0.0

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

func (*ContractSpecificationsAllRequest) XXX_DiscardUnknown added in v1.0.0

func (m *ContractSpecificationsAllRequest) XXX_DiscardUnknown()

func (*ContractSpecificationsAllRequest) XXX_Marshal added in v1.0.0

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

func (*ContractSpecificationsAllRequest) XXX_Merge added in v1.0.0

func (*ContractSpecificationsAllRequest) XXX_Size added in v1.0.0

func (m *ContractSpecificationsAllRequest) XXX_Size() int

func (*ContractSpecificationsAllRequest) XXX_Unmarshal added in v1.0.0

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

type ContractSpecificationsAllResponse added in v1.0.0

type ContractSpecificationsAllResponse struct {
	// contract_specifications are the wrapped contract specifications.
	ContractSpecifications []*ContractSpecificationWrapper `` /* 127-byte string literal not displayed */
	// request is a copy of the request that generated these results.
	Request *ContractSpecificationsAllRequest `protobuf:"bytes,98,opt,name=request,proto3" json:"request,omitempty"`
	// pagination provides the pagination information of this response.
	Pagination *query.PageResponse `protobuf:"bytes,99,opt,name=pagination,proto3" json:"pagination,omitempty"`
}

ContractSpecificationsAllResponse is the response type for the Query/ContractSpecificationsAll RPC method.

func (*ContractSpecificationsAllResponse) Descriptor added in v1.0.0

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

func (*ContractSpecificationsAllResponse) GetContractSpecifications added in v1.0.0

func (m *ContractSpecificationsAllResponse) GetContractSpecifications() []*ContractSpecificationWrapper

func (*ContractSpecificationsAllResponse) GetPagination added in v1.0.0

func (*ContractSpecificationsAllResponse) GetRequest added in v1.0.0

func (*ContractSpecificationsAllResponse) Marshal added in v1.0.0

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

func (*ContractSpecificationsAllResponse) MarshalTo added in v1.0.0

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

func (*ContractSpecificationsAllResponse) MarshalToSizedBuffer added in v1.0.0

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

func (*ContractSpecificationsAllResponse) ProtoMessage added in v1.0.0

func (*ContractSpecificationsAllResponse) ProtoMessage()

func (*ContractSpecificationsAllResponse) Reset added in v1.0.0

func (*ContractSpecificationsAllResponse) Size added in v1.0.0

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

func (*ContractSpecificationsAllResponse) String added in v1.0.0

func (*ContractSpecificationsAllResponse) Unmarshal added in v1.0.0

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

func (*ContractSpecificationsAllResponse) XXX_DiscardUnknown added in v1.0.0

func (m *ContractSpecificationsAllResponse) XXX_DiscardUnknown()

func (*ContractSpecificationsAllResponse) XXX_Marshal added in v1.0.0

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

func (*ContractSpecificationsAllResponse) XXX_Merge added in v1.0.0

func (*ContractSpecificationsAllResponse) XXX_Size added in v1.0.0

func (m *ContractSpecificationsAllResponse) XXX_Size() int

func (*ContractSpecificationsAllResponse) XXX_Unmarshal added in v1.0.0

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

type DefinitionType

type DefinitionType int32

DefinitionType indicates the required definition type for this value

const (
	// DEFINITION_TYPE_UNSPECIFIED indicates an unknown/invalid value
	DefinitionType_DEFINITION_TYPE_UNSPECIFIED DefinitionType = 0
	// DEFINITION_TYPE_PROPOSED indicates a proposed value is used here (a record that is not on-chain)
	DefinitionType_DEFINITION_TYPE_PROPOSED DefinitionType = 1
	// DEFINITION_TYPE_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"`
	// URL of an icon.
	IconUrl string `protobuf:"bytes,5,opt,name=icon_url,json=iconUrl,proto3" json:"icon_url,omitempty"`
}

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

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 EventContractSpecificationCreated added in v1.3.0

type EventContractSpecificationCreated struct {
	// contract_specification_addr is the bech32 address string of the specification id of the contract specification that
	// was created.
	ContractSpecificationAddr string `` /* 138-byte string literal not displayed */
}

EventContractSpecificationCreated is an event message indicating a contract specification has been created.

func NewEventContractSpecificationCreated added in v1.3.0

func NewEventContractSpecificationCreated(contractSpecificationID MetadataAddress) *EventContractSpecificationCreated

func (*EventContractSpecificationCreated) Descriptor added in v1.3.0

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

func (*EventContractSpecificationCreated) GetContractSpecificationAddr added in v1.3.0

func (m *EventContractSpecificationCreated) GetContractSpecificationAddr() string

func (*EventContractSpecificationCreated) Marshal added in v1.3.0

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

func (*EventContractSpecificationCreated) MarshalTo added in v1.3.0

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

func (*EventContractSpecificationCreated) MarshalToSizedBuffer added in v1.3.0

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

func (*EventContractSpecificationCreated) ProtoMessage added in v1.3.0

func (*EventContractSpecificationCreated) ProtoMessage()

func (*EventContractSpecificationCreated) Reset added in v1.3.0

func (*EventContractSpecificationCreated) Size added in v1.3.0

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

func (*EventContractSpecificationCreated) String added in v1.3.0

func (*EventContractSpecificationCreated) Unmarshal added in v1.3.0

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

func (*EventContractSpecificationCreated) XXX_DiscardUnknown added in v1.3.0

func (m *EventContractSpecificationCreated) XXX_DiscardUnknown()

func (*EventContractSpecificationCreated) XXX_Marshal added in v1.3.0

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

func (*EventContractSpecificationCreated) XXX_Merge added in v1.3.0

func (*EventContractSpecificationCreated) XXX_Size added in v1.3.0

func (m *EventContractSpecificationCreated) XXX_Size() int

func (*EventContractSpecificationCreated) XXX_Unmarshal added in v1.3.0

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

type EventContractSpecificationDeleted added in v1.3.0

type EventContractSpecificationDeleted struct {
	// contract_specification_addr is the bech32 address string of the specification id of the contract specification that
	// was deleted.
	ContractSpecificationAddr string `` /* 138-byte string literal not displayed */
}

EventContractSpecificationDeleted is an event message indicating a contract specification has been deleted.

func NewEventContractSpecificationDeleted added in v1.3.0

func NewEventContractSpecificationDeleted(contractSpecificationID MetadataAddress) *EventContractSpecificationDeleted

func (*EventContractSpecificationDeleted) Descriptor added in v1.3.0

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

func (*EventContractSpecificationDeleted) GetContractSpecificationAddr added in v1.3.0

func (m *EventContractSpecificationDeleted) GetContractSpecificationAddr() string

func (*EventContractSpecificationDeleted) Marshal added in v1.3.0

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

func (*EventContractSpecificationDeleted) MarshalTo added in v1.3.0

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

func (*EventContractSpecificationDeleted) MarshalToSizedBuffer added in v1.3.0

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

func (*EventContractSpecificationDeleted) ProtoMessage added in v1.3.0

func (*EventContractSpecificationDeleted) ProtoMessage()

func (*EventContractSpecificationDeleted) Reset added in v1.3.0

func (*EventContractSpecificationDeleted) Size added in v1.3.0

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

func (*EventContractSpecificationDeleted) String added in v1.3.0

func (*EventContractSpecificationDeleted) Unmarshal added in v1.3.0

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

func (*EventContractSpecificationDeleted) XXX_DiscardUnknown added in v1.3.0

func (m *EventContractSpecificationDeleted) XXX_DiscardUnknown()

func (*EventContractSpecificationDeleted) XXX_Marshal added in v1.3.0

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

func (*EventContractSpecificationDeleted) XXX_Merge added in v1.3.0

func (*EventContractSpecificationDeleted) XXX_Size added in v1.3.0

func (m *EventContractSpecificationDeleted) XXX_Size() int

func (*EventContractSpecificationDeleted) XXX_Unmarshal added in v1.3.0

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

type EventContractSpecificationUpdated added in v1.3.0

type EventContractSpecificationUpdated struct {
	// contract_specification_addr is the bech32 address string of the specification id of the contract specification that
	// was updated.
	ContractSpecificationAddr string `` /* 138-byte string literal not displayed */
}

EventContractSpecificationUpdated is an event message indicating a contract specification has been updated.

func NewEventContractSpecificationUpdated added in v1.3.0

func NewEventContractSpecificationUpdated(contractSpecificationID MetadataAddress) *EventContractSpecificationUpdated

func (*EventContractSpecificationUpdated) Descriptor added in v1.3.0

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

func (*EventContractSpecificationUpdated) GetContractSpecificationAddr added in v1.3.0

func (m *EventContractSpecificationUpdated) GetContractSpecificationAddr() string

func (*EventContractSpecificationUpdated) Marshal added in v1.3.0

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

func (*EventContractSpecificationUpdated) MarshalTo added in v1.3.0

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

func (*EventContractSpecificationUpdated) MarshalToSizedBuffer added in v1.3.0

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

func (*EventContractSpecificationUpdated) ProtoMessage added in v1.3.0

func (*EventContractSpecificationUpdated) ProtoMessage()

func (*EventContractSpecificationUpdated) Reset added in v1.3.0

func (*EventContractSpecificationUpdated) Size added in v1.3.0

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

func (*EventContractSpecificationUpdated) String added in v1.3.0

func (*EventContractSpecificationUpdated) Unmarshal added in v1.3.0

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

func (*EventContractSpecificationUpdated) XXX_DiscardUnknown added in v1.3.0

func (m *EventContractSpecificationUpdated) XXX_DiscardUnknown()

func (*EventContractSpecificationUpdated) XXX_Marshal added in v1.3.0

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

func (*EventContractSpecificationUpdated) XXX_Merge added in v1.3.0

func (*EventContractSpecificationUpdated) XXX_Size added in v1.3.0

func (m *EventContractSpecificationUpdated) XXX_Size() int

func (*EventContractSpecificationUpdated) XXX_Unmarshal added in v1.3.0

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

type EventOSLocatorCreated added in v1.3.0

type EventOSLocatorCreated struct {
	// owner is the owner in the object store locator that was created.
	Owner string `protobuf:"bytes,1,opt,name=owner,proto3" json:"owner,omitempty"`
}

EventOSLocatorCreated is an event message indicating an object store locator has been created.

func NewEventOSLocatorCreated added in v1.3.0

func NewEventOSLocatorCreated(owner string) *EventOSLocatorCreated

func (*EventOSLocatorCreated) Descriptor added in v1.3.0

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

func (*EventOSLocatorCreated) GetOwner added in v1.3.0

func (m *EventOSLocatorCreated) GetOwner() string

func (*EventOSLocatorCreated) Marshal added in v1.3.0

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

func (*EventOSLocatorCreated) MarshalTo added in v1.3.0

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

func (*EventOSLocatorCreated) MarshalToSizedBuffer added in v1.3.0

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

func (*EventOSLocatorCreated) ProtoMessage added in v1.3.0

func (*EventOSLocatorCreated) ProtoMessage()

func (*EventOSLocatorCreated) Reset added in v1.3.0

func (m *EventOSLocatorCreated) Reset()

func (*EventOSLocatorCreated) Size added in v1.3.0

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

func (*EventOSLocatorCreated) String added in v1.3.0

func (m *EventOSLocatorCreated) String() string

func (*EventOSLocatorCreated) Unmarshal added in v1.3.0

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

func (*EventOSLocatorCreated) XXX_DiscardUnknown added in v1.3.0

func (m *EventOSLocatorCreated) XXX_DiscardUnknown()

func (*EventOSLocatorCreated) XXX_Marshal added in v1.3.0

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

func (*EventOSLocatorCreated) XXX_Merge added in v1.3.0

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

func (*EventOSLocatorCreated) XXX_Size added in v1.3.0

func (m *EventOSLocatorCreated) XXX_Size() int

func (*EventOSLocatorCreated) XXX_Unmarshal added in v1.3.0

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

type EventOSLocatorDeleted added in v1.3.0

type EventOSLocatorDeleted struct {
	// owner is the owner in the object store locator that was deleted.
	Owner string `protobuf:"bytes,1,opt,name=owner,proto3" json:"owner,omitempty"`
}

EventOSLocatorDeleted is an event message indicating an object store locator has been deleted.

func NewEventOSLocatorDeleted added in v1.3.0

func NewEventOSLocatorDeleted(owner string) *EventOSLocatorDeleted

func (*EventOSLocatorDeleted) Descriptor added in v1.3.0

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

func (*EventOSLocatorDeleted) GetOwner added in v1.3.0

func (m *EventOSLocatorDeleted) GetOwner() string

func (*EventOSLocatorDeleted) Marshal added in v1.3.0

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

func (*EventOSLocatorDeleted) MarshalTo added in v1.3.0

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

func (*EventOSLocatorDeleted) MarshalToSizedBuffer added in v1.3.0

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

func (*EventOSLocatorDeleted) ProtoMessage added in v1.3.0

func (*EventOSLocatorDeleted) ProtoMessage()

func (*EventOSLocatorDeleted) Reset added in v1.3.0

func (m *EventOSLocatorDeleted) Reset()

func (*EventOSLocatorDeleted) Size added in v1.3.0

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

func (*EventOSLocatorDeleted) String added in v1.3.0

func (m *EventOSLocatorDeleted) String() string

func (*EventOSLocatorDeleted) Unmarshal added in v1.3.0

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

func (*EventOSLocatorDeleted) XXX_DiscardUnknown added in v1.3.0

func (m *EventOSLocatorDeleted) XXX_DiscardUnknown()

func (*EventOSLocatorDeleted) XXX_Marshal added in v1.3.0

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

func (*EventOSLocatorDeleted) XXX_Merge added in v1.3.0

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

func (*EventOSLocatorDeleted) XXX_Size added in v1.3.0

func (m *EventOSLocatorDeleted) XXX_Size() int

func (*EventOSLocatorDeleted) XXX_Unmarshal added in v1.3.0

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

type EventOSLocatorUpdated added in v1.3.0

type EventOSLocatorUpdated struct {
	// owner is the owner in the object store locator that was updated.
	Owner string `protobuf:"bytes,1,opt,name=owner,proto3" json:"owner,omitempty"`
}

EventOSLocatorUpdated is an event message indicating an object store locator has been updated.

func NewEventOSLocatorUpdated added in v1.3.0

func NewEventOSLocatorUpdated(owner string) *EventOSLocatorUpdated

func (*EventOSLocatorUpdated) Descriptor added in v1.3.0

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

func (*EventOSLocatorUpdated) GetOwner added in v1.3.0

func (m *EventOSLocatorUpdated) GetOwner() string

func (*EventOSLocatorUpdated) Marshal added in v1.3.0

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

func (*EventOSLocatorUpdated) MarshalTo added in v1.3.0

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

func (*EventOSLocatorUpdated) MarshalToSizedBuffer added in v1.3.0

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

func (*EventOSLocatorUpdated) ProtoMessage added in v1.3.0

func (*EventOSLocatorUpdated) ProtoMessage()

func (*EventOSLocatorUpdated) Reset added in v1.3.0

func (m *EventOSLocatorUpdated) Reset()

func (*EventOSLocatorUpdated) Size added in v1.3.0

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

func (*EventOSLocatorUpdated) String added in v1.3.0

func (m *EventOSLocatorUpdated) String() string

func (*EventOSLocatorUpdated) Unmarshal added in v1.3.0

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

func (*EventOSLocatorUpdated) XXX_DiscardUnknown added in v1.3.0

func (m *EventOSLocatorUpdated) XXX_DiscardUnknown()

func (*EventOSLocatorUpdated) XXX_Marshal added in v1.3.0

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

func (*EventOSLocatorUpdated) XXX_Merge added in v1.3.0

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

func (*EventOSLocatorUpdated) XXX_Size added in v1.3.0

func (m *EventOSLocatorUpdated) XXX_Size() int

func (*EventOSLocatorUpdated) XXX_Unmarshal added in v1.3.0

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

type EventRecordCreated added in v1.3.0

type EventRecordCreated struct {
	// record_addr is the bech32 address string of the record id that was created.
	RecordAddr string `protobuf:"bytes,1,opt,name=record_addr,json=recordAddr,proto3" json:"record_addr,omitempty"`
	// session_addr is the bech32 address string of the session id this record belongs to.
	SessionAddr string `protobuf:"bytes,2,opt,name=session_addr,json=sessionAddr,proto3" json:"session_addr,omitempty"`
	// scope_addr is the bech32 address string of the scope id this record belongs to.
	ScopeAddr string `protobuf:"bytes,3,opt,name=scope_addr,json=scopeAddr,proto3" json:"scope_addr,omitempty"`
}

EventRecordCreated is an event message indicating a record has been created.

func NewEventRecordCreated added in v1.3.0

func NewEventRecordCreated(recordID, sessionID MetadataAddress) *EventRecordCreated

func (*EventRecordCreated) Descriptor added in v1.3.0

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

func (*EventRecordCreated) GetRecordAddr added in v1.3.0

func (m *EventRecordCreated) GetRecordAddr() string

func (*EventRecordCreated) GetScopeAddr added in v1.3.0

func (m *EventRecordCreated) GetScopeAddr() string

func (*EventRecordCreated) GetSessionAddr added in v1.3.0

func (m *EventRecordCreated) GetSessionAddr() string

func (*EventRecordCreated) Marshal added in v1.3.0

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

func (*EventRecordCreated) MarshalTo added in v1.3.0

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

func (*EventRecordCreated) MarshalToSizedBuffer added in v1.3.0

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

func (*EventRecordCreated) ProtoMessage added in v1.3.0

func (*EventRecordCreated) ProtoMessage()

func (*EventRecordCreated) Reset added in v1.3.0

func (m *EventRecordCreated) Reset()

func (*EventRecordCreated) Size added in v1.3.0

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

func (*EventRecordCreated) String added in v1.3.0

func (m *EventRecordCreated) String() string

func (*EventRecordCreated) Unmarshal added in v1.3.0

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

func (*EventRecordCreated) XXX_DiscardUnknown added in v1.3.0

func (m *EventRecordCreated) XXX_DiscardUnknown()

func (*EventRecordCreated) XXX_Marshal added in v1.3.0

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

func (*EventRecordCreated) XXX_Merge added in v1.3.0

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

func (*EventRecordCreated) XXX_Size added in v1.3.0

func (m *EventRecordCreated) XXX_Size() int

func (*EventRecordCreated) XXX_Unmarshal added in v1.3.0

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

type EventRecordDeleted added in v1.3.0

type EventRecordDeleted struct {
	// record is the bech32 address string of the record id that was deleted.
	RecordAddr string `protobuf:"bytes,1,opt,name=record_addr,json=recordAddr,proto3" json:"record_addr,omitempty"`
	// scope_addr is the bech32 address string of the scope id this record belonged to.
	ScopeAddr string `protobuf:"bytes,3,opt,name=scope_addr,json=scopeAddr,proto3" json:"scope_addr,omitempty"`
}

EventRecordDeleted is an event message indicating a record has been deleted.

func NewEventRecordDeleted added in v1.3.0

func NewEventRecordDeleted(recordID MetadataAddress) *EventRecordDeleted

func (*EventRecordDeleted) Descriptor added in v1.3.0

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

func (*EventRecordDeleted) GetRecordAddr added in v1.3.0

func (m *EventRecordDeleted) GetRecordAddr() string

func (*EventRecordDeleted) GetScopeAddr added in v1.3.0

func (m *EventRecordDeleted) GetScopeAddr() string

func (*EventRecordDeleted) Marshal added in v1.3.0

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

func (*EventRecordDeleted) MarshalTo added in v1.3.0

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

func (*EventRecordDeleted) MarshalToSizedBuffer added in v1.3.0

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

func (*EventRecordDeleted) ProtoMessage added in v1.3.0

func (*EventRecordDeleted) ProtoMessage()

func (*EventRecordDeleted) Reset added in v1.3.0

func (m *EventRecordDeleted) Reset()

func (*EventRecordDeleted) Size added in v1.3.0

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

func (*EventRecordDeleted) String added in v1.3.0

func (m *EventRecordDeleted) String() string

func (*EventRecordDeleted) Unmarshal added in v1.3.0

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

func (*EventRecordDeleted) XXX_DiscardUnknown added in v1.3.0

func (m *EventRecordDeleted) XXX_DiscardUnknown()

func (*EventRecordDeleted) XXX_Marshal added in v1.3.0

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

func (*EventRecordDeleted) XXX_Merge added in v1.3.0

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

func (*EventRecordDeleted) XXX_Size added in v1.3.0

func (m *EventRecordDeleted) XXX_Size() int

func (*EventRecordDeleted) XXX_Unmarshal added in v1.3.0

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

type EventRecordSpecificationCreated added in v1.3.0

type EventRecordSpecificationCreated struct {
	// record_specification_addr is the bech32 address string of the specification id of the record specification that was
	// created.
	RecordSpecificationAddr string `` /* 132-byte string literal not displayed */
	// contract_specification_addr is the bech32 address string of the contract specification id this record specification
	// belongs to.
	ContractSpecificationAddr string `` /* 138-byte string literal not displayed */
}

EventRecordSpecificationCreated is an event message indicating a record specification has been created.

func NewEventRecordSpecificationCreated added in v1.3.0

func NewEventRecordSpecificationCreated(recordSpecificationID MetadataAddress) *EventRecordSpecificationCreated

func (*EventRecordSpecificationCreated) Descriptor added in v1.3.0

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

func (*EventRecordSpecificationCreated) GetContractSpecificationAddr added in v1.3.0

func (m *EventRecordSpecificationCreated) GetContractSpecificationAddr() string

func (*EventRecordSpecificationCreated) GetRecordSpecificationAddr added in v1.3.0

func (m *EventRecordSpecificationCreated) GetRecordSpecificationAddr() string

func (*EventRecordSpecificationCreated) Marshal added in v1.3.0

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

func (*EventRecordSpecificationCreated) MarshalTo added in v1.3.0

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

func (*EventRecordSpecificationCreated) MarshalToSizedBuffer added in v1.3.0

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

func (*EventRecordSpecificationCreated) ProtoMessage added in v1.3.0

func (*EventRecordSpecificationCreated) ProtoMessage()

func (*EventRecordSpecificationCreated) Reset added in v1.3.0

func (*EventRecordSpecificationCreated) Size added in v1.3.0

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

func (*EventRecordSpecificationCreated) String added in v1.3.0

func (*EventRecordSpecificationCreated) Unmarshal added in v1.3.0

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

func (*EventRecordSpecificationCreated) XXX_DiscardUnknown added in v1.3.0

func (m *EventRecordSpecificationCreated) XXX_DiscardUnknown()

func (*EventRecordSpecificationCreated) XXX_Marshal added in v1.3.0

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

func (*EventRecordSpecificationCreated) XXX_Merge added in v1.3.0

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

func (*EventRecordSpecificationCreated) XXX_Size added in v1.3.0

func (m *EventRecordSpecificationCreated) XXX_Size() int

func (*EventRecordSpecificationCreated) XXX_Unmarshal added in v1.3.0

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

type EventRecordSpecificationDeleted added in v1.3.0

type EventRecordSpecificationDeleted struct {
	// record_specification_addr is the bech32 address string of the specification id of the record specification that was
	// deleted.
	RecordSpecificationAddr string `` /* 132-byte string literal not displayed */
	// contract_specification_addr is the bech32 address string of the contract specification id this record specification
	// belongs to.
	ContractSpecificationAddr string `` /* 138-byte string literal not displayed */
}

EventRecordSpecificationDeleted is an event message indicating a record specification has been deleted.

func NewEventRecordSpecificationDeleted added in v1.3.0

func NewEventRecordSpecificationDeleted(recordSpecificationID MetadataAddress) *EventRecordSpecificationDeleted

func (*EventRecordSpecificationDeleted) Descriptor added in v1.3.0

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

func (*EventRecordSpecificationDeleted) GetContractSpecificationAddr added in v1.3.0

func (m *EventRecordSpecificationDeleted) GetContractSpecificationAddr() string

func (*EventRecordSpecificationDeleted) GetRecordSpecificationAddr added in v1.3.0

func (m *EventRecordSpecificationDeleted) GetRecordSpecificationAddr() string

func (*EventRecordSpecificationDeleted) Marshal added in v1.3.0

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

func (*EventRecordSpecificationDeleted) MarshalTo added in v1.3.0

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

func (*EventRecordSpecificationDeleted) MarshalToSizedBuffer added in v1.3.0

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

func (*EventRecordSpecificationDeleted) ProtoMessage added in v1.3.0

func (*EventRecordSpecificationDeleted) ProtoMessage()

func (*EventRecordSpecificationDeleted) Reset added in v1.3.0

func (*EventRecordSpecificationDeleted) Size added in v1.3.0

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

func (*EventRecordSpecificationDeleted) String added in v1.3.0

func (*EventRecordSpecificationDeleted) Unmarshal added in v1.3.0

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

func (*EventRecordSpecificationDeleted) XXX_DiscardUnknown added in v1.3.0

func (m *EventRecordSpecificationDeleted) XXX_DiscardUnknown()

func (*EventRecordSpecificationDeleted) XXX_Marshal added in v1.3.0

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

func (*EventRecordSpecificationDeleted) XXX_Merge added in v1.3.0

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

func (*EventRecordSpecificationDeleted) XXX_Size added in v1.3.0

func (m *EventRecordSpecificationDeleted) XXX_Size() int

func (*EventRecordSpecificationDeleted) XXX_Unmarshal added in v1.3.0

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

type EventRecordSpecificationUpdated added in v1.3.0

type EventRecordSpecificationUpdated struct {
	// record_specification_addr is the bech32 address string of the specification id of the record specification that was
	// updated.
	RecordSpecificationAddr string `` /* 132-byte string literal not displayed */
	// contract_specification_addr is the bech32 address string of the contract specification id this record specification
	// belongs to.
	ContractSpecificationAddr string `` /* 138-byte string literal not displayed */
}

EventRecordSpecificationUpdated is an event message indicating a record specification has been updated.

func NewEventRecordSpecificationUpdated added in v1.3.0

func NewEventRecordSpecificationUpdated(recordSpecificationID MetadataAddress) *EventRecordSpecificationUpdated

func (*EventRecordSpecificationUpdated) Descriptor added in v1.3.0

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

func (*EventRecordSpecificationUpdated) GetContractSpecificationAddr added in v1.3.0

func (m *EventRecordSpecificationUpdated) GetContractSpecificationAddr() string

func (*EventRecordSpecificationUpdated) GetRecordSpecificationAddr added in v1.3.0

func (m *EventRecordSpecificationUpdated) GetRecordSpecificationAddr() string

func (*EventRecordSpecificationUpdated) Marshal added in v1.3.0

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

func (*EventRecordSpecificationUpdated) MarshalTo added in v1.3.0

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

func (*EventRecordSpecificationUpdated) MarshalToSizedBuffer added in v1.3.0

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

func (*EventRecordSpecificationUpdated) ProtoMessage added in v1.3.0

func (*EventRecordSpecificationUpdated) ProtoMessage()

func (*EventRecordSpecificationUpdated) Reset added in v1.3.0

func (*EventRecordSpecificationUpdated) Size added in v1.3.0

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

func (*EventRecordSpecificationUpdated) String added in v1.3.0

func (*EventRecordSpecificationUpdated) Unmarshal added in v1.3.0

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

func (*EventRecordSpecificationUpdated) XXX_DiscardUnknown added in v1.3.0

func (m *EventRecordSpecificationUpdated) XXX_DiscardUnknown()

func (*EventRecordSpecificationUpdated) XXX_Marshal added in v1.3.0

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

func (*EventRecordSpecificationUpdated) XXX_Merge added in v1.3.0

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

func (*EventRecordSpecificationUpdated) XXX_Size added in v1.3.0

func (m *EventRecordSpecificationUpdated) XXX_Size() int

func (*EventRecordSpecificationUpdated) XXX_Unmarshal added in v1.3.0

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

type EventRecordUpdated added in v1.3.0

type EventRecordUpdated struct {
	// record_addr is the bech32 address string of the record id that was updated.
	RecordAddr string `protobuf:"bytes,1,opt,name=record_addr,json=recordAddr,proto3" json:"record_addr,omitempty"`
	// session_addr is the bech32 address string of the session id this record belongs to.
	SessionAddr string `protobuf:"bytes,2,opt,name=session_addr,json=sessionAddr,proto3" json:"session_addr,omitempty"`
	// scope_addr is the bech32 address string of the scope id this record belongs to.
	ScopeAddr string `protobuf:"bytes,3,opt,name=scope_addr,json=scopeAddr,proto3" json:"scope_addr,omitempty"`
}

EventRecordUpdated is an event message indicating a record has been updated.

func NewEventRecordUpdated added in v1.3.0

func NewEventRecordUpdated(recordID, sessionID MetadataAddress) *EventRecordUpdated

func (*EventRecordUpdated) Descriptor added in v1.3.0

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

func (*EventRecordUpdated) GetRecordAddr added in v1.3.0

func (m *EventRecordUpdated) GetRecordAddr() string

func (*EventRecordUpdated) GetScopeAddr added in v1.3.0

func (m *EventRecordUpdated) GetScopeAddr() string

func (*EventRecordUpdated) GetSessionAddr added in v1.3.0

func (m *EventRecordUpdated) GetSessionAddr() string

func (*EventRecordUpdated) Marshal added in v1.3.0

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

func (*EventRecordUpdated) MarshalTo added in v1.3.0

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

func (*EventRecordUpdated) MarshalToSizedBuffer added in v1.3.0

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

func (*EventRecordUpdated) ProtoMessage added in v1.3.0

func (*EventRecordUpdated) ProtoMessage()

func (*EventRecordUpdated) Reset added in v1.3.0

func (m *EventRecordUpdated) Reset()

func (*EventRecordUpdated) Size added in v1.3.0

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

func (*EventRecordUpdated) String added in v1.3.0

func (m *EventRecordUpdated) String() string

func (*EventRecordUpdated) Unmarshal added in v1.3.0

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

func (*EventRecordUpdated) XXX_DiscardUnknown added in v1.3.0

func (m *EventRecordUpdated) XXX_DiscardUnknown()

func (*EventRecordUpdated) XXX_Marshal added in v1.3.0

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

func (*EventRecordUpdated) XXX_Merge added in v1.3.0

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

func (*EventRecordUpdated) XXX_Size added in v1.3.0

func (m *EventRecordUpdated) XXX_Size() int

func (*EventRecordUpdated) XXX_Unmarshal added in v1.3.0

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

type EventScopeCreated added in v1.3.0

type EventScopeCreated struct {
	// scope_addr is the bech32 address string of the scope id that was created.
	ScopeAddr string `protobuf:"bytes,1,opt,name=scope_addr,json=scopeAddr,proto3" json:"scope_addr,omitempty"`
}

EventScopeCreated is an event message indicating a scope has been created.

func NewEventScopeCreated added in v1.3.0

func NewEventScopeCreated(scopeID MetadataAddress) *EventScopeCreated

func (*EventScopeCreated) Descriptor added in v1.3.0

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

func (*EventScopeCreated) GetScopeAddr added in v1.3.0

func (m *EventScopeCreated) GetScopeAddr() string

func (*EventScopeCreated) Marshal added in v1.3.0

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

func (*EventScopeCreated) MarshalTo added in v1.3.0

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

func (*EventScopeCreated) MarshalToSizedBuffer added in v1.3.0

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

func (*EventScopeCreated) ProtoMessage added in v1.3.0

func (*EventScopeCreated) ProtoMessage()

func (*EventScopeCreated) Reset added in v1.3.0

func (m *EventScopeCreated) Reset()

func (*EventScopeCreated) Size added in v1.3.0

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

func (*EventScopeCreated) String added in v1.3.0

func (m *EventScopeCreated) String() string

func (*EventScopeCreated) Unmarshal added in v1.3.0

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

func (*EventScopeCreated) XXX_DiscardUnknown added in v1.3.0

func (m *EventScopeCreated) XXX_DiscardUnknown()

func (*EventScopeCreated) XXX_Marshal added in v1.3.0

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

func (*EventScopeCreated) XXX_Merge added in v1.3.0

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

func (*EventScopeCreated) XXX_Size added in v1.3.0

func (m *EventScopeCreated) XXX_Size() int

func (*EventScopeCreated) XXX_Unmarshal added in v1.3.0

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

type EventScopeDeleted added in v1.3.0

type EventScopeDeleted struct {
	// scope_addr is the bech32 address string of the scope id that was deleted.
	ScopeAddr string `protobuf:"bytes,1,opt,name=scope_addr,json=scopeAddr,proto3" json:"scope_addr,omitempty"`
}

EventScopeDeleted is an event message indicating a scope has been deleted.

func NewEventScopeDeleted added in v1.3.0

func NewEventScopeDeleted(scopeID MetadataAddress) *EventScopeDeleted

func (*EventScopeDeleted) Descriptor added in v1.3.0

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

func (*EventScopeDeleted) GetScopeAddr added in v1.3.0

func (m *EventScopeDeleted) GetScopeAddr() string

func (*EventScopeDeleted) Marshal added in v1.3.0

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

func (*EventScopeDeleted) MarshalTo added in v1.3.0

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

func (*EventScopeDeleted) MarshalToSizedBuffer added in v1.3.0

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

func (*EventScopeDeleted) ProtoMessage added in v1.3.0

func (*EventScopeDeleted) ProtoMessage()

func (*EventScopeDeleted) Reset added in v1.3.0

func (m *EventScopeDeleted) Reset()

func (*EventScopeDeleted) Size added in v1.3.0

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

func (*EventScopeDeleted) String added in v1.3.0

func (m *EventScopeDeleted) String() string

func (*EventScopeDeleted) Unmarshal added in v1.3.0

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

func (*EventScopeDeleted) XXX_DiscardUnknown added in v1.3.0

func (m *EventScopeDeleted) XXX_DiscardUnknown()

func (*EventScopeDeleted) XXX_Marshal added in v1.3.0

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

func (*EventScopeDeleted) XXX_Merge added in v1.3.0

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

func (*EventScopeDeleted) XXX_Size added in v1.3.0

func (m *EventScopeDeleted) XXX_Size() int

func (*EventScopeDeleted) XXX_Unmarshal added in v1.3.0

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

type EventScopeSpecificationCreated added in v1.3.0

type EventScopeSpecificationCreated struct {
	// scope_specification_addr is the bech32 address string of the specification id of the scope specification that was
	// created.
	ScopeSpecificationAddr string `` /* 129-byte string literal not displayed */
}

EventScopeSpecificationCreated is an event message indicating a scope specification has been created.

func NewEventScopeSpecificationCreated added in v1.3.0

func NewEventScopeSpecificationCreated(scopeSpecificationID MetadataAddress) *EventScopeSpecificationCreated

func (*EventScopeSpecificationCreated) Descriptor added in v1.3.0

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

func (*EventScopeSpecificationCreated) GetScopeSpecificationAddr added in v1.3.0

func (m *EventScopeSpecificationCreated) GetScopeSpecificationAddr() string

func (*EventScopeSpecificationCreated) Marshal added in v1.3.0

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

func (*EventScopeSpecificationCreated) MarshalTo added in v1.3.0

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

func (*EventScopeSpecificationCreated) MarshalToSizedBuffer added in v1.3.0

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

func (*EventScopeSpecificationCreated) ProtoMessage added in v1.3.0

func (*EventScopeSpecificationCreated) ProtoMessage()

func (*EventScopeSpecificationCreated) Reset added in v1.3.0

func (m *EventScopeSpecificationCreated) Reset()

func (*EventScopeSpecificationCreated) Size added in v1.3.0

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

func (*EventScopeSpecificationCreated) String added in v1.3.0

func (*EventScopeSpecificationCreated) Unmarshal added in v1.3.0

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

func (*EventScopeSpecificationCreated) XXX_DiscardUnknown added in v1.3.0

func (m *EventScopeSpecificationCreated) XXX_DiscardUnknown()

func (*EventScopeSpecificationCreated) XXX_Marshal added in v1.3.0

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

func (*EventScopeSpecificationCreated) XXX_Merge added in v1.3.0

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

func (*EventScopeSpecificationCreated) XXX_Size added in v1.3.0

func (m *EventScopeSpecificationCreated) XXX_Size() int

func (*EventScopeSpecificationCreated) XXX_Unmarshal added in v1.3.0

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

type EventScopeSpecificationDeleted added in v1.3.0

type EventScopeSpecificationDeleted struct {
	// scope_specification_addr is the bech32 address string of the specification id of the scope specification that was
	// deleted.
	ScopeSpecificationAddr string `` /* 129-byte string literal not displayed */
}

EventScopeSpecificationDeleted is an event message indicating a scope specification has been deleted.

func NewEventScopeSpecificationDeleted added in v1.3.0

func NewEventScopeSpecificationDeleted(scopeSpecificationID MetadataAddress) *EventScopeSpecificationDeleted

func (*EventScopeSpecificationDeleted) Descriptor added in v1.3.0

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

func (*EventScopeSpecificationDeleted) GetScopeSpecificationAddr added in v1.3.0

func (m *EventScopeSpecificationDeleted) GetScopeSpecificationAddr() string

func (*EventScopeSpecificationDeleted) Marshal added in v1.3.0

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

func (*EventScopeSpecificationDeleted) MarshalTo added in v1.3.0

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

func (*EventScopeSpecificationDeleted) MarshalToSizedBuffer added in v1.3.0

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

func (*EventScopeSpecificationDeleted) ProtoMessage added in v1.3.0

func (*EventScopeSpecificationDeleted) ProtoMessage()

func (*EventScopeSpecificationDeleted) Reset added in v1.3.0

func (m *EventScopeSpecificationDeleted) Reset()

func (*EventScopeSpecificationDeleted) Size added in v1.3.0

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

func (*EventScopeSpecificationDeleted) String added in v1.3.0

func (*EventScopeSpecificationDeleted) Unmarshal added in v1.3.0

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

func (*EventScopeSpecificationDeleted) XXX_DiscardUnknown added in v1.3.0

func (m *EventScopeSpecificationDeleted) XXX_DiscardUnknown()

func (*EventScopeSpecificationDeleted) XXX_Marshal added in v1.3.0

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

func (*EventScopeSpecificationDeleted) XXX_Merge added in v1.3.0

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

func (*EventScopeSpecificationDeleted) XXX_Size added in v1.3.0

func (m *EventScopeSpecificationDeleted) XXX_Size() int

func (*EventScopeSpecificationDeleted) XXX_Unmarshal added in v1.3.0

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

type EventScopeSpecificationUpdated added in v1.3.0

type EventScopeSpecificationUpdated struct {
	// scope_specification_addr is the bech32 address string of the specification id of the scope specification that was
	// updated.
	ScopeSpecificationAddr string `` /* 129-byte string literal not displayed */
}

EventScopeSpecificationUpdated is an event message indicating a scope specification has been updated.

func NewEventScopeSpecificationUpdated added in v1.3.0

func NewEventScopeSpecificationUpdated(scopeSpecificationID MetadataAddress) *EventScopeSpecificationUpdated

func (*EventScopeSpecificationUpdated) Descriptor added in v1.3.0

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

func (*EventScopeSpecificationUpdated) GetScopeSpecificationAddr added in v1.3.0

func (m *EventScopeSpecificationUpdated) GetScopeSpecificationAddr() string

func (*EventScopeSpecificationUpdated) Marshal added in v1.3.0

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

func (*EventScopeSpecificationUpdated) MarshalTo added in v1.3.0

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

func (*EventScopeSpecificationUpdated) MarshalToSizedBuffer added in v1.3.0

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

func (*EventScopeSpecificationUpdated) ProtoMessage added in v1.3.0

func (*EventScopeSpecificationUpdated) ProtoMessage()

func (*EventScopeSpecificationUpdated) Reset added in v1.3.0

func (m *EventScopeSpecificationUpdated) Reset()

func (*EventScopeSpecificationUpdated) Size added in v1.3.0

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

func (*EventScopeSpecificationUpdated) String added in v1.3.0

func (*EventScopeSpecificationUpdated) Unmarshal added in v1.3.0

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

func (*EventScopeSpecificationUpdated) XXX_DiscardUnknown added in v1.3.0

func (m *EventScopeSpecificationUpdated) XXX_DiscardUnknown()

func (*EventScopeSpecificationUpdated) XXX_Marshal added in v1.3.0

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

func (*EventScopeSpecificationUpdated) XXX_Merge added in v1.3.0

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

func (*EventScopeSpecificationUpdated) XXX_Size added in v1.3.0

func (m *EventScopeSpecificationUpdated) XXX_Size() int

func (*EventScopeSpecificationUpdated) XXX_Unmarshal added in v1.3.0

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

type EventScopeUpdated added in v1.3.0

type EventScopeUpdated struct {
	// scope_addr is the bech32 address string of the scope id that was updated.
	ScopeAddr string `protobuf:"bytes,1,opt,name=scope_addr,json=scopeAddr,proto3" json:"scope_addr,omitempty"`
}

EventScopeUpdated is an event message indicating a scope has been updated.

func NewEventScopeUpdated added in v1.3.0

func NewEventScopeUpdated(scopeID MetadataAddress) *EventScopeUpdated

func (*EventScopeUpdated) Descriptor added in v1.3.0

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

func (*EventScopeUpdated) GetScopeAddr added in v1.3.0

func (m *EventScopeUpdated) GetScopeAddr() string

func (*EventScopeUpdated) Marshal added in v1.3.0

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

func (*EventScopeUpdated) MarshalTo added in v1.3.0

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

func (*EventScopeUpdated) MarshalToSizedBuffer added in v1.3.0

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

func (*EventScopeUpdated) ProtoMessage added in v1.3.0

func (*EventScopeUpdated) ProtoMessage()

func (*EventScopeUpdated) Reset added in v1.3.0

func (m *EventScopeUpdated) Reset()

func (*EventScopeUpdated) Size added in v1.3.0

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

func (*EventScopeUpdated) String added in v1.3.0

func (m *EventScopeUpdated) String() string

func (*EventScopeUpdated) Unmarshal added in v1.3.0

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

func (*EventScopeUpdated) XXX_DiscardUnknown added in v1.3.0

func (m *EventScopeUpdated) XXX_DiscardUnknown()

func (*EventScopeUpdated) XXX_Marshal added in v1.3.0

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

func (*EventScopeUpdated) XXX_Merge added in v1.3.0

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

func (*EventScopeUpdated) XXX_Size added in v1.3.0

func (m *EventScopeUpdated) XXX_Size() int

func (*EventScopeUpdated) XXX_Unmarshal added in v1.3.0

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

type EventSessionCreated added in v1.3.0

type EventSessionCreated struct {
	// session_addr is the bech32 address string of the session id that was created.
	SessionAddr string `protobuf:"bytes,1,opt,name=session_addr,json=sessionAddr,proto3" json:"session_addr,omitempty"`
	// scope_addr is the bech32 address string of the scope id this session belongs to.
	ScopeAddr string `protobuf:"bytes,2,opt,name=scope_addr,json=scopeAddr,proto3" json:"scope_addr,omitempty"`
}

EventSessionCreated is an event message indicating a session has been created.

func NewEventSessionCreated added in v1.3.0

func NewEventSessionCreated(sessionID MetadataAddress) *EventSessionCreated

func (*EventSessionCreated) Descriptor added in v1.3.0

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

func (*EventSessionCreated) GetScopeAddr added in v1.3.0

func (m *EventSessionCreated) GetScopeAddr() string

func (*EventSessionCreated) GetSessionAddr added in v1.3.0

func (m *EventSessionCreated) GetSessionAddr() string

func (*EventSessionCreated) Marshal added in v1.3.0

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

func (*EventSessionCreated) MarshalTo added in v1.3.0

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

func (*EventSessionCreated) MarshalToSizedBuffer added in v1.3.0

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

func (*EventSessionCreated) ProtoMessage added in v1.3.0

func (*EventSessionCreated) ProtoMessage()

func (*EventSessionCreated) Reset added in v1.3.0

func (m *EventSessionCreated) Reset()

func (*EventSessionCreated) Size added in v1.3.0

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

func (*EventSessionCreated) String added in v1.3.0

func (m *EventSessionCreated) String() string

func (*EventSessionCreated) Unmarshal added in v1.3.0

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

func (*EventSessionCreated) XXX_DiscardUnknown added in v1.3.0

func (m *EventSessionCreated) XXX_DiscardUnknown()

func (*EventSessionCreated) XXX_Marshal added in v1.3.0

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

func (*EventSessionCreated) XXX_Merge added in v1.3.0

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

func (*EventSessionCreated) XXX_Size added in v1.3.0

func (m *EventSessionCreated) XXX_Size() int

func (*EventSessionCreated) XXX_Unmarshal added in v1.3.0

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

type EventSessionDeleted added in v1.3.0

type EventSessionDeleted struct {
	// session_addr is the bech32 address string of the session id that was deleted.
	SessionAddr string `protobuf:"bytes,1,opt,name=session_addr,json=sessionAddr,proto3" json:"session_addr,omitempty"`
	// scope_addr is the bech32 address string of the scope id this session belongs to.
	ScopeAddr string `protobuf:"bytes,2,opt,name=scope_addr,json=scopeAddr,proto3" json:"scope_addr,omitempty"`
}

EventSessionDeleted is an event message indicating a session has been deleted.

func NewEventSessionDeleted added in v1.3.0

func NewEventSessionDeleted(sessionID MetadataAddress) *EventSessionDeleted

func (*EventSessionDeleted) Descriptor added in v1.3.0

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

func (*EventSessionDeleted) GetScopeAddr added in v1.3.0

func (m *EventSessionDeleted) GetScopeAddr() string

func (*EventSessionDeleted) GetSessionAddr added in v1.3.0

func (m *EventSessionDeleted) GetSessionAddr() string

func (*EventSessionDeleted) Marshal added in v1.3.0

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

func (*EventSessionDeleted) MarshalTo added in v1.3.0

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

func (*EventSessionDeleted) MarshalToSizedBuffer added in v1.3.0

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

func (*EventSessionDeleted) ProtoMessage added in v1.3.0

func (*EventSessionDeleted) ProtoMessage()

func (*EventSessionDeleted) Reset added in v1.3.0

func (m *EventSessionDeleted) Reset()

func (*EventSessionDeleted) Size added in v1.3.0

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

func (*EventSessionDeleted) String added in v1.3.0

func (m *EventSessionDeleted) String() string

func (*EventSessionDeleted) Unmarshal added in v1.3.0

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

func (*EventSessionDeleted) XXX_DiscardUnknown added in v1.3.0

func (m *EventSessionDeleted) XXX_DiscardUnknown()

func (*EventSessionDeleted) XXX_Marshal added in v1.3.0

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

func (*EventSessionDeleted) XXX_Merge added in v1.3.0

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

func (*EventSessionDeleted) XXX_Size added in v1.3.0

func (m *EventSessionDeleted) XXX_Size() int

func (*EventSessionDeleted) XXX_Unmarshal added in v1.3.0

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

type EventSessionUpdated added in v1.3.0

type EventSessionUpdated struct {
	// session_addr is the bech32 address string of the session id that was updated.
	SessionAddr string `protobuf:"bytes,1,opt,name=session_addr,json=sessionAddr,proto3" json:"session_addr,omitempty"`
	// scope_addr is the bech32 address string of the scope id this session belongs to.
	ScopeAddr string `protobuf:"bytes,2,opt,name=scope_addr,json=scopeAddr,proto3" json:"scope_addr,omitempty"`
}

EventSessionUpdated is an event message indicating a session has been updated.

func NewEventSessionUpdated added in v1.3.0

func NewEventSessionUpdated(sessionID MetadataAddress) *EventSessionUpdated

func (*EventSessionUpdated) Descriptor added in v1.3.0

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

func (*EventSessionUpdated) GetScopeAddr added in v1.3.0

func (m *EventSessionUpdated) GetScopeAddr() string

func (*EventSessionUpdated) GetSessionAddr added in v1.3.0

func (m *EventSessionUpdated) GetSessionAddr() string

func (*EventSessionUpdated) Marshal added in v1.3.0

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

func (*EventSessionUpdated) MarshalTo added in v1.3.0

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

func (*EventSessionUpdated) MarshalToSizedBuffer added in v1.3.0

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

func (*EventSessionUpdated) ProtoMessage added in v1.3.0

func (*EventSessionUpdated) ProtoMessage()

func (*EventSessionUpdated) Reset added in v1.3.0

func (m *EventSessionUpdated) Reset()

func (*EventSessionUpdated) Size added in v1.3.0

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

func (*EventSessionUpdated) String added in v1.3.0

func (m *EventSessionUpdated) String() string

func (*EventSessionUpdated) Unmarshal added in v1.3.0

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

func (*EventSessionUpdated) XXX_DiscardUnknown added in v1.3.0

func (m *EventSessionUpdated) XXX_DiscardUnknown()

func (*EventSessionUpdated) XXX_Marshal added in v1.3.0

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

func (*EventSessionUpdated) XXX_Merge added in v1.3.0

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

func (*EventSessionUpdated) XXX_Size added in v1.3.0

func (m *EventSessionUpdated) XXX_Size() int

func (*EventSessionUpdated) XXX_Unmarshal added in v1.3.0

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

type EventSetNetAssetValue added in v1.18.0

type EventSetNetAssetValue struct {
	ScopeId string `protobuf:"bytes,1,opt,name=scope_id,json=scopeId,proto3" json:"scope_id,omitempty"`
	Price   string `protobuf:"bytes,2,opt,name=price,proto3" json:"price,omitempty"`
	Source  string `protobuf:"bytes,3,opt,name=source,proto3" json:"source,omitempty"`
}

EventSetNetAssetValue event emitted when Net Asset Value for a scope is update or added

func NewEventSetNetAssetValue added in v1.18.0

func NewEventSetNetAssetValue(scopeID MetadataAddress, price sdk.Coin, source string) *EventSetNetAssetValue

NewEventSetNetAssetValue returns a new instance of EventSetNetAssetValue

func (*EventSetNetAssetValue) Descriptor added in v1.18.0

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

func (*EventSetNetAssetValue) GetPrice added in v1.18.0

func (m *EventSetNetAssetValue) GetPrice() string

func (*EventSetNetAssetValue) GetScopeId added in v1.18.0

func (m *EventSetNetAssetValue) GetScopeId() string

func (*EventSetNetAssetValue) GetSource added in v1.18.0

func (m *EventSetNetAssetValue) GetSource() string

func (*EventSetNetAssetValue) Marshal added in v1.18.0

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

func (*EventSetNetAssetValue) MarshalTo added in v1.18.0

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

func (*EventSetNetAssetValue) MarshalToSizedBuffer added in v1.18.0

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

func (*EventSetNetAssetValue) ProtoMessage added in v1.18.0

func (*EventSetNetAssetValue) ProtoMessage()

func (*EventSetNetAssetValue) Reset added in v1.18.0

func (m *EventSetNetAssetValue) Reset()

func (*EventSetNetAssetValue) Size added in v1.18.0

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

func (*EventSetNetAssetValue) String added in v1.18.0

func (m *EventSetNetAssetValue) String() string

func (*EventSetNetAssetValue) Unmarshal added in v1.18.0

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

func (*EventSetNetAssetValue) XXX_DiscardUnknown added in v1.18.0

func (m *EventSetNetAssetValue) XXX_DiscardUnknown()

func (*EventSetNetAssetValue) XXX_Marshal added in v1.18.0

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

func (*EventSetNetAssetValue) XXX_Merge added in v1.18.0

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

func (*EventSetNetAssetValue) XXX_Size added in v1.18.0

func (m *EventSetNetAssetValue) XXX_Size() int

func (*EventSetNetAssetValue) XXX_Unmarshal added in v1.18.0

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

type EventTxCompleted added in v1.3.0

type EventTxCompleted struct {
	// module is the module the TX belongs to.
	Module string `protobuf:"bytes,1,opt,name=module,proto3" json:"module,omitempty"`
	// endpoint is the rpc endpoint that was just completed.
	Endpoint string `protobuf:"bytes,2,opt,name=endpoint,proto3" json:"endpoint,omitempty"`
	// signers are the bech32 address strings of the signers of this TX.
	Signers []string `protobuf:"bytes,3,rep,name=signers,proto3" json:"signers,omitempty"`
}

EventTxCompleted is an event message indicating that a TX has completed.

func NewEventTxCompleted added in v1.3.0

func NewEventTxCompleted(endpoint TxEndpoint, signers []string) *EventTxCompleted

func (*EventTxCompleted) Descriptor added in v1.3.0

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

func (*EventTxCompleted) GetEndpoint added in v1.3.0

func (m *EventTxCompleted) GetEndpoint() string

func (*EventTxCompleted) GetModule added in v1.3.0

func (m *EventTxCompleted) GetModule() string

func (*EventTxCompleted) GetSigners added in v1.3.0

func (m *EventTxCompleted) GetSigners() []string

func (*EventTxCompleted) Marshal added in v1.3.0

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

func (*EventTxCompleted) MarshalTo added in v1.3.0

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

func (*EventTxCompleted) MarshalToSizedBuffer added in v1.3.0

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

func (*EventTxCompleted) ProtoMessage added in v1.3.0

func (*EventTxCompleted) ProtoMessage()

func (*EventTxCompleted) Reset added in v1.3.0

func (m *EventTxCompleted) Reset()

func (*EventTxCompleted) Size added in v1.3.0

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

func (*EventTxCompleted) String added in v1.3.0

func (m *EventTxCompleted) String() string

func (*EventTxCompleted) Unmarshal added in v1.3.0

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

func (*EventTxCompleted) XXX_DiscardUnknown added in v1.3.0

func (m *EventTxCompleted) XXX_DiscardUnknown()

func (*EventTxCompleted) XXX_Marshal added in v1.3.0

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

func (*EventTxCompleted) XXX_Merge added in v1.3.0

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

func (*EventTxCompleted) XXX_Size added in v1.3.0

func (m *EventTxCompleted) XXX_Size() int

func (*EventTxCompleted) XXX_Unmarshal added in v1.3.0

func (m *EventTxCompleted) 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"`
	// Net asset values assigned to scopes
	NetAssetValues []MarkerNetAssetValues `protobuf:"bytes,10,rep,name=net_asset_values,json=netAssetValues,proto3" json:"net_asset_values"`
}

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,
	netAssetValues []MarkerNetAssetValues,

) *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 GetByAddrRequest added in v1.17.0

type GetByAddrRequest struct {
	// ids are the metadata addresses of the things to look up.
	Addrs []string `protobuf:"bytes,1,rep,name=addrs,proto3" json:"addrs,omitempty"`
}

GetByAddrRequest is the request type for the Query/GetByAddr RPC method.

func (*GetByAddrRequest) Descriptor added in v1.17.0

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

func (*GetByAddrRequest) GetAddrs added in v1.17.0

func (m *GetByAddrRequest) GetAddrs() []string

func (*GetByAddrRequest) Marshal added in v1.17.0

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

func (*GetByAddrRequest) MarshalTo added in v1.17.0

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

func (*GetByAddrRequest) MarshalToSizedBuffer added in v1.17.0

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

func (*GetByAddrRequest) ProtoMessage added in v1.17.0

func (*GetByAddrRequest) ProtoMessage()

func (*GetByAddrRequest) Reset added in v1.17.0

func (m *GetByAddrRequest) Reset()

func (*GetByAddrRequest) Size added in v1.17.0

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

func (*GetByAddrRequest) String added in v1.17.0

func (m *GetByAddrRequest) String() string

func (*GetByAddrRequest) Unmarshal added in v1.17.0

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

func (*GetByAddrRequest) XXX_DiscardUnknown added in v1.17.0

func (m *GetByAddrRequest) XXX_DiscardUnknown()

func (*GetByAddrRequest) XXX_Marshal added in v1.17.0

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

func (*GetByAddrRequest) XXX_Merge added in v1.17.0

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

func (*GetByAddrRequest) XXX_Size added in v1.17.0

func (m *GetByAddrRequest) XXX_Size() int

func (*GetByAddrRequest) XXX_Unmarshal added in v1.17.0

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

type GetByAddrResponse added in v1.17.0

type GetByAddrResponse struct {
	// scopes contains any scopes that were requested and found.
	Scopes []*Scope `protobuf:"bytes,1,rep,name=scopes,proto3" json:"scopes,omitempty"`
	// sessions contains any sessions that were requested and found.
	Sessions []*Session `protobuf:"bytes,2,rep,name=sessions,proto3" json:"sessions,omitempty"`
	// records contains any records that were requested and found.
	Records []*Record `protobuf:"bytes,3,rep,name=records,proto3" json:"records,omitempty"`
	// scope_specs contains any scope specifications that were requested and found.
	ScopeSpecs []*ScopeSpecification `protobuf:"bytes,4,rep,name=scope_specs,json=scopeSpecs,proto3" json:"scope_specs,omitempty"`
	// contract_specs contains any contract specifications that were requested and found.
	ContractSpecs []*ContractSpecification `protobuf:"bytes,5,rep,name=contract_specs,json=contractSpecs,proto3" json:"contract_specs,omitempty"`
	// record_specs contains any record specifications that were requested and found.
	RecordSpecs []*RecordSpecification `protobuf:"bytes,6,rep,name=record_specs,json=recordSpecs,proto3" json:"record_specs,omitempty"`
	// not_found contains any addrs requested but not found.
	NotFound []string `protobuf:"bytes,7,rep,name=not_found,json=notFound,proto3" json:"not_found,omitempty"`
}

GetByAddrResponse is the response type for the Query/GetByAddr RPC method.

func (*GetByAddrResponse) Descriptor added in v1.17.0

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

func (*GetByAddrResponse) GetContractSpecs added in v1.17.0

func (m *GetByAddrResponse) GetContractSpecs() []*ContractSpecification

func (*GetByAddrResponse) GetNotFound added in v1.17.0

func (m *GetByAddrResponse) GetNotFound() []string

func (*GetByAddrResponse) GetRecordSpecs added in v1.17.0

func (m *GetByAddrResponse) GetRecordSpecs() []*RecordSpecification

func (*GetByAddrResponse) GetRecords added in v1.17.0

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

func (*GetByAddrResponse) GetScopeSpecs added in v1.17.0

func (m *GetByAddrResponse) GetScopeSpecs() []*ScopeSpecification

func (*GetByAddrResponse) GetScopes added in v1.17.0

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

func (*GetByAddrResponse) GetSessions added in v1.17.0

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

func (*GetByAddrResponse) Marshal added in v1.17.0

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

func (*GetByAddrResponse) MarshalTo added in v1.17.0

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

func (*GetByAddrResponse) MarshalToSizedBuffer added in v1.17.0

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

func (*GetByAddrResponse) ProtoMessage added in v1.17.0

func (*GetByAddrResponse) ProtoMessage()

func (*GetByAddrResponse) Reset added in v1.17.0

func (m *GetByAddrResponse) Reset()

func (*GetByAddrResponse) Size added in v1.17.0

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

func (*GetByAddrResponse) String added in v1.17.0

func (m *GetByAddrResponse) String() string

func (*GetByAddrResponse) Unmarshal added in v1.17.0

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

func (*GetByAddrResponse) XXX_DiscardUnknown added in v1.17.0

func (m *GetByAddrResponse) XXX_DiscardUnknown()

func (*GetByAddrResponse) XXX_Marshal added in v1.17.0

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

func (*GetByAddrResponse) XXX_Merge added in v1.17.0

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

func (*GetByAddrResponse) XXX_Size added in v1.17.0

func (m *GetByAddrResponse) XXX_Size() int

func (*GetByAddrResponse) XXX_Unmarshal added in v1.17.0

func (m *GetByAddrResponse) 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"`
	// 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 (this *InputSpecification) String() string

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)

func (*InputSpecification_Hash) String added in v1.19.0

func (this *InputSpecification_Hash) String() string

type InputSpecification_RecordId added in v0.1.5

type InputSpecification_RecordId struct {
	RecordId MetadataAddress `protobuf:"bytes,3,opt,name=record_id,json=recordId,proto3,oneof,customtype=MetadataAddress" json:"record_id,omitempty"`
}

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)

func (*InputSpecification_RecordId) String added in v1.19.0

func (this *InputSpecification_RecordId) String() string

type MarkerNetAssetValues added in v1.18.0

type MarkerNetAssetValues struct {
	// address defines the scope address
	Address string `protobuf:"bytes,1,opt,name=address,proto3" json:"address,omitempty"`
	// net_asset_values that are assigned to scope
	NetAssetValues []NetAssetValue `protobuf:"bytes,2,rep,name=net_asset_values,json=netAssetValues,proto3" json:"net_asset_values"`
}

MarkerNetAssetValues defines the net asset values for a scope

func (*MarkerNetAssetValues) Descriptor added in v1.18.0

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

func (*MarkerNetAssetValues) Marshal added in v1.18.0

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

func (*MarkerNetAssetValues) MarshalTo added in v1.18.0

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

func (*MarkerNetAssetValues) MarshalToSizedBuffer added in v1.18.0

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

func (*MarkerNetAssetValues) ProtoMessage added in v1.18.0

func (*MarkerNetAssetValues) ProtoMessage()

func (*MarkerNetAssetValues) Reset added in v1.18.0

func (m *MarkerNetAssetValues) Reset()

func (*MarkerNetAssetValues) Size added in v1.18.0

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

func (*MarkerNetAssetValues) String added in v1.18.0

func (m *MarkerNetAssetValues) String() string

func (*MarkerNetAssetValues) Unmarshal added in v1.18.0

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

func (*MarkerNetAssetValues) XXX_DiscardUnknown added in v1.18.0

func (m *MarkerNetAssetValues) XXX_DiscardUnknown()

func (*MarkerNetAssetValues) XXX_Marshal added in v1.18.0

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

func (*MarkerNetAssetValues) XXX_Merge added in v1.18.0

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

func (*MarkerNetAssetValues) XXX_Size added in v1.18.0

func (m *MarkerNetAssetValues) XXX_Size() int

func (*MarkerNetAssetValues) XXX_Unmarshal added in v1.18.0

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

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.

If you need the HRP, use ParseMetadataAddressFromBech32.

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 ParseMetadataAddressFromBech32 added in v1.17.0

func ParseMetadataAddressFromBech32(address string) (MetadataAddress, string, error)

ParseMetadataAddressFromBech32 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. The address, hrp, and any error are returned.

If you don't need the HRP, use MetadataAddressFromBech32.

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.Formatter interface for a MetadataAddress.

func (MetadataAddress) GetDetails added in v1.0.0

func (ma MetadataAddress) GetDetails() MetadataAddressDetails

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) MustGetAsContractSpecAddress added in v1.3.0

func (ma MetadataAddress) MustGetAsContractSpecAddress() MetadataAddress

MustGetAsContractSpecAddress returns the MetadataAddress for a contract spec using the contract spec UUID within the current context This is the same as AsContractSpecAddress except it panics on error.

func (MetadataAddress) MustGetAsRecordAddress added in v1.3.0

func (ma MetadataAddress) MustGetAsRecordAddress(name string) MetadataAddress

MustGetAsRecordAddress returns the MetadataAddress for a record using the scope UUID within the current context and the provided name This is the same as AsRecordAddress except it panics on error.

func (MetadataAddress) MustGetAsRecordSpecAddress added in v1.7.0

func (ma MetadataAddress) MustGetAsRecordSpecAddress(name string) MetadataAddress

MustGetAsRecordSpecAddress returns the MetadataAddress for a record spec using the contract spec UUID within the current context and the provided name This is the same as AsRecordSpecAddress except it panics on error.

func (MetadataAddress) MustGetAsScopeAddress added in v1.3.0

func (ma MetadataAddress) MustGetAsScopeAddress() MetadataAddress

MustGetAsScopeAddress returns the MetadataAddress for a scope using the scope UUID within the current context This is the same as AsScopeAddress except it panics on error.

func (MetadataAddress) MustGetAsSessionAddress added in v1.7.0

func (ma MetadataAddress) MustGetAsSessionAddress(sessionUUID uuid.UUID) MetadataAddress

MustGetAsSessionAddress returns the MetadataAddress for a session using the scope UUID within the current context and the provided session UUID. This is the same as AsSessionAddress except it panics on error.

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 MetadataAddressDetails added in v1.0.0

type MetadataAddressDetails struct {
	// Address is the full MetadataAddress in question.
	Address MetadataAddress
	// AddressPrefix is the prefix bytes. It will have length 1 only if Address has a prefix portion.
	AddressPrefix []byte
	// AddressPrimaryUUID is the primary uuid. It will have length 16 only if Address has a primary UUID portion.
	AddressPrimaryUUID []byte
	// AddressSecondaryUUID is the secondary uuid. It will have length 16 only if Address has a secondary UUID portion.
	AddressSecondaryUUID []byte
	// AddressNameHash is the hashed name. It will have length 16 only if Address has a name hash portion.
	AddressNameHash []byte
	// AddressExcess is any bytes in Address that are not accounted for in the other byte arrays.
	AddressExcess []byte
	// Prefix is the human readable version of AddressPrefix. E.g. "scope"
	Prefix string
	// PrimaryUUID is the string version of AddressPrimaryUUID. E.g. "9e3e80f4-78ba-4fad-aed1-b79e1370cebd"
	PrimaryUUID string
	// SecondaryUUID is the string version of AddressSecondaryUUID. E.g. "164eb1bf-0818-4ad1-b3b9-39e86441d446"
	SecondaryUUID string
	// NameHashHex is the hex string encoded version of AddressNameHash. E.g. "787ec76dcafd20c1908eb0936a12f91e"
	NameHashHex string
	// NameHashBase64 is the base64 string encoded version of NameHashBase64. E.g. "eH7Hbcr9IMGQjrCTahL5Hg=="
	NameHashBase64 string
	// ExcessHex is the hex string encoded version of AddressExcess. E.g. "6578747261"
	ExcessHex string
	// ExcessBase64 is the base64 string encoded version of AddressExcess. E.g. "ZXh0cmE="
	ExcessBase64 string
	// ParentAddress is the MetadataAddress of the parent structure.
	// I.e. for session and record addresses, this will be a scope address.
	// For record spec addresses, this will be a contract spec address.
	// For all other types, it will be empty.
	ParentAddress MetadataAddress
}

MetadataAddressDetails contains a breakdown of the components in a MetadataAddress.

type MetadataMsg added in v1.15.0

type MetadataMsg interface {
	sdk.Msg

	// ValidateBasic runs stateless validation on a Msg.
	ValidateBasic() error
	// GetSignerStrs returns the bech32 address(es) that signed.
	GetSignerStrs() []string
}

MetadataMsg extends the sdk.Msg interface with functions common to x/metadata messages.

type MsgAddContractSpecToScopeSpecRequest added in v1.5.0

type MsgAddContractSpecToScopeSpecRequest struct {
	// MetadataAddress for the contract specification to add.
	ContractSpecificationId MetadataAddress `` /* 149-byte string literal not displayed */
	// MetadataAddress for the scope specification to add contract specification to.
	ScopeSpecificationId MetadataAddress `` /* 140-byte string literal not displayed */
	Signers              []string        `protobuf:"bytes,3,rep,name=signers,proto3" json:"signers,omitempty"`
}

MsgAddContractSpecToScopeSpecRequest is the request type for the Msg/AddContractSpecToScopeSpec RPC method.

func NewMsgAddContractSpecToScopeSpecRequest added in v1.5.0

func NewMsgAddContractSpecToScopeSpecRequest(contractSpecID MetadataAddress, scopeSpecID MetadataAddress, signers []string) *MsgAddContractSpecToScopeSpecRequest

NewMsgAddContractSpecToScopeSpecRequest creates a new msg instance

func (*MsgAddContractSpecToScopeSpecRequest) Descriptor added in v1.5.0

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

func (MsgAddContractSpecToScopeSpecRequest) GetSignerStrs added in v1.15.0

func (msg MsgAddContractSpecToScopeSpecRequest) GetSignerStrs() []string

GetSignerStrs returns the bech32 address(es) that signed. Implements MetadataMsg interface.

func (*MsgAddContractSpecToScopeSpecRequest) Marshal added in v1.5.0

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

func (*MsgAddContractSpecToScopeSpecRequest) MarshalTo added in v1.5.0

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

func (*MsgAddContractSpecToScopeSpecRequest) MarshalToSizedBuffer added in v1.5.0

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

func (*MsgAddContractSpecToScopeSpecRequest) ProtoMessage added in v1.5.0

func (*MsgAddContractSpecToScopeSpecRequest) ProtoMessage()

func (*MsgAddContractSpecToScopeSpecRequest) Reset added in v1.5.0

func (*MsgAddContractSpecToScopeSpecRequest) Size added in v1.5.0

func (*MsgAddContractSpecToScopeSpecRequest) String added in v1.5.0

func (*MsgAddContractSpecToScopeSpecRequest) Unmarshal added in v1.5.0

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

func (MsgAddContractSpecToScopeSpecRequest) ValidateBasic added in v1.5.0

func (msg MsgAddContractSpecToScopeSpecRequest) ValidateBasic() error

ValidateBasic performs as much validation as possible without outside info. Implements sdk.Msg interface.

func (*MsgAddContractSpecToScopeSpecRequest) XXX_DiscardUnknown added in v1.5.0

func (m *MsgAddContractSpecToScopeSpecRequest) XXX_DiscardUnknown()

func (*MsgAddContractSpecToScopeSpecRequest) XXX_Marshal added in v1.5.0

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

func (*MsgAddContractSpecToScopeSpecRequest) XXX_Merge added in v1.5.0

func (*MsgAddContractSpecToScopeSpecRequest) XXX_Size added in v1.5.0

func (*MsgAddContractSpecToScopeSpecRequest) XXX_Unmarshal added in v1.5.0

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

type MsgAddContractSpecToScopeSpecResponse added in v1.5.0

type MsgAddContractSpecToScopeSpecResponse struct {
}

MsgAddContractSpecToScopeSpecResponse is the response type for the Msg/AddContractSpecToScopeSpec RPC method.

func (*MsgAddContractSpecToScopeSpecResponse) Descriptor added in v1.5.0

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

func (*MsgAddContractSpecToScopeSpecResponse) Marshal added in v1.5.0

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

func (*MsgAddContractSpecToScopeSpecResponse) MarshalTo added in v1.5.0

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

func (*MsgAddContractSpecToScopeSpecResponse) MarshalToSizedBuffer added in v1.5.0

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

func (*MsgAddContractSpecToScopeSpecResponse) ProtoMessage added in v1.5.0

func (*MsgAddContractSpecToScopeSpecResponse) ProtoMessage()

func (*MsgAddContractSpecToScopeSpecResponse) Reset added in v1.5.0

func (*MsgAddContractSpecToScopeSpecResponse) Size added in v1.5.0

func (*MsgAddContractSpecToScopeSpecResponse) String added in v1.5.0

func (*MsgAddContractSpecToScopeSpecResponse) Unmarshal added in v1.5.0

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

func (*MsgAddContractSpecToScopeSpecResponse) XXX_DiscardUnknown added in v1.5.0

func (m *MsgAddContractSpecToScopeSpecResponse) XXX_DiscardUnknown()

func (*MsgAddContractSpecToScopeSpecResponse) XXX_Marshal added in v1.5.0

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

func (*MsgAddContractSpecToScopeSpecResponse) XXX_Merge added in v1.5.0

func (*MsgAddContractSpecToScopeSpecResponse) XXX_Size added in v1.5.0

func (*MsgAddContractSpecToScopeSpecResponse) XXX_Unmarshal added in v1.5.0

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

type MsgAddNetAssetValuesRequest added in v1.18.0

type MsgAddNetAssetValuesRequest struct {
	ScopeId        string          `protobuf:"bytes,1,opt,name=scope_id,json=scopeId,proto3" json:"scope_id,omitempty"`
	Signers        []string        `protobuf:"bytes,2,rep,name=signers,proto3" json:"signers,omitempty"`
	NetAssetValues []NetAssetValue `protobuf:"bytes,3,rep,name=net_asset_values,json=netAssetValues,proto3" json:"net_asset_values"`
}

MsgAddNetAssetValuesRequest defines the Msg/AddNetAssetValues request type

func NewMsgAddNetAssetValuesRequest added in v1.18.0

func NewMsgAddNetAssetValuesRequest(scopeID string, signers []string, netAssetValues []NetAssetValue) *MsgAddNetAssetValuesRequest

func (*MsgAddNetAssetValuesRequest) Descriptor added in v1.18.0

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

func (MsgAddNetAssetValuesRequest) GetSignerStrs added in v1.18.0

func (msg MsgAddNetAssetValuesRequest) GetSignerStrs() []string

GetSignerStrs returns the bech32 address(es) that signed. Implements MetadataMsg interface.

func (*MsgAddNetAssetValuesRequest) Marshal added in v1.18.0

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

func (*MsgAddNetAssetValuesRequest) MarshalTo added in v1.18.0

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

func (*MsgAddNetAssetValuesRequest) MarshalToSizedBuffer added in v1.18.0

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

func (*MsgAddNetAssetValuesRequest) ProtoMessage added in v1.18.0

func (*MsgAddNetAssetValuesRequest) ProtoMessage()

func (*MsgAddNetAssetValuesRequest) Reset added in v1.18.0

func (m *MsgAddNetAssetValuesRequest) Reset()

func (*MsgAddNetAssetValuesRequest) Size added in v1.18.0

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

func (*MsgAddNetAssetValuesRequest) String added in v1.18.0

func (m *MsgAddNetAssetValuesRequest) String() string

func (*MsgAddNetAssetValuesRequest) Unmarshal added in v1.18.0

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

func (MsgAddNetAssetValuesRequest) ValidateBasic added in v1.18.0

func (msg MsgAddNetAssetValuesRequest) ValidateBasic() error

func (*MsgAddNetAssetValuesRequest) XXX_DiscardUnknown added in v1.18.0

func (m *MsgAddNetAssetValuesRequest) XXX_DiscardUnknown()

func (*MsgAddNetAssetValuesRequest) XXX_Marshal added in v1.18.0

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

func (*MsgAddNetAssetValuesRequest) XXX_Merge added in v1.18.0

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

func (*MsgAddNetAssetValuesRequest) XXX_Size added in v1.18.0

func (m *MsgAddNetAssetValuesRequest) XXX_Size() int

func (*MsgAddNetAssetValuesRequest) XXX_Unmarshal added in v1.18.0

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

type MsgAddNetAssetValuesResponse added in v1.18.0

type MsgAddNetAssetValuesResponse struct {
}

MsgAddNetAssetValuesResponse defines the Msg/AddNetAssetValue response type

func (*MsgAddNetAssetValuesResponse) Descriptor added in v1.18.0

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

func (*MsgAddNetAssetValuesResponse) Marshal added in v1.18.0

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

func (*MsgAddNetAssetValuesResponse) MarshalTo added in v1.18.0

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

func (*MsgAddNetAssetValuesResponse) MarshalToSizedBuffer added in v1.18.0

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

func (*MsgAddNetAssetValuesResponse) ProtoMessage added in v1.18.0

func (*MsgAddNetAssetValuesResponse) ProtoMessage()

func (*MsgAddNetAssetValuesResponse) Reset added in v1.18.0

func (m *MsgAddNetAssetValuesResponse) Reset()

func (*MsgAddNetAssetValuesResponse) Size added in v1.18.0

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

func (*MsgAddNetAssetValuesResponse) String added in v1.18.0

func (*MsgAddNetAssetValuesResponse) Unmarshal added in v1.18.0

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

func (*MsgAddNetAssetValuesResponse) XXX_DiscardUnknown added in v1.18.0

func (m *MsgAddNetAssetValuesResponse) XXX_DiscardUnknown()

func (*MsgAddNetAssetValuesResponse) XXX_Marshal added in v1.18.0

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

func (*MsgAddNetAssetValuesResponse) XXX_Merge added in v1.18.0

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

func (*MsgAddNetAssetValuesResponse) XXX_Size added in v1.18.0

func (m *MsgAddNetAssetValuesResponse) XXX_Size() int

func (*MsgAddNetAssetValuesResponse) XXX_Unmarshal added in v1.18.0

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

type MsgAddScopeDataAccessRequest added in v1.3.0

type MsgAddScopeDataAccessRequest struct {
	// scope MetadataAddress for updating data access
	ScopeId MetadataAddress `protobuf:"bytes,1,opt,name=scope_id,json=scopeId,proto3,customtype=MetadataAddress" json:"scope_id"`
	// AccAddress addresses to be added to scope
	DataAccess []string `protobuf:"bytes,2,rep,name=data_access,json=dataAccess,proto3" json:"data_access,omitempty"`
	// signers is the list of address of those signing this request.
	Signers []string `protobuf:"bytes,3,rep,name=signers,proto3" json:"signers,omitempty"`
}

MsgAddScopeDataAccessRequest is the request to add data access AccAddress to scope

func NewMsgAddScopeDataAccessRequest added in v1.3.0

func NewMsgAddScopeDataAccessRequest(scopeID MetadataAddress, dataAccessAddrs []string, signers []string) *MsgAddScopeDataAccessRequest

NewMsgAddScopeDataAccessRequest creates a new msg instance

func (*MsgAddScopeDataAccessRequest) Descriptor added in v1.3.0

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

func (MsgAddScopeDataAccessRequest) GetSignerStrs added in v1.15.0

func (msg MsgAddScopeDataAccessRequest) GetSignerStrs() []string

GetSignerStrs returns the bech32 address(es) that signed. Implements MetadataMsg interface.

func (*MsgAddScopeDataAccessRequest) Marshal added in v1.3.0

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

func (*MsgAddScopeDataAccessRequest) MarshalTo added in v1.3.0

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

func (*MsgAddScopeDataAccessRequest) MarshalToSizedBuffer added in v1.3.0

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

func (*MsgAddScopeDataAccessRequest) ProtoMessage added in v1.3.0

func (*MsgAddScopeDataAccessRequest) ProtoMessage()

func (*MsgAddScopeDataAccessRequest) Reset added in v1.3.0

func (m *MsgAddScopeDataAccessRequest) Reset()

func (*MsgAddScopeDataAccessRequest) Size added in v1.3.0

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

func (*MsgAddScopeDataAccessRequest) String added in v1.3.0

func (*MsgAddScopeDataAccessRequest) Unmarshal added in v1.3.0

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

func (MsgAddScopeDataAccessRequest) ValidateBasic added in v1.3.0

func (msg MsgAddScopeDataAccessRequest) ValidateBasic() error

ValidateBasic performs as much validation as possible without outside info. Implements sdk.Msg interface.

func (*MsgAddScopeDataAccessRequest) XXX_DiscardUnknown added in v1.3.0

func (m *MsgAddScopeDataAccessRequest) XXX_DiscardUnknown()

func (*MsgAddScopeDataAccessRequest) XXX_Marshal added in v1.3.0

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

func (*MsgAddScopeDataAccessRequest) XXX_Merge added in v1.3.0

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

func (*MsgAddScopeDataAccessRequest) XXX_Size added in v1.3.0

func (m *MsgAddScopeDataAccessRequest) XXX_Size() int

func (*MsgAddScopeDataAccessRequest) XXX_Unmarshal added in v1.3.0

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

type MsgAddScopeDataAccessResponse added in v1.3.0

type MsgAddScopeDataAccessResponse struct {
}

MsgAddScopeDataAccessResponse is the response for adding data access AccAddress to scope

func (*MsgAddScopeDataAccessResponse) Descriptor added in v1.3.0

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

func (*MsgAddScopeDataAccessResponse) Marshal added in v1.3.0

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

func (*MsgAddScopeDataAccessResponse) MarshalTo added in v1.3.0

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

func (*MsgAddScopeDataAccessResponse) MarshalToSizedBuffer added in v1.3.0

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

func (*MsgAddScopeDataAccessResponse) ProtoMessage added in v1.3.0

func (*MsgAddScopeDataAccessResponse) ProtoMessage()

func (*MsgAddScopeDataAccessResponse) Reset added in v1.3.0

func (m *MsgAddScopeDataAccessResponse) Reset()

func (*MsgAddScopeDataAccessResponse) Size added in v1.3.0

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

func (*MsgAddScopeDataAccessResponse) String added in v1.3.0

func (*MsgAddScopeDataAccessResponse) Unmarshal added in v1.3.0

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

func (*MsgAddScopeDataAccessResponse) XXX_DiscardUnknown added in v1.3.0

func (m *MsgAddScopeDataAccessResponse) XXX_DiscardUnknown()

func (*MsgAddScopeDataAccessResponse) XXX_Marshal added in v1.3.0

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

func (*MsgAddScopeDataAccessResponse) XXX_Merge added in v1.3.0

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

func (*MsgAddScopeDataAccessResponse) XXX_Size added in v1.3.0

func (m *MsgAddScopeDataAccessResponse) XXX_Size() int

func (*MsgAddScopeDataAccessResponse) XXX_Unmarshal added in v1.3.0

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

type MsgAddScopeOwnerRequest added in v1.3.0

type MsgAddScopeOwnerRequest struct {
	// scope MetadataAddress for updating data access
	ScopeId MetadataAddress `protobuf:"bytes,1,opt,name=scope_id,json=scopeId,proto3,customtype=MetadataAddress" json:"scope_id"`
	// owner parties to add to the scope
	Owners []Party `protobuf:"bytes,2,rep,name=owners,proto3" json:"owners"`
	// signers is the list of address of those signing this request.
	Signers []string `protobuf:"bytes,3,rep,name=signers,proto3" json:"signers,omitempty"`
}

MsgAddScopeOwnerRequest is the request to add owner AccAddress to scope

func NewMsgAddScopeOwnerRequest added in v1.3.0

func NewMsgAddScopeOwnerRequest(scopeID MetadataAddress, owners []Party, signers []string) *MsgAddScopeOwnerRequest

NewMsgAddScopeOwnerRequest creates a new msg instance

func (*MsgAddScopeOwnerRequest) Descriptor added in v1.3.0

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

func (MsgAddScopeOwnerRequest) GetSignerStrs added in v1.15.0

func (msg MsgAddScopeOwnerRequest) GetSignerStrs() []string

GetSignerStrs returns the bech32 address(es) that signed. Implements MetadataMsg interface.

func (*MsgAddScopeOwnerRequest) Marshal added in v1.3.0

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

func (*MsgAddScopeOwnerRequest) MarshalTo added in v1.3.0

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

func (*MsgAddScopeOwnerRequest) MarshalToSizedBuffer added in v1.3.0

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

func (*MsgAddScopeOwnerRequest) ProtoMessage added in v1.3.0

func (*MsgAddScopeOwnerRequest) ProtoMessage()

func (*MsgAddScopeOwnerRequest) Reset added in v1.3.0

func (m *MsgAddScopeOwnerRequest) Reset()

func (*MsgAddScopeOwnerRequest) Size added in v1.3.0

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

func (*MsgAddScopeOwnerRequest) String added in v1.3.0

func (m *MsgAddScopeOwnerRequest) String() string

func (*MsgAddScopeOwnerRequest) Unmarshal added in v1.3.0

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

func (MsgAddScopeOwnerRequest) ValidateBasic added in v1.3.0

func (msg MsgAddScopeOwnerRequest) ValidateBasic() error

ValidateBasic performs as much validation as possible without outside info. Implements sdk.Msg interface.

func (*MsgAddScopeOwnerRequest) XXX_DiscardUnknown added in v1.3.0

func (m *MsgAddScopeOwnerRequest) XXX_DiscardUnknown()

func (*MsgAddScopeOwnerRequest) XXX_Marshal added in v1.3.0

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

func (*MsgAddScopeOwnerRequest) XXX_Merge added in v1.3.0

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

func (*MsgAddScopeOwnerRequest) XXX_Size added in v1.3.0

func (m *MsgAddScopeOwnerRequest) XXX_Size() int

func (*MsgAddScopeOwnerRequest) XXX_Unmarshal added in v1.3.0

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

type MsgAddScopeOwnerResponse added in v1.3.0

type MsgAddScopeOwnerResponse struct {
}

MsgAddScopeOwnerResponse is the response for adding owner AccAddresses to scope

func (*MsgAddScopeOwnerResponse) Descriptor added in v1.3.0

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

func (*MsgAddScopeOwnerResponse) Marshal added in v1.3.0

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

func (*MsgAddScopeOwnerResponse) MarshalTo added in v1.3.0

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

func (*MsgAddScopeOwnerResponse) MarshalToSizedBuffer added in v1.3.0

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

func (*MsgAddScopeOwnerResponse) ProtoMessage added in v1.3.0

func (*MsgAddScopeOwnerResponse) ProtoMessage()

func (*MsgAddScopeOwnerResponse) Reset added in v1.3.0

func (m *MsgAddScopeOwnerResponse) Reset()

func (*MsgAddScopeOwnerResponse) Size added in v1.3.0

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

func (*MsgAddScopeOwnerResponse) String added in v1.3.0

func (m *MsgAddScopeOwnerResponse) String() string

func (*MsgAddScopeOwnerResponse) Unmarshal added in v1.3.0

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

func (*MsgAddScopeOwnerResponse) XXX_DiscardUnknown added in v1.3.0

func (m *MsgAddScopeOwnerResponse) XXX_DiscardUnknown()

func (*MsgAddScopeOwnerResponse) XXX_Marshal added in v1.3.0

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

func (*MsgAddScopeOwnerResponse) XXX_Merge added in v1.3.0

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

func (*MsgAddScopeOwnerResponse) XXX_Size added in v1.3.0

func (m *MsgAddScopeOwnerResponse) XXX_Size() int

func (*MsgAddScopeOwnerResponse) XXX_Unmarshal added in v1.3.0

func (m *MsgAddScopeOwnerResponse) 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 is the request type for the Msg/BindOSLocator RPC method.

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) GetSignerStrs added in v1.15.0

func (msg MsgBindOSLocatorRequest) GetSignerStrs() []string

GetSignerStrs returns the bech32 address(es) that signed. Implements MetadataMsg interface.

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

ValidateBasic performs as much validation as possible without outside info. Implements sdk.Msg interface.

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 is the response type for the Msg/BindOSLocator RPC method.

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 {
	// WriteScope adds or updates a scope.
	WriteScope(ctx context.Context, in *MsgWriteScopeRequest, opts ...grpc.CallOption) (*MsgWriteScopeResponse, error)
	// DeleteScope deletes a scope and all associated Records, Sessions.
	DeleteScope(ctx context.Context, in *MsgDeleteScopeRequest, opts ...grpc.CallOption) (*MsgDeleteScopeResponse, error)
	// AddScopeDataAccess adds data access AccAddress to scope
	AddScopeDataAccess(ctx context.Context, in *MsgAddScopeDataAccessRequest, opts ...grpc.CallOption) (*MsgAddScopeDataAccessResponse, error)
	// DeleteScopeDataAccess removes data access AccAddress from scope
	DeleteScopeDataAccess(ctx context.Context, in *MsgDeleteScopeDataAccessRequest, opts ...grpc.CallOption) (*MsgDeleteScopeDataAccessResponse, error)
	// AddScopeOwner adds new owner parties to a scope
	AddScopeOwner(ctx context.Context, in *MsgAddScopeOwnerRequest, opts ...grpc.CallOption) (*MsgAddScopeOwnerResponse, error)
	// DeleteScopeOwner removes owner parties (by addresses) from a scope
	DeleteScopeOwner(ctx context.Context, in *MsgDeleteScopeOwnerRequest, opts ...grpc.CallOption) (*MsgDeleteScopeOwnerResponse, error)
	// UpdateValueOwners sets the value owner of one or more scopes.
	UpdateValueOwners(ctx context.Context, in *MsgUpdateValueOwnersRequest, opts ...grpc.CallOption) (*MsgUpdateValueOwnersResponse, error)
	// MigrateValueOwner updates all scopes that have one value owner to have a another value owner.
	MigrateValueOwner(ctx context.Context, in *MsgMigrateValueOwnerRequest, opts ...grpc.CallOption) (*MsgMigrateValueOwnerResponse, error)
	// WriteSession adds or updates a session context.
	WriteSession(ctx context.Context, in *MsgWriteSessionRequest, opts ...grpc.CallOption) (*MsgWriteSessionResponse, error)
	// WriteRecord adds or updates a record.
	WriteRecord(ctx context.Context, in *MsgWriteRecordRequest, opts ...grpc.CallOption) (*MsgWriteRecordResponse, error)
	// DeleteRecord deletes a record.
	DeleteRecord(ctx context.Context, in *MsgDeleteRecordRequest, opts ...grpc.CallOption) (*MsgDeleteRecordResponse, error)
	// WriteScopeSpecification adds or updates a scope specification.
	WriteScopeSpecification(ctx context.Context, in *MsgWriteScopeSpecificationRequest, opts ...grpc.CallOption) (*MsgWriteScopeSpecificationResponse, error)
	// DeleteScopeSpecification deletes a scope specification.
	DeleteScopeSpecification(ctx context.Context, in *MsgDeleteScopeSpecificationRequest, opts ...grpc.CallOption) (*MsgDeleteScopeSpecificationResponse, error)
	// WriteContractSpecification adds or updates a contract specification.
	WriteContractSpecification(ctx context.Context, in *MsgWriteContractSpecificationRequest, opts ...grpc.CallOption) (*MsgWriteContractSpecificationResponse, error)
	// DeleteContractSpecification deletes a contract specification.
	DeleteContractSpecification(ctx context.Context, in *MsgDeleteContractSpecificationRequest, opts ...grpc.CallOption) (*MsgDeleteContractSpecificationResponse, error)
	// AddContractSpecToScopeSpec adds contract specification to a scope specification.
	AddContractSpecToScopeSpec(ctx context.Context, in *MsgAddContractSpecToScopeSpecRequest, opts ...grpc.CallOption) (*MsgAddContractSpecToScopeSpecResponse, error)
	// DeleteContractSpecFromScopeSpec deletes a contract specification from a scope specification.
	DeleteContractSpecFromScopeSpec(ctx context.Context, in *MsgDeleteContractSpecFromScopeSpecRequest, opts ...grpc.CallOption) (*MsgDeleteContractSpecFromScopeSpecResponse, error)
	// WriteRecordSpecification adds or updates a record specification.
	WriteRecordSpecification(ctx context.Context, in *MsgWriteRecordSpecificationRequest, opts ...grpc.CallOption) (*MsgWriteRecordSpecificationResponse, error)
	// DeleteRecordSpecification deletes a record specification.
	DeleteRecordSpecification(ctx context.Context, in *MsgDeleteRecordSpecificationRequest, opts ...grpc.CallOption) (*MsgDeleteRecordSpecificationResponse, error)
	// BindOSLocator binds an owner address to a uri.
	BindOSLocator(ctx context.Context, in *MsgBindOSLocatorRequest, opts ...grpc.CallOption) (*MsgBindOSLocatorResponse, error)
	// DeleteOSLocator deletes an existing ObjectStoreLocator record.
	DeleteOSLocator(ctx context.Context, in *MsgDeleteOSLocatorRequest, opts ...grpc.CallOption) (*MsgDeleteOSLocatorResponse, error)
	// ModifyOSLocator updates an ObjectStoreLocator record by the current owner.
	ModifyOSLocator(ctx context.Context, in *MsgModifyOSLocatorRequest, opts ...grpc.CallOption) (*MsgModifyOSLocatorResponse, error)
	// SetAccountData associates some basic data with a metadata address.
	// Currently, only scope ids are supported.
	SetAccountData(ctx context.Context, in *MsgSetAccountDataRequest, opts ...grpc.CallOption) (*MsgSetAccountDataResponse, error)
	// AddNetAssetValues set the net asset value for a scope
	AddNetAssetValues(ctx context.Context, in *MsgAddNetAssetValuesRequest, opts ...grpc.CallOption) (*MsgAddNetAssetValuesResponse, 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 MsgDeleteContractSpecFromScopeSpecRequest added in v1.5.0

type MsgDeleteContractSpecFromScopeSpecRequest struct {
	// MetadataAddress for the contract specification to add.
	ContractSpecificationId MetadataAddress `` /* 149-byte string literal not displayed */
	// MetadataAddress for the scope specification to add contract specification to.
	ScopeSpecificationId MetadataAddress `` /* 140-byte string literal not displayed */
	Signers              []string        `protobuf:"bytes,3,rep,name=signers,proto3" json:"signers,omitempty"`
}

MsgDeleteContractSpecFromScopeSpecRequest is the request type for the Msg/DeleteContractSpecFromScopeSpec RPC method.

func NewMsgDeleteContractSpecFromScopeSpecRequest added in v1.5.0

func NewMsgDeleteContractSpecFromScopeSpecRequest(contractSpecID MetadataAddress, scopeSpecID MetadataAddress, signers []string) *MsgDeleteContractSpecFromScopeSpecRequest

NewMsgDeleteContractSpecFromScopeSpecRequest creates a new msg instance

func (*MsgDeleteContractSpecFromScopeSpecRequest) Descriptor added in v1.5.0

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

func (MsgDeleteContractSpecFromScopeSpecRequest) GetSignerStrs added in v1.15.0

func (msg MsgDeleteContractSpecFromScopeSpecRequest) GetSignerStrs() []string

GetSignerStrs returns the bech32 address(es) that signed. Implements MetadataMsg interface.

func (*MsgDeleteContractSpecFromScopeSpecRequest) Marshal added in v1.5.0

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

func (*MsgDeleteContractSpecFromScopeSpecRequest) MarshalTo added in v1.5.0

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

func (*MsgDeleteContractSpecFromScopeSpecRequest) MarshalToSizedBuffer added in v1.5.0

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

func (*MsgDeleteContractSpecFromScopeSpecRequest) ProtoMessage added in v1.5.0

func (*MsgDeleteContractSpecFromScopeSpecRequest) Reset added in v1.5.0

func (*MsgDeleteContractSpecFromScopeSpecRequest) Size added in v1.5.0

func (*MsgDeleteContractSpecFromScopeSpecRequest) String added in v1.5.0

func (*MsgDeleteContractSpecFromScopeSpecRequest) Unmarshal added in v1.5.0

func (MsgDeleteContractSpecFromScopeSpecRequest) ValidateBasic added in v1.5.0

ValidateBasic performs as much validation as possible without outside info. Implements sdk.Msg interface.

func (*MsgDeleteContractSpecFromScopeSpecRequest) XXX_DiscardUnknown added in v1.5.0

func (m *MsgDeleteContractSpecFromScopeSpecRequest) XXX_DiscardUnknown()

func (*MsgDeleteContractSpecFromScopeSpecRequest) XXX_Marshal added in v1.5.0

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

func (*MsgDeleteContractSpecFromScopeSpecRequest) XXX_Merge added in v1.5.0

func (*MsgDeleteContractSpecFromScopeSpecRequest) XXX_Size added in v1.5.0

func (*MsgDeleteContractSpecFromScopeSpecRequest) XXX_Unmarshal added in v1.5.0

type MsgDeleteContractSpecFromScopeSpecResponse added in v1.5.0

type MsgDeleteContractSpecFromScopeSpecResponse struct {
}

MsgDeleteContractSpecFromScopeSpecResponse is the response type for the Msg/DeleteContractSpecFromScopeSpec RPC method.

func (*MsgDeleteContractSpecFromScopeSpecResponse) Descriptor added in v1.5.0

func (*MsgDeleteContractSpecFromScopeSpecResponse) Marshal added in v1.5.0

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

func (*MsgDeleteContractSpecFromScopeSpecResponse) MarshalTo added in v1.5.0

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

func (*MsgDeleteContractSpecFromScopeSpecResponse) MarshalToSizedBuffer added in v1.5.0

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

func (*MsgDeleteContractSpecFromScopeSpecResponse) ProtoMessage added in v1.5.0

func (*MsgDeleteContractSpecFromScopeSpecResponse) Reset added in v1.5.0

func (*MsgDeleteContractSpecFromScopeSpecResponse) Size added in v1.5.0

func (*MsgDeleteContractSpecFromScopeSpecResponse) String added in v1.5.0

func (*MsgDeleteContractSpecFromScopeSpecResponse) Unmarshal added in v1.5.0

func (*MsgDeleteContractSpecFromScopeSpecResponse) XXX_DiscardUnknown added in v1.5.0

func (m *MsgDeleteContractSpecFromScopeSpecResponse) XXX_DiscardUnknown()

func (*MsgDeleteContractSpecFromScopeSpecResponse) XXX_Marshal added in v1.5.0

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

func (*MsgDeleteContractSpecFromScopeSpecResponse) XXX_Merge added in v1.5.0

func (*MsgDeleteContractSpecFromScopeSpecResponse) XXX_Size added in v1.5.0

func (*MsgDeleteContractSpecFromScopeSpecResponse) XXX_Unmarshal added in v1.5.0

type MsgDeleteContractSpecificationRequest added in v0.1.5

type MsgDeleteContractSpecificationRequest struct {
	// MetadataAddress for the contract specification to delete.
	SpecificationId MetadataAddress `protobuf:"bytes,1,opt,name=specification_id,json=specificationId,proto3,customtype=MetadataAddress" json:"specification_id"`
	Signers         []string        `protobuf:"bytes,2,rep,name=signers,proto3" json:"signers,omitempty"`
}

MsgDeleteContractSpecificationRequest is the request type for the Msg/DeleteContractSpecification RPC method.

func NewMsgDeleteContractSpecificationRequest added in v0.1.5

func NewMsgDeleteContractSpecificationRequest(specificationID MetadataAddress, signers []string) *MsgDeleteContractSpecificationRequest

NewMsgDeleteContractSpecificationRequest creates a new msg instance

func (*MsgDeleteContractSpecificationRequest) Descriptor added in v0.1.5

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

func (MsgDeleteContractSpecificationRequest) GetSignerStrs added in v1.15.0

func (msg MsgDeleteContractSpecificationRequest) GetSignerStrs() []string

GetSignerStrs returns the bech32 address(es) that signed. Implements MetadataMsg interface.

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

func (*MsgDeleteContractSpecificationRequest) String added in v0.1.5

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 as much validation as possible without outside info. Implements sdk.Msg interface.

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 is the response type for the Msg/DeleteContractSpecification RPC method.

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 is the request type for the Msg/DeleteOSLocator RPC method.

func NewMsgDeleteOSLocatorRequest added in v0.3.0

func NewMsgDeleteOSLocatorRequest(obj ObjectStoreLocator) *MsgDeleteOSLocatorRequest

func (*MsgDeleteOSLocatorRequest) Descriptor added in v0.3.0

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

func (MsgDeleteOSLocatorRequest) GetSignerStrs added in v1.15.0

func (msg MsgDeleteOSLocatorRequest) GetSignerStrs() []string

GetSignerStrs returns the bech32 address(es) that signed. Implements MetadataMsg interface.

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

ValidateBasic performs as much validation as possible without outside info. Implements sdk.Msg interface.

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"`
}

MsgDeleteOSLocatorResponse is the response type for the Msg/DeleteOSLocator RPC method.

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

MsgDeleteRecordRequest is the request type for the Msg/DeleteRecord RPC method.

func NewMsgDeleteRecordRequest added in v0.2.0

func NewMsgDeleteRecordRequest(recordID MetadataAddress, signers []string) *MsgDeleteRecordRequest

NewMsgDeleteRecordRequest creates a new msg instance

func (*MsgDeleteRecordRequest) Descriptor added in v0.2.0

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

func (MsgDeleteRecordRequest) GetSignerStrs added in v1.15.0

func (msg MsgDeleteRecordRequest) GetSignerStrs() []string

GetSignerStrs returns the bech32 address(es) that signed. Implements MetadataMsg interface.

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

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

func (*MsgDeleteRecordRequest) String added in v0.2.0

func (m *MsgDeleteRecordRequest) String() string

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 as much validation as possible without outside info. Implements sdk.Msg interface.

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 is the response type for the Msg/DeleteRecord RPC method.

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 `protobuf:"bytes,1,opt,name=specification_id,json=specificationId,proto3,customtype=MetadataAddress" json:"specification_id"`
	Signers         []string        `protobuf:"bytes,2,rep,name=signers,proto3" json:"signers,omitempty"`
}

MsgDeleteRecordSpecificationRequest is the request type for the Msg/DeleteRecordSpecification RPC method.

func NewMsgDeleteRecordSpecificationRequest added in v0.2.0

func NewMsgDeleteRecordSpecificationRequest(specificationID MetadataAddress, signers []string) *MsgDeleteRecordSpecificationRequest

NewMsgDeleteRecordSpecificationRequest creates a new msg instance

func (*MsgDeleteRecordSpecificationRequest) Descriptor added in v0.2.0

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

func (MsgDeleteRecordSpecificationRequest) GetSignerStrs added in v1.15.0

func (msg MsgDeleteRecordSpecificationRequest) GetSignerStrs() []string

GetSignerStrs returns the bech32 address(es) that signed. Implements MetadataMsg interface.

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

func (*MsgDeleteRecordSpecificationRequest) String added in v0.2.0

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 as much validation as possible without outside info. Implements sdk.Msg interface.

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 is the response type for the Msg/DeleteRecordSpecification RPC method.

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 MsgDeleteScopeDataAccessRequest added in v1.3.0

type MsgDeleteScopeDataAccessRequest struct {
	// scope MetadataAddress for removing data access
	ScopeId MetadataAddress `protobuf:"bytes,1,opt,name=scope_id,json=scopeId,proto3,customtype=MetadataAddress" json:"scope_id"`
	// AccAddress address to be removed from scope
	DataAccess []string `protobuf:"bytes,2,rep,name=data_access,json=dataAccess,proto3" json:"data_access,omitempty"`
	// signers is the list of address of those signing this request.
	Signers []string `protobuf:"bytes,3,rep,name=signers,proto3" json:"signers,omitempty"`
}

MsgDeleteScopeDataAccessRequest is the request to remove data access AccAddress to scope

func NewMsgDeleteScopeDataAccessRequest added in v1.3.0

func NewMsgDeleteScopeDataAccessRequest(scopeID MetadataAddress, dataAccessAddrs []string, signers []string) *MsgDeleteScopeDataAccessRequest

NewMsgDeleteScopeDataAccessRequest creates a new msg instance

func (*MsgDeleteScopeDataAccessRequest) Descriptor added in v1.3.0

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

func (MsgDeleteScopeDataAccessRequest) GetSignerStrs added in v1.15.0

func (msg MsgDeleteScopeDataAccessRequest) GetSignerStrs() []string

GetSignerStrs returns the bech32 address(es) that signed. Implements MetadataMsg interface.

func (*MsgDeleteScopeDataAccessRequest) Marshal added in v1.3.0

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

func (*MsgDeleteScopeDataAccessRequest) MarshalTo added in v1.3.0

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

func (*MsgDeleteScopeDataAccessRequest) MarshalToSizedBuffer added in v1.3.0

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

func (*MsgDeleteScopeDataAccessRequest) ProtoMessage added in v1.3.0

func (*MsgDeleteScopeDataAccessRequest) ProtoMessage()

func (*MsgDeleteScopeDataAccessRequest) Reset added in v1.3.0

func (*MsgDeleteScopeDataAccessRequest) Size added in v1.3.0

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

func (*MsgDeleteScopeDataAccessRequest) String added in v1.3.0

func (*MsgDeleteScopeDataAccessRequest) Unmarshal added in v1.3.0

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

func (MsgDeleteScopeDataAccessRequest) ValidateBasic added in v1.3.0

func (msg MsgDeleteScopeDataAccessRequest) ValidateBasic() error

ValidateBasic performs as much validation as possible without outside info. Implements sdk.Msg interface.

func (*MsgDeleteScopeDataAccessRequest) XXX_DiscardUnknown added in v1.3.0

func (m *MsgDeleteScopeDataAccessRequest) XXX_DiscardUnknown()

func (*MsgDeleteScopeDataAccessRequest) XXX_Marshal added in v1.3.0

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

func (*MsgDeleteScopeDataAccessRequest) XXX_Merge added in v1.3.0

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

func (*MsgDeleteScopeDataAccessRequest) XXX_Size added in v1.3.0

func (m *MsgDeleteScopeDataAccessRequest) XXX_Size() int

func (*MsgDeleteScopeDataAccessRequest) XXX_Unmarshal added in v1.3.0

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

type MsgDeleteScopeDataAccessResponse added in v1.3.0

type MsgDeleteScopeDataAccessResponse struct {
}

MsgDeleteScopeDataAccessResponse is the response from removing data access AccAddress to scope

func (*MsgDeleteScopeDataAccessResponse) Descriptor added in v1.3.0

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

func (*MsgDeleteScopeDataAccessResponse) Marshal added in v1.3.0

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

func (*MsgDeleteScopeDataAccessResponse) MarshalTo added in v1.3.0

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

func (*MsgDeleteScopeDataAccessResponse) MarshalToSizedBuffer added in v1.3.0

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

func (*MsgDeleteScopeDataAccessResponse) ProtoMessage added in v1.3.0

func (*MsgDeleteScopeDataAccessResponse) ProtoMessage()

func (*MsgDeleteScopeDataAccessResponse) Reset added in v1.3.0

func (*MsgDeleteScopeDataAccessResponse) Size added in v1.3.0

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

func (*MsgDeleteScopeDataAccessResponse) String added in v1.3.0

func (*MsgDeleteScopeDataAccessResponse) Unmarshal added in v1.3.0

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

func (*MsgDeleteScopeDataAccessResponse) XXX_DiscardUnknown added in v1.3.0

func (m *MsgDeleteScopeDataAccessResponse) XXX_DiscardUnknown()

func (*MsgDeleteScopeDataAccessResponse) XXX_Marshal added in v1.3.0

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

func (*MsgDeleteScopeDataAccessResponse) XXX_Merge added in v1.3.0

func (*MsgDeleteScopeDataAccessResponse) XXX_Size added in v1.3.0

func (m *MsgDeleteScopeDataAccessResponse) XXX_Size() int

func (*MsgDeleteScopeDataAccessResponse) XXX_Unmarshal added in v1.3.0

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

type MsgDeleteScopeOwnerRequest added in v1.3.0

type MsgDeleteScopeOwnerRequest struct {
	// scope MetadataAddress for removing data access
	ScopeId MetadataAddress `protobuf:"bytes,1,opt,name=scope_id,json=scopeId,proto3,customtype=MetadataAddress" json:"scope_id"`
	// AccAddress owner addresses to be removed from scope
	Owners []string `protobuf:"bytes,2,rep,name=owners,proto3" json:"owners,omitempty"`
	// signers is the list of address of those signing this request.
	Signers []string `protobuf:"bytes,3,rep,name=signers,proto3" json:"signers,omitempty"`
}

MsgDeleteScopeOwnerRequest is the request to remove owner AccAddresses to scope

func NewMsgDeleteScopeOwnerRequest added in v1.3.0

func NewMsgDeleteScopeOwnerRequest(scopeID MetadataAddress, owners []string, signers []string) *MsgDeleteScopeOwnerRequest

NewMsgDeleteScopeOwnerRequest creates a new msg instance

func (*MsgDeleteScopeOwnerRequest) Descriptor added in v1.3.0

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

func (MsgDeleteScopeOwnerRequest) GetSignerStrs added in v1.15.0

func (msg MsgDeleteScopeOwnerRequest) GetSignerStrs() []string

GetSignerStrs returns the bech32 address(es) that signed. Implements MetadataMsg interface.

func (*MsgDeleteScopeOwnerRequest) Marshal added in v1.3.0

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

func (*MsgDeleteScopeOwnerRequest) MarshalTo added in v1.3.0

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

func (*MsgDeleteScopeOwnerRequest) MarshalToSizedBuffer added in v1.3.0

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

func (*MsgDeleteScopeOwnerRequest) ProtoMessage added in v1.3.0

func (*MsgDeleteScopeOwnerRequest) ProtoMessage()

func (*MsgDeleteScopeOwnerRequest) Reset added in v1.3.0

func (m *MsgDeleteScopeOwnerRequest) Reset()

func (*MsgDeleteScopeOwnerRequest) Size added in v1.3.0

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

func (*MsgDeleteScopeOwnerRequest) String added in v1.3.0

func (m *MsgDeleteScopeOwnerRequest) String() string

func (*MsgDeleteScopeOwnerRequest) Unmarshal added in v1.3.0

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

func (MsgDeleteScopeOwnerRequest) ValidateBasic added in v1.3.0

func (msg MsgDeleteScopeOwnerRequest) ValidateBasic() error

ValidateBasic performs as much validation as possible without outside info. Implements sdk.Msg interface.

func (*MsgDeleteScopeOwnerRequest) XXX_DiscardUnknown added in v1.3.0

func (m *MsgDeleteScopeOwnerRequest) XXX_DiscardUnknown()

func (*MsgDeleteScopeOwnerRequest) XXX_Marshal added in v1.3.0

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

func (*MsgDeleteScopeOwnerRequest) XXX_Merge added in v1.3.0

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

func (*MsgDeleteScopeOwnerRequest) XXX_Size added in v1.3.0

func (m *MsgDeleteScopeOwnerRequest) XXX_Size() int

func (*MsgDeleteScopeOwnerRequest) XXX_Unmarshal added in v1.3.0

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

type MsgDeleteScopeOwnerResponse added in v1.3.0

type MsgDeleteScopeOwnerResponse struct {
}

MsgDeleteScopeOwnerResponse is the response from removing owner AccAddress to scope

func (*MsgDeleteScopeOwnerResponse) Descriptor added in v1.3.0

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

func (*MsgDeleteScopeOwnerResponse) Marshal added in v1.3.0

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

func (*MsgDeleteScopeOwnerResponse) MarshalTo added in v1.3.0

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

func (*MsgDeleteScopeOwnerResponse) MarshalToSizedBuffer added in v1.3.0

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

func (*MsgDeleteScopeOwnerResponse) ProtoMessage added in v1.3.0

func (*MsgDeleteScopeOwnerResponse) ProtoMessage()

func (*MsgDeleteScopeOwnerResponse) Reset added in v1.3.0

func (m *MsgDeleteScopeOwnerResponse) Reset()

func (*MsgDeleteScopeOwnerResponse) Size added in v1.3.0

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

func (*MsgDeleteScopeOwnerResponse) String added in v1.3.0

func (m *MsgDeleteScopeOwnerResponse) String() string

func (*MsgDeleteScopeOwnerResponse) Unmarshal added in v1.3.0

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

func (*MsgDeleteScopeOwnerResponse) XXX_DiscardUnknown added in v1.3.0

func (m *MsgDeleteScopeOwnerResponse) XXX_DiscardUnknown()

func (*MsgDeleteScopeOwnerResponse) XXX_Marshal added in v1.3.0

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

func (*MsgDeleteScopeOwnerResponse) XXX_Merge added in v1.3.0

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

func (*MsgDeleteScopeOwnerResponse) XXX_Size added in v1.3.0

func (m *MsgDeleteScopeOwnerResponse) XXX_Size() int

func (*MsgDeleteScopeOwnerResponse) XXX_Unmarshal added in v1.3.0

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

MsgDeleteScopeRequest is the request type for the Msg/DeleteScope RPC method.

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) GetSignerStrs added in v1.15.0

func (msg MsgDeleteScopeRequest) GetSignerStrs() []string

GetSignerStrs returns the bech32 address(es) that signed. Implements MetadataMsg interface.

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

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

func (*MsgDeleteScopeRequest) String added in v0.1.5

func (m *MsgDeleteScopeRequest) String() string

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 as much validation as possible without outside info. Implements sdk.Msg interface.

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 is the response type for the Msg/DeleteScope RPC method.

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 `protobuf:"bytes,1,opt,name=specification_id,json=specificationId,proto3,customtype=MetadataAddress" json:"specification_id"`
	Signers         []string        `protobuf:"bytes,2,rep,name=signers,proto3" json:"signers,omitempty"`
}

MsgDeleteScopeSpecificationRequest is the request type for the Msg/DeleteScopeSpecification RPC method.

func NewMsgDeleteScopeSpecificationRequest added in v0.1.5

func NewMsgDeleteScopeSpecificationRequest(specificationID MetadataAddress, signers []string) *MsgDeleteScopeSpecificationRequest

NewMsgDeleteScopeSpecificationRequest creates a new msg instance

func (*MsgDeleteScopeSpecificationRequest) Descriptor added in v0.1.5

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

func (MsgDeleteScopeSpecificationRequest) GetSignerStrs added in v1.15.0

func (msg MsgDeleteScopeSpecificationRequest) GetSignerStrs() []string

GetSignerStrs returns the bech32 address(es) that signed. Implements MetadataMsg interface.

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

func (*MsgDeleteScopeSpecificationRequest) String added in v0.1.5

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 as much validation as possible without outside info. Implements sdk.Msg interface.

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 is the response type for the Msg/DeleteScopeSpecification RPC method.

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 MsgMigrateValueOwnerRequest added in v1.16.0

type MsgMigrateValueOwnerRequest struct {
	// existing is the value owner address that is being migrated.
	Existing string `protobuf:"bytes,1,opt,name=existing,proto3" json:"existing,omitempty"`
	// proposed is the new value owner address for all of existing's scopes.
	Proposed string `protobuf:"bytes,2,opt,name=proposed,proto3" json:"proposed,omitempty"`
	// signers is the list of addresses of those signing this request.
	Signers []string `protobuf:"bytes,3,rep,name=signers,proto3" json:"signers,omitempty"`
}

MsgMigrateValueOwnerRequest is the request to migrate all scopes with one value owner to another value owner.

func NewMsgMigrateValueOwnerRequest added in v1.16.0

func NewMsgMigrateValueOwnerRequest(existing, proposed sdk.AccAddress, signers []string) *MsgMigrateValueOwnerRequest

NewMsgMigrateValueOwnerRequest creates a new msg instance

func (*MsgMigrateValueOwnerRequest) Descriptor added in v1.16.0

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

func (MsgMigrateValueOwnerRequest) GetSignerStrs added in v1.16.0

func (msg MsgMigrateValueOwnerRequest) GetSignerStrs() []string

GetSignerStrs returns the bech32 address(es) that signed. Implements MetadataMsg interface.

func (*MsgMigrateValueOwnerRequest) Marshal added in v1.16.0

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

func (*MsgMigrateValueOwnerRequest) MarshalTo added in v1.16.0

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

func (*MsgMigrateValueOwnerRequest) MarshalToSizedBuffer added in v1.16.0

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

func (*MsgMigrateValueOwnerRequest) ProtoMessage added in v1.16.0

func (*MsgMigrateValueOwnerRequest) ProtoMessage()

func (*MsgMigrateValueOwnerRequest) Reset added in v1.16.0

func (m *MsgMigrateValueOwnerRequest) Reset()

func (*MsgMigrateValueOwnerRequest) Size added in v1.16.0

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

func (*MsgMigrateValueOwnerRequest) String added in v1.16.0

func (m *MsgMigrateValueOwnerRequest) String() string

func (*MsgMigrateValueOwnerRequest) Unmarshal added in v1.16.0

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

func (MsgMigrateValueOwnerRequest) ValidateBasic added in v1.16.0

func (msg MsgMigrateValueOwnerRequest) ValidateBasic() error

ValidateBasic performs as much validation as possible without outside info. Implements sdk.Msg interface.

func (*MsgMigrateValueOwnerRequest) XXX_DiscardUnknown added in v1.16.0

func (m *MsgMigrateValueOwnerRequest) XXX_DiscardUnknown()

func (*MsgMigrateValueOwnerRequest) XXX_Marshal added in v1.16.0

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

func (*MsgMigrateValueOwnerRequest) XXX_Merge added in v1.16.0

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

func (*MsgMigrateValueOwnerRequest) XXX_Size added in v1.16.0

func (m *MsgMigrateValueOwnerRequest) XXX_Size() int

func (*MsgMigrateValueOwnerRequest) XXX_Unmarshal added in v1.16.0

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

type MsgMigrateValueOwnerResponse added in v1.16.0

type MsgMigrateValueOwnerResponse struct {
}

MsgMigrateValueOwnerResponse is the response from migrating a value owner address.

func (*MsgMigrateValueOwnerResponse) Descriptor added in v1.16.0

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

func (*MsgMigrateValueOwnerResponse) Marshal added in v1.16.0

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

func (*MsgMigrateValueOwnerResponse) MarshalTo added in v1.16.0

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

func (*MsgMigrateValueOwnerResponse) MarshalToSizedBuffer added in v1.16.0

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

func (*MsgMigrateValueOwnerResponse) ProtoMessage added in v1.16.0

func (*MsgMigrateValueOwnerResponse) ProtoMessage()

func (*MsgMigrateValueOwnerResponse) Reset added in v1.16.0

func (m *MsgMigrateValueOwnerResponse) Reset()

func (*MsgMigrateValueOwnerResponse) Size added in v1.16.0

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

func (*MsgMigrateValueOwnerResponse) String added in v1.16.0

func (*MsgMigrateValueOwnerResponse) Unmarshal added in v1.16.0

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

func (*MsgMigrateValueOwnerResponse) XXX_DiscardUnknown added in v1.16.0

func (m *MsgMigrateValueOwnerResponse) XXX_DiscardUnknown()

func (*MsgMigrateValueOwnerResponse) XXX_Marshal added in v1.16.0

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

func (*MsgMigrateValueOwnerResponse) XXX_Merge added in v1.16.0

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

func (*MsgMigrateValueOwnerResponse) XXX_Size added in v1.16.0

func (m *MsgMigrateValueOwnerResponse) XXX_Size() int

func (*MsgMigrateValueOwnerResponse) XXX_Unmarshal added in v1.16.0

func (m *MsgMigrateValueOwnerResponse) 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 is the request type for the Msg/ModifyOSLocator RPC method.

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) GetSignerStrs added in v1.15.0

func (msg MsgModifyOSLocatorRequest) GetSignerStrs() []string

GetSignerStrs returns the bech32 address(es) that signed. Implements MetadataMsg interface.

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

ValidateBasic performs as much validation as possible without outside info. Implements sdk.Msg interface.

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 is the response type for the Msg/ModifyOSLocator RPC method.

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 {
	ScopeId              string            `protobuf:"bytes,1,opt,name=scope_id,json=scopeId,proto3" json:"scope_id,omitempty"`
	GroupId              string            `protobuf:"bytes,2,opt,name=group_id,json=groupId,proto3" json:"group_id,omitempty"`
	ScopeSpecificationId string            `protobuf:"bytes,3,opt,name=scope_specification_id,json=scopeSpecificationId,proto3" json:"scope_specification_id,omitempty"`
	Recitals             *p8e.Recitals     `protobuf:"bytes,4,opt,name=recitals,proto3" json:"recitals,omitempty"`
	Contract             *p8e.Contract     `protobuf:"bytes,5,opt,name=contract,proto3" json:"contract,omitempty"`
	Signatures           *p8e.SignatureSet `protobuf:"bytes,6,opt,name=signatures,proto3" json:"signatures,omitempty"`
	Invoker              string            `protobuf:"bytes,7,opt,name=invoker,proto3" json:"invoker,omitempty"`
}

MsgP8eMemorializeContractRequest has been deprecated and is no longer usable. Deprecated: This message is no longer part of any endpoint and cannot be used for anything.

Deprecated: Do not use.

func (*MsgP8EMemorializeContractRequest) Descriptor added in v0.3.0

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

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

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

func (*MsgP8EMemorializeContractRequest) String added in v0.3.0

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

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 {
	ScopeIdInfo   *ScopeIdInfo    `protobuf:"bytes,1,opt,name=scope_id_info,json=scopeIdInfo,proto3" json:"scope_id_info,omitempty"`
	SessionIdInfo *SessionIdInfo  `protobuf:"bytes,2,opt,name=session_id_info,json=sessionIdInfo,proto3" json:"session_id_info,omitempty"`
	RecordIdInfos []*RecordIdInfo `protobuf:"bytes,3,rep,name=record_id_infos,json=recordIdInfos,proto3" json:"record_id_infos,omitempty"`
}

MsgP8eMemorializeContractResponse has been deprecated and is no longer usable. Deprecated: This message is no longer part of any endpoint and cannot be used for anything.

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 {
	// WriteScope adds or updates a scope.
	WriteScope(context.Context, *MsgWriteScopeRequest) (*MsgWriteScopeResponse, error)
	// DeleteScope deletes a scope and all associated Records, Sessions.
	DeleteScope(context.Context, *MsgDeleteScopeRequest) (*MsgDeleteScopeResponse, error)
	// AddScopeDataAccess adds data access AccAddress to scope
	AddScopeDataAccess(context.Context, *MsgAddScopeDataAccessRequest) (*MsgAddScopeDataAccessResponse, error)
	// DeleteScopeDataAccess removes data access AccAddress from scope
	DeleteScopeDataAccess(context.Context, *MsgDeleteScopeDataAccessRequest) (*MsgDeleteScopeDataAccessResponse, error)
	// AddScopeOwner adds new owner parties to a scope
	AddScopeOwner(context.Context, *MsgAddScopeOwnerRequest) (*MsgAddScopeOwnerResponse, error)
	// DeleteScopeOwner removes owner parties (by addresses) from a scope
	DeleteScopeOwner(context.Context, *MsgDeleteScopeOwnerRequest) (*MsgDeleteScopeOwnerResponse, error)
	// UpdateValueOwners sets the value owner of one or more scopes.
	UpdateValueOwners(context.Context, *MsgUpdateValueOwnersRequest) (*MsgUpdateValueOwnersResponse, error)
	// MigrateValueOwner updates all scopes that have one value owner to have a another value owner.
	MigrateValueOwner(context.Context, *MsgMigrateValueOwnerRequest) (*MsgMigrateValueOwnerResponse, error)
	// WriteSession adds or updates a session context.
	WriteSession(context.Context, *MsgWriteSessionRequest) (*MsgWriteSessionResponse, error)
	// WriteRecord adds or updates a record.
	WriteRecord(context.Context, *MsgWriteRecordRequest) (*MsgWriteRecordResponse, error)
	// DeleteRecord deletes a record.
	DeleteRecord(context.Context, *MsgDeleteRecordRequest) (*MsgDeleteRecordResponse, error)
	// WriteScopeSpecification adds or updates a scope specification.
	WriteScopeSpecification(context.Context, *MsgWriteScopeSpecificationRequest) (*MsgWriteScopeSpecificationResponse, error)
	// DeleteScopeSpecification deletes a scope specification.
	DeleteScopeSpecification(context.Context, *MsgDeleteScopeSpecificationRequest) (*MsgDeleteScopeSpecificationResponse, error)
	// WriteContractSpecification adds or updates a contract specification.
	WriteContractSpecification(context.Context, *MsgWriteContractSpecificationRequest) (*MsgWriteContractSpecificationResponse, error)
	// DeleteContractSpecification deletes a contract specification.
	DeleteContractSpecification(context.Context, *MsgDeleteContractSpecificationRequest) (*MsgDeleteContractSpecificationResponse, error)
	// AddContractSpecToScopeSpec adds contract specification to a scope specification.
	AddContractSpecToScopeSpec(context.Context, *MsgAddContractSpecToScopeSpecRequest) (*MsgAddContractSpecToScopeSpecResponse, error)
	// DeleteContractSpecFromScopeSpec deletes a contract specification from a scope specification.
	DeleteContractSpecFromScopeSpec(context.Context, *MsgDeleteContractSpecFromScopeSpecRequest) (*MsgDeleteContractSpecFromScopeSpecResponse, error)
	// WriteRecordSpecification adds or updates a record specification.
	WriteRecordSpecification(context.Context, *MsgWriteRecordSpecificationRequest) (*MsgWriteRecordSpecificationResponse, error)
	// DeleteRecordSpecification deletes a record specification.
	DeleteRecordSpecification(context.Context, *MsgDeleteRecordSpecificationRequest) (*MsgDeleteRecordSpecificationResponse, error)
	// BindOSLocator binds an owner address to a uri.
	BindOSLocator(context.Context, *MsgBindOSLocatorRequest) (*MsgBindOSLocatorResponse, error)
	// DeleteOSLocator deletes an existing ObjectStoreLocator record.
	DeleteOSLocator(context.Context, *MsgDeleteOSLocatorRequest) (*MsgDeleteOSLocatorResponse, error)
	// ModifyOSLocator updates an ObjectStoreLocator record by the current owner.
	ModifyOSLocator(context.Context, *MsgModifyOSLocatorRequest) (*MsgModifyOSLocatorResponse, error)
	// SetAccountData associates some basic data with a metadata address.
	// Currently, only scope ids are supported.
	SetAccountData(context.Context, *MsgSetAccountDataRequest) (*MsgSetAccountDataResponse, error)
	// AddNetAssetValues set the net asset value for a scope
	AddNetAssetValues(context.Context, *MsgAddNetAssetValuesRequest) (*MsgAddNetAssetValuesResponse, error)
}

MsgServer is the server API for Msg service.

type MsgSetAccountDataRequest added in v1.16.0

type MsgSetAccountDataRequest struct {
	// The identifier to associate the data with.
	// Currently, only scope ids are supported.
	MetadataAddr MetadataAddress `protobuf:"bytes,1,opt,name=metadata_addr,json=metadataAddr,proto3,customtype=MetadataAddress" json:"metadata_addr"`
	// The desired accountdata value.
	Value string `protobuf:"bytes,2,opt,name=value,proto3" json:"value,omitempty"`
	// The signers of this message. Must fulfill owner requirements of the scope.
	Signers []string `protobuf:"bytes,3,rep,name=signers,proto3" json:"signers,omitempty"`
}

MsgSetAccountDataRequest is the request to set/update/delete a scope's account data.

func (*MsgSetAccountDataRequest) Descriptor added in v1.16.0

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

func (MsgSetAccountDataRequest) GetSignerStrs added in v1.16.0

func (msg MsgSetAccountDataRequest) GetSignerStrs() []string

GetSignerStrs returns the bech32 address(es) that signed. Implements MetadataMsg interface.

func (*MsgSetAccountDataRequest) Marshal added in v1.16.0

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

func (*MsgSetAccountDataRequest) MarshalTo added in v1.16.0

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

func (*MsgSetAccountDataRequest) MarshalToSizedBuffer added in v1.16.0

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

func (*MsgSetAccountDataRequest) ProtoMessage added in v1.16.0

func (*MsgSetAccountDataRequest) ProtoMessage()

func (*MsgSetAccountDataRequest) Reset added in v1.16.0

func (m *MsgSetAccountDataRequest) Reset()

func (*MsgSetAccountDataRequest) Size added in v1.16.0

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

func (*MsgSetAccountDataRequest) String added in v1.16.0

func (m *MsgSetAccountDataRequest) String() string

func (*MsgSetAccountDataRequest) Unmarshal added in v1.16.0

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

func (MsgSetAccountDataRequest) ValidateBasic added in v1.16.0

func (msg MsgSetAccountDataRequest) ValidateBasic() error

ValidateBasic performs as much validation as possible without outside info. Implements sdk.Msg interface.

func (*MsgSetAccountDataRequest) XXX_DiscardUnknown added in v1.16.0

func (m *MsgSetAccountDataRequest) XXX_DiscardUnknown()

func (*MsgSetAccountDataRequest) XXX_Marshal added in v1.16.0

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

func (*MsgSetAccountDataRequest) XXX_Merge added in v1.16.0

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

func (*MsgSetAccountDataRequest) XXX_Size added in v1.16.0

func (m *MsgSetAccountDataRequest) XXX_Size() int

func (*MsgSetAccountDataRequest) XXX_Unmarshal added in v1.16.0

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

type MsgSetAccountDataResponse added in v1.16.0

type MsgSetAccountDataResponse struct {
}

MsgSetAccountDataResponse is the response from setting/updating/deleting a scope's account data.

func (*MsgSetAccountDataResponse) Descriptor added in v1.16.0

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

func (*MsgSetAccountDataResponse) Marshal added in v1.16.0

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

func (*MsgSetAccountDataResponse) MarshalTo added in v1.16.0

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

func (*MsgSetAccountDataResponse) MarshalToSizedBuffer added in v1.16.0

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

func (*MsgSetAccountDataResponse) ProtoMessage added in v1.16.0

func (*MsgSetAccountDataResponse) ProtoMessage()

func (*MsgSetAccountDataResponse) Reset added in v1.16.0

func (m *MsgSetAccountDataResponse) Reset()

func (*MsgSetAccountDataResponse) Size added in v1.16.0

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

func (*MsgSetAccountDataResponse) String added in v1.16.0

func (m *MsgSetAccountDataResponse) String() string

func (*MsgSetAccountDataResponse) Unmarshal added in v1.16.0

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

func (*MsgSetAccountDataResponse) XXX_DiscardUnknown added in v1.16.0

func (m *MsgSetAccountDataResponse) XXX_DiscardUnknown()

func (*MsgSetAccountDataResponse) XXX_Marshal added in v1.16.0

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

func (*MsgSetAccountDataResponse) XXX_Merge added in v1.16.0

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

func (*MsgSetAccountDataResponse) XXX_Size added in v1.16.0

func (m *MsgSetAccountDataResponse) XXX_Size() int

func (*MsgSetAccountDataResponse) XXX_Unmarshal added in v1.16.0

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

type MsgUpdateValueOwnersRequest added in v1.16.0

type MsgUpdateValueOwnersRequest struct {
	// scope_ids are the scope metadata addresses of all scopes to be updated.
	ScopeIds []MetadataAddress `protobuf:"bytes,1,rep,name=scope_ids,json=scopeIds,proto3,customtype=MetadataAddress" json:"scope_ids"`
	// value_owner_address is the address of the new value owner for the provided scopes.
	ValueOwnerAddress string `protobuf:"bytes,2,opt,name=value_owner_address,json=valueOwnerAddress,proto3" json:"value_owner_address,omitempty"`
	// signers is the list of addresses of those signing this request.
	Signers []string `protobuf:"bytes,3,rep,name=signers,proto3" json:"signers,omitempty"`
}

MsgUpdateValueOwnersRequest is the request to update the value owner addresses in one or more scopes.

func NewMsgUpdateValueOwnersRequest added in v1.16.0

func NewMsgUpdateValueOwnersRequest(scopeIDs []MetadataAddress, valueOwner sdk.AccAddress, signers []string) *MsgUpdateValueOwnersRequest

NewMsgUpdateValueOwnersRequest creates a new msg instance

func (*MsgUpdateValueOwnersRequest) Descriptor added in v1.16.0

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

func (MsgUpdateValueOwnersRequest) GetSignerStrs added in v1.16.0

func (msg MsgUpdateValueOwnersRequest) GetSignerStrs() []string

GetSignerStrs returns the bech32 address(es) that signed. Implements MetadataMsg interface.

func (*MsgUpdateValueOwnersRequest) Marshal added in v1.16.0

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

func (*MsgUpdateValueOwnersRequest) MarshalTo added in v1.16.0

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

func (*MsgUpdateValueOwnersRequest) MarshalToSizedBuffer added in v1.16.0

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

func (*MsgUpdateValueOwnersRequest) ProtoMessage added in v1.16.0

func (*MsgUpdateValueOwnersRequest) ProtoMessage()

func (*MsgUpdateValueOwnersRequest) Reset added in v1.16.0

func (m *MsgUpdateValueOwnersRequest) Reset()

func (*MsgUpdateValueOwnersRequest) Size added in v1.16.0

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

func (*MsgUpdateValueOwnersRequest) String added in v1.16.0

func (m *MsgUpdateValueOwnersRequest) String() string

func (*MsgUpdateValueOwnersRequest) Unmarshal added in v1.16.0

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

func (MsgUpdateValueOwnersRequest) ValidateBasic added in v1.16.0

func (msg MsgUpdateValueOwnersRequest) ValidateBasic() error

ValidateBasic performs as much validation as possible without outside info. Implements sdk.Msg interface.

func (*MsgUpdateValueOwnersRequest) XXX_DiscardUnknown added in v1.16.0

func (m *MsgUpdateValueOwnersRequest) XXX_DiscardUnknown()

func (*MsgUpdateValueOwnersRequest) XXX_Marshal added in v1.16.0

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

func (*MsgUpdateValueOwnersRequest) XXX_Merge added in v1.16.0

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

func (*MsgUpdateValueOwnersRequest) XXX_Size added in v1.16.0

func (m *MsgUpdateValueOwnersRequest) XXX_Size() int

func (*MsgUpdateValueOwnersRequest) XXX_Unmarshal added in v1.16.0

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

type MsgUpdateValueOwnersResponse added in v1.16.0

type MsgUpdateValueOwnersResponse struct {
}

MsgUpdateValueOwnersResponse is the response from updating value owner addresses in one or more scopes.

func (*MsgUpdateValueOwnersResponse) Descriptor added in v1.16.0

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

func (*MsgUpdateValueOwnersResponse) Marshal added in v1.16.0

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

func (*MsgUpdateValueOwnersResponse) MarshalTo added in v1.16.0

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

func (*MsgUpdateValueOwnersResponse) MarshalToSizedBuffer added in v1.16.0

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

func (*MsgUpdateValueOwnersResponse) ProtoMessage added in v1.16.0

func (*MsgUpdateValueOwnersResponse) ProtoMessage()

func (*MsgUpdateValueOwnersResponse) Reset added in v1.16.0

func (m *MsgUpdateValueOwnersResponse) Reset()

func (*MsgUpdateValueOwnersResponse) Size added in v1.16.0

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

func (*MsgUpdateValueOwnersResponse) String added in v1.16.0

func (*MsgUpdateValueOwnersResponse) Unmarshal added in v1.16.0

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

func (*MsgUpdateValueOwnersResponse) XXX_DiscardUnknown added in v1.16.0

func (m *MsgUpdateValueOwnersResponse) XXX_DiscardUnknown()

func (*MsgUpdateValueOwnersResponse) XXX_Marshal added in v1.16.0

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

func (*MsgUpdateValueOwnersResponse) XXX_Merge added in v1.16.0

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

func (*MsgUpdateValueOwnersResponse) XXX_Size added in v1.16.0

func (m *MsgUpdateValueOwnersResponse) XXX_Size() int

func (*MsgUpdateValueOwnersResponse) XXX_Unmarshal added in v1.16.0

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

type MsgWriteContractSpecificationRequest added in v1.0.0

type MsgWriteContractSpecificationRequest struct {
	// specification is the ContractSpecification you want added or updated.
	Specification ContractSpecification `protobuf:"bytes,1,opt,name=specification,proto3" json:"specification"`
	// signers is the list of address of those signing this request.
	Signers []string `protobuf:"bytes,2,rep,name=signers,proto3" json:"signers,omitempty"`
	// spec_uuid is an optional contract specification uuid string, e.g. "def6bc0a-c9dd-4874-948f-5206e6060a84"
	// If provided, it will be used to generate the MetadataAddress for the contract specification which will override the
	// specification_id in the provided specification. If not provided (or it is an empty string), nothing special
	// happens.
	// If there is a value in specification.specification_id that is different from the one created from this uuid, an
	// error is returned.
	SpecUuid string `protobuf:"bytes,3,opt,name=spec_uuid,json=specUuid,proto3" json:"spec_uuid,omitempty"`
}

MsgWriteContractSpecificationRequest is the request type for the Msg/WriteContractSpecification RPC method.

func NewMsgWriteContractSpecificationRequest added in v1.0.0

func NewMsgWriteContractSpecificationRequest(specification ContractSpecification, signers []string) *MsgWriteContractSpecificationRequest

NewMsgWriteContractSpecificationRequest creates a new msg instance

func (*MsgWriteContractSpecificationRequest) ConvertOptionalFields added in v1.0.0

func (msg *MsgWriteContractSpecificationRequest) ConvertOptionalFields() error

ConvertOptionalFields will look at the SpecUuid field in the message. If present, it will be converted to a MetadataAddress and set in the Specification appropriately. Once used, it will be emptied so that calling this again has no effect.

func (*MsgWriteContractSpecificationRequest) Descriptor added in v1.0.0

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

func (MsgWriteContractSpecificationRequest) GetSignerStrs added in v1.15.0

func (msg MsgWriteContractSpecificationRequest) GetSignerStrs() []string

GetSignerStrs returns the bech32 address(es) that signed. Implements MetadataMsg interface.

func (*MsgWriteContractSpecificationRequest) Marshal added in v1.0.0

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

func (*MsgWriteContractSpecificationRequest) MarshalTo added in v1.0.0

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

func (*MsgWriteContractSpecificationRequest) MarshalToSizedBuffer added in v1.0.0

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

func (*MsgWriteContractSpecificationRequest) ProtoMessage added in v1.0.0

func (*MsgWriteContractSpecificationRequest) ProtoMessage()

func (*MsgWriteContractSpecificationRequest) Reset added in v1.0.0

func (*MsgWriteContractSpecificationRequest) Size added in v1.0.0

func (*MsgWriteContractSpecificationRequest) String added in v1.0.0

func (*MsgWriteContractSpecificationRequest) Unmarshal added in v1.0.0

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

func (MsgWriteContractSpecificationRequest) ValidateBasic added in v1.0.0

func (msg MsgWriteContractSpecificationRequest) ValidateBasic() error

ValidateBasic performs as much validation as possible without outside info. Implements sdk.Msg interface.

func (*MsgWriteContractSpecificationRequest) XXX_DiscardUnknown added in v1.0.0

func (m *MsgWriteContractSpecificationRequest) XXX_DiscardUnknown()

func (*MsgWriteContractSpecificationRequest) XXX_Marshal added in v1.0.0

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

func (*MsgWriteContractSpecificationRequest) XXX_Merge added in v1.0.0

func (*MsgWriteContractSpecificationRequest) XXX_Size added in v1.0.0

func (*MsgWriteContractSpecificationRequest) XXX_Unmarshal added in v1.0.0

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

type MsgWriteContractSpecificationResponse added in v1.0.0

type MsgWriteContractSpecificationResponse struct {
	// contract_spec_id_info contains information about the id/address of the contract specification that was added or
	// updated.
	ContractSpecIdInfo *ContractSpecIdInfo `protobuf:"bytes,1,opt,name=contract_spec_id_info,json=contractSpecIdInfo,proto3" json:"contract_spec_id_info,omitempty"`
}

MsgWriteContractSpecificationResponse is the response type for the Msg/WriteContractSpecification RPC method.

func NewMsgWriteContractSpecificationResponse added in v1.3.0

func NewMsgWriteContractSpecificationResponse(contractSpecID MetadataAddress) *MsgWriteContractSpecificationResponse

func (*MsgWriteContractSpecificationResponse) Descriptor added in v1.0.0

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

func (*MsgWriteContractSpecificationResponse) GetContractSpecIdInfo added in v1.0.0

func (m *MsgWriteContractSpecificationResponse) GetContractSpecIdInfo() *ContractSpecIdInfo

func (*MsgWriteContractSpecificationResponse) Marshal added in v1.0.0

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

func (*MsgWriteContractSpecificationResponse) MarshalTo added in v1.0.0

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

func (*MsgWriteContractSpecificationResponse) MarshalToSizedBuffer added in v1.0.0

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

func (*MsgWriteContractSpecificationResponse) ProtoMessage added in v1.0.0

func (*MsgWriteContractSpecificationResponse) ProtoMessage()

func (*MsgWriteContractSpecificationResponse) Reset added in v1.0.0

func (*MsgWriteContractSpecificationResponse) Size added in v1.0.0

func (*MsgWriteContractSpecificationResponse) String added in v1.0.0

func (*MsgWriteContractSpecificationResponse) Unmarshal added in v1.0.0

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

func (*MsgWriteContractSpecificationResponse) XXX_DiscardUnknown added in v1.0.0

func (m *MsgWriteContractSpecificationResponse) XXX_DiscardUnknown()

func (*MsgWriteContractSpecificationResponse) XXX_Marshal added in v1.0.0

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

func (*MsgWriteContractSpecificationResponse) XXX_Merge added in v1.0.0

func (*MsgWriteContractSpecificationResponse) XXX_Size added in v1.0.0

func (*MsgWriteContractSpecificationResponse) XXX_Unmarshal added in v1.0.0

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

type MsgWriteP8EContractSpecRequest deprecated added in v1.0.0

type MsgWriteP8EContractSpecRequest struct {
	Contractspec p8e.ContractSpec `protobuf:"bytes,1,opt,name=contractspec,proto3" json:"contractspec"`
	Signers      []string         `protobuf:"bytes,2,rep,name=signers,proto3" json:"signers,omitempty"`
}

MsgWriteP8eContractSpecRequest has been deprecated and is no longer usable. Deprecated: This message is no longer part of any endpoint and cannot be used for anything.

Deprecated: Do not use.

func (*MsgWriteP8EContractSpecRequest) Descriptor added in v1.0.0

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

func (*MsgWriteP8EContractSpecRequest) Marshal added in v1.0.0

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

func (*MsgWriteP8EContractSpecRequest) MarshalTo added in v1.0.0

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

func (*MsgWriteP8EContractSpecRequest) MarshalToSizedBuffer added in v1.0.0

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

func (*MsgWriteP8EContractSpecRequest) ProtoMessage added in v1.0.0

func (*MsgWriteP8EContractSpecRequest) ProtoMessage()

func (*MsgWriteP8EContractSpecRequest) Reset added in v1.0.0

func (m *MsgWriteP8EContractSpecRequest) Reset()

func (*MsgWriteP8EContractSpecRequest) Size added in v1.0.0

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

func (*MsgWriteP8EContractSpecRequest) String added in v1.0.0

func (*MsgWriteP8EContractSpecRequest) Unmarshal added in v1.0.0

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

func (MsgWriteP8EContractSpecRequest) ValidateBasic added in v1.0.0

func (msg MsgWriteP8EContractSpecRequest) ValidateBasic() error

func (*MsgWriteP8EContractSpecRequest) XXX_DiscardUnknown added in v1.0.0

func (m *MsgWriteP8EContractSpecRequest) XXX_DiscardUnknown()

func (*MsgWriteP8EContractSpecRequest) XXX_Marshal added in v1.0.0

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

func (*MsgWriteP8EContractSpecRequest) XXX_Merge added in v1.0.0

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

func (*MsgWriteP8EContractSpecRequest) XXX_Size added in v1.0.0

func (m *MsgWriteP8EContractSpecRequest) XXX_Size() int

func (*MsgWriteP8EContractSpecRequest) XXX_Unmarshal added in v1.0.0

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

type MsgWriteP8EContractSpecResponse deprecated added in v1.0.0

type MsgWriteP8EContractSpecResponse struct {
	ContractSpecIdInfo *ContractSpecIdInfo `protobuf:"bytes,1,opt,name=contract_spec_id_info,json=contractSpecIdInfo,proto3" json:"contract_spec_id_info,omitempty"`
	RecordSpecIdInfos  []*RecordSpecIdInfo `protobuf:"bytes,2,rep,name=record_spec_id_infos,json=recordSpecIdInfos,proto3" json:"record_spec_id_infos,omitempty"`
}

MsgWriteP8eContractSpecResponse has been deprecated and is no longer usable. Deprecated: This message is no longer part of any endpoint and cannot be used for anything.

Deprecated: Do not use.

func (*MsgWriteP8EContractSpecResponse) Descriptor added in v1.0.0

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

func (*MsgWriteP8EContractSpecResponse) Marshal added in v1.0.0

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

func (*MsgWriteP8EContractSpecResponse) MarshalTo added in v1.0.0

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

func (*MsgWriteP8EContractSpecResponse) MarshalToSizedBuffer added in v1.0.0

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

func (*MsgWriteP8EContractSpecResponse) ProtoMessage added in v1.0.0

func (*MsgWriteP8EContractSpecResponse) ProtoMessage()

func (*MsgWriteP8EContractSpecResponse) Reset added in v1.0.0

func (*MsgWriteP8EContractSpecResponse) Size added in v1.0.0

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

func (*MsgWriteP8EContractSpecResponse) String added in v1.0.0

func (*MsgWriteP8EContractSpecResponse) Unmarshal added in v1.0.0

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

func (*MsgWriteP8EContractSpecResponse) XXX_DiscardUnknown added in v1.0.0

func (m *MsgWriteP8EContractSpecResponse) XXX_DiscardUnknown()

func (*MsgWriteP8EContractSpecResponse) XXX_Marshal added in v1.0.0

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

func (*MsgWriteP8EContractSpecResponse) XXX_Merge added in v1.0.0

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

func (*MsgWriteP8EContractSpecResponse) XXX_Size added in v1.0.0

func (m *MsgWriteP8EContractSpecResponse) XXX_Size() int

func (*MsgWriteP8EContractSpecResponse) XXX_Unmarshal added in v1.0.0

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

type MsgWriteRecordRequest added in v1.0.0

type MsgWriteRecordRequest struct {
	// record is the Record you want added or updated.
	Record Record `protobuf:"bytes,1,opt,name=record,proto3" json:"record"`
	// signers is the list of address of those signing this request.
	Signers []string `protobuf:"bytes,2,rep,name=signers,proto3" json:"signers,omitempty"`
	// SessionIDComponents is an optional (alternate) way of defining what the session_id should be in the provided
	// record. If provided, it must have both a scope and session_uuid. Those components will be used to create the
	// MetadataAddress for the session which will override the session_id in the provided record. If not provided (or
	// all empty), nothing special happens.
	// If there is a value in record.session_id that is different from the one created from these components, an error is
	// returned.
	SessionIdComponents *SessionIdComponents `protobuf:"bytes,3,opt,name=session_id_components,json=sessionIdComponents,proto3" json:"session_id_components,omitempty"`
	// contract_spec_uuid is an optional contract specification uuid string, e.g. "def6bc0a-c9dd-4874-948f-5206e6060a84"
	// If provided, it will be combined with the record name to generate the MetadataAddress for the record specification
	// which will override the specification_id in the provided record. If not provided (or it is an empty string),
	// nothing special happens.
	// If there is a value in record.specification_id that is different from the one created from this uuid and
	// record.name, an error is returned.
	ContractSpecUuid string `protobuf:"bytes,4,opt,name=contract_spec_uuid,json=contractSpecUuid,proto3" json:"contract_spec_uuid,omitempty"`
	// parties is the list of parties involved with this record.
	// Deprecated: This field is ignored. The parties are identified in the session and as signers.
	Parties []Party `protobuf:"bytes,5,rep,name=parties,proto3" json:"parties"`
}

MsgWriteRecordRequest is the request type for the Msg/WriteRecord RPC method.

func NewMsgWriteRecordRequest added in v1.0.0

func NewMsgWriteRecordRequest(record Record, sessionIDComponents *SessionIdComponents, contractSpecUUID string, signers []string, parties []Party) *MsgWriteRecordRequest

NewMsgWriteRecordRequest creates a new msg instance

func (*MsgWriteRecordRequest) ConvertOptionalFields added in v1.0.0

func (msg *MsgWriteRecordRequest) ConvertOptionalFields() error

ConvertOptionalFields will look at the SessionIdComponents and ContractSpecUuid fields in the message. For each, if present, it will be converted to a MetadataAddress and set in the Record appropriately. Once used, those fields will be emptied so that calling this again has no effect.

func (*MsgWriteRecordRequest) Descriptor added in v1.0.0

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

func (MsgWriteRecordRequest) GetSignerStrs added in v1.15.0

func (msg MsgWriteRecordRequest) GetSignerStrs() []string

GetSignerStrs returns the bech32 address(es) that signed. Implements MetadataMsg interface.

func (*MsgWriteRecordRequest) Marshal added in v1.0.0

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

func (*MsgWriteRecordRequest) MarshalTo added in v1.0.0

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

func (*MsgWriteRecordRequest) MarshalToSizedBuffer added in v1.0.0

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

func (*MsgWriteRecordRequest) ProtoMessage added in v1.0.0

func (*MsgWriteRecordRequest) ProtoMessage()

func (*MsgWriteRecordRequest) Reset added in v1.0.0

func (m *MsgWriteRecordRequest) Reset()

func (*MsgWriteRecordRequest) Size added in v1.0.0

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

func (*MsgWriteRecordRequest) String added in v1.0.0

func (m *MsgWriteRecordRequest) String() string

func (*MsgWriteRecordRequest) Unmarshal added in v1.0.0

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

func (MsgWriteRecordRequest) ValidateBasic added in v1.0.0

func (msg MsgWriteRecordRequest) ValidateBasic() error

ValidateBasic performs as much validation as possible without outside info. Implements sdk.Msg interface.

func (*MsgWriteRecordRequest) XXX_DiscardUnknown added in v1.0.0

func (m *MsgWriteRecordRequest) XXX_DiscardUnknown()

func (*MsgWriteRecordRequest) XXX_Marshal added in v1.0.0

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

func (*MsgWriteRecordRequest) XXX_Merge added in v1.0.0

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

func (*MsgWriteRecordRequest) XXX_Size added in v1.0.0

func (m *MsgWriteRecordRequest) XXX_Size() int

func (*MsgWriteRecordRequest) XXX_Unmarshal added in v1.0.0

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

type MsgWriteRecordResponse added in v1.0.0

type MsgWriteRecordResponse struct {
	// record_id_info contains information about the id/address of the record that was added or updated.
	RecordIdInfo *RecordIdInfo `protobuf:"bytes,1,opt,name=record_id_info,json=recordIdInfo,proto3" json:"record_id_info,omitempty"`
}

MsgWriteRecordResponse is the response type for the Msg/WriteRecord RPC method.

func NewMsgWriteRecordResponse added in v1.3.0

func NewMsgWriteRecordResponse(recordID MetadataAddress) *MsgWriteRecordResponse

func (*MsgWriteRecordResponse) Descriptor added in v1.0.0

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

func (*MsgWriteRecordResponse) GetRecordIdInfo added in v1.0.0

func (m *MsgWriteRecordResponse) GetRecordIdInfo() *RecordIdInfo

func (*MsgWriteRecordResponse) Marshal added in v1.0.0

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

func (*MsgWriteRecordResponse) MarshalTo added in v1.0.0

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

func (*MsgWriteRecordResponse) MarshalToSizedBuffer added in v1.0.0

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

func (*MsgWriteRecordResponse) ProtoMessage added in v1.0.0

func (*MsgWriteRecordResponse) ProtoMessage()

func (*MsgWriteRecordResponse) Reset added in v1.0.0

func (m *MsgWriteRecordResponse) Reset()

func (*MsgWriteRecordResponse) Size added in v1.0.0

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

func (*MsgWriteRecordResponse) String added in v1.0.0

func (m *MsgWriteRecordResponse) String() string

func (*MsgWriteRecordResponse) Unmarshal added in v1.0.0

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

func (*MsgWriteRecordResponse) XXX_DiscardUnknown added in v1.0.0

func (m *MsgWriteRecordResponse) XXX_DiscardUnknown()

func (*MsgWriteRecordResponse) XXX_Marshal added in v1.0.0

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

func (*MsgWriteRecordResponse) XXX_Merge added in v1.0.0

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

func (*MsgWriteRecordResponse) XXX_Size added in v1.0.0

func (m *MsgWriteRecordResponse) XXX_Size() int

func (*MsgWriteRecordResponse) XXX_Unmarshal added in v1.0.0

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

type MsgWriteRecordSpecificationRequest added in v1.0.0

type MsgWriteRecordSpecificationRequest struct {
	// specification is the RecordSpecification you want added or updated.
	Specification RecordSpecification `protobuf:"bytes,1,opt,name=specification,proto3" json:"specification"`
	// signers is the list of address of those signing this request.
	Signers []string `protobuf:"bytes,2,rep,name=signers,proto3" json:"signers,omitempty"`
	// contract_spec_uuid is an optional contract specification uuid string, e.g. "def6bc0a-c9dd-4874-948f-5206e6060a84"
	// If provided, it will be combined with the record specification name to generate the MetadataAddress for the record
	// specification which will override the specification_id in the provided specification. If not provided (or it is an
	// empty string), nothing special happens.
	// If there is a value in specification.specification_id that is different from the one created from this uuid and
	// specification.name, an error is returned.
	ContractSpecUuid string `protobuf:"bytes,3,opt,name=contract_spec_uuid,json=contractSpecUuid,proto3" json:"contract_spec_uuid,omitempty"`
}

MsgWriteRecordSpecificationRequest is the request type for the Msg/WriteRecordSpecification RPC method.

func NewMsgWriteRecordSpecificationRequest added in v1.0.0

func NewMsgWriteRecordSpecificationRequest(recordSpecification RecordSpecification, signers []string) *MsgWriteRecordSpecificationRequest

NewMsgWriteRecordSpecificationRequest creates a new msg instance

func (*MsgWriteRecordSpecificationRequest) ConvertOptionalFields added in v1.0.0

func (msg *MsgWriteRecordSpecificationRequest) ConvertOptionalFields() error

ConvertOptionalFields will look at the ContractSpecUuid field in the message. If present, it will be converted to a MetadataAddress and set in the Specification appropriately. Once used, it will be emptied so that calling this again has no effect.

func (*MsgWriteRecordSpecificationRequest) Descriptor added in v1.0.0

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

func (MsgWriteRecordSpecificationRequest) GetSignerStrs added in v1.15.0

func (msg MsgWriteRecordSpecificationRequest) GetSignerStrs() []string

GetSignerStrs returns the bech32 address(es) that signed. Implements MetadataMsg interface.

func (*MsgWriteRecordSpecificationRequest) Marshal added in v1.0.0

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

func (*MsgWriteRecordSpecificationRequest) MarshalTo added in v1.0.0

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

func (*MsgWriteRecordSpecificationRequest) MarshalToSizedBuffer added in v1.0.0

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

func (*MsgWriteRecordSpecificationRequest) ProtoMessage added in v1.0.0

func (*MsgWriteRecordSpecificationRequest) ProtoMessage()

func (*MsgWriteRecordSpecificationRequest) Reset added in v1.0.0

func (*MsgWriteRecordSpecificationRequest) Size added in v1.0.0

func (*MsgWriteRecordSpecificationRequest) String added in v1.0.0

func (*MsgWriteRecordSpecificationRequest) Unmarshal added in v1.0.0

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

func (MsgWriteRecordSpecificationRequest) ValidateBasic added in v1.0.0

func (msg MsgWriteRecordSpecificationRequest) ValidateBasic() error

ValidateBasic performs as much validation as possible without outside info. Implements sdk.Msg interface.

func (*MsgWriteRecordSpecificationRequest) XXX_DiscardUnknown added in v1.0.0

func (m *MsgWriteRecordSpecificationRequest) XXX_DiscardUnknown()

func (*MsgWriteRecordSpecificationRequest) XXX_Marshal added in v1.0.0

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

func (*MsgWriteRecordSpecificationRequest) XXX_Merge added in v1.0.0

func (*MsgWriteRecordSpecificationRequest) XXX_Size added in v1.0.0

func (*MsgWriteRecordSpecificationRequest) XXX_Unmarshal added in v1.0.0

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

type MsgWriteRecordSpecificationResponse added in v1.0.0

type MsgWriteRecordSpecificationResponse struct {
	// record_spec_id_info contains information about the id/address of the record specification that was added or
	// updated.
	RecordSpecIdInfo *RecordSpecIdInfo `protobuf:"bytes,1,opt,name=record_spec_id_info,json=recordSpecIdInfo,proto3" json:"record_spec_id_info,omitempty"`
}

MsgWriteRecordSpecificationResponse is the response type for the Msg/WriteRecordSpecification RPC method.

func NewMsgWriteRecordSpecificationResponse added in v1.3.0

func NewMsgWriteRecordSpecificationResponse(recordSpecID MetadataAddress) *MsgWriteRecordSpecificationResponse

func (*MsgWriteRecordSpecificationResponse) Descriptor added in v1.0.0

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

func (*MsgWriteRecordSpecificationResponse) GetRecordSpecIdInfo added in v1.0.0

func (m *MsgWriteRecordSpecificationResponse) GetRecordSpecIdInfo() *RecordSpecIdInfo

func (*MsgWriteRecordSpecificationResponse) Marshal added in v1.0.0

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

func (*MsgWriteRecordSpecificationResponse) MarshalTo added in v1.0.0

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

func (*MsgWriteRecordSpecificationResponse) MarshalToSizedBuffer added in v1.0.0

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

func (*MsgWriteRecordSpecificationResponse) ProtoMessage added in v1.0.0

func (*MsgWriteRecordSpecificationResponse) ProtoMessage()

func (*MsgWriteRecordSpecificationResponse) Reset added in v1.0.0

func (*MsgWriteRecordSpecificationResponse) Size added in v1.0.0

func (*MsgWriteRecordSpecificationResponse) String added in v1.0.0

func (*MsgWriteRecordSpecificationResponse) Unmarshal added in v1.0.0

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

func (*MsgWriteRecordSpecificationResponse) XXX_DiscardUnknown added in v1.0.0

func (m *MsgWriteRecordSpecificationResponse) XXX_DiscardUnknown()

func (*MsgWriteRecordSpecificationResponse) XXX_Marshal added in v1.0.0

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

func (*MsgWriteRecordSpecificationResponse) XXX_Merge added in v1.0.0

func (*MsgWriteRecordSpecificationResponse) XXX_Size added in v1.0.0

func (*MsgWriteRecordSpecificationResponse) XXX_Unmarshal added in v1.0.0

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

type MsgWriteScopeRequest added in v1.0.0

type MsgWriteScopeRequest struct {
	// scope is the Scope you want added or updated.
	Scope Scope `protobuf:"bytes,1,opt,name=scope,proto3" json:"scope"`
	// signers is the list of address of those signing this request.
	Signers []string `protobuf:"bytes,2,rep,name=signers,proto3" json:"signers,omitempty"`
	// scope_uuid is an optional uuid string, e.g. "91978ba2-5f35-459a-86a7-feca1b0512e0"
	// If provided, it will be used to generate the MetadataAddress for the scope which will override the scope_id in the
	// provided scope. If not provided (or it is an empty string), nothing special happens.
	// If there is a value in scope.scope_id that is different from the one created from this uuid, an error is returned.
	ScopeUuid string `protobuf:"bytes,3,opt,name=scope_uuid,json=scopeUuid,proto3" json:"scope_uuid,omitempty"`
	// spec_uuid is an optional scope specification uuid string, e.g. "dc83ea70-eacd-40fe-9adf-1cf6148bf8a2"
	// If provided, it will be used to generate the MetadataAddress for the scope specification which will override the
	// specification_id in the provided scope. If not provided (or it is an empty string), nothing special happens.
	// If there is a value in scope.specification_id that is different from the one created from this uuid, an error is
	// returned.
	SpecUuid string `protobuf:"bytes,4,opt,name=spec_uuid,json=specUuid,proto3" json:"spec_uuid,omitempty"`
	// usd_mills value of scope in usd mills (1234 = $1.234) used for net asset value
	UsdMills uint64 `protobuf:"varint,5,opt,name=usd_mills,json=usdMills,proto3" json:"usd_mills,omitempty"`
}

MsgWriteScopeRequest is the request type for the Msg/WriteScope RPC method.

func NewMsgWriteScopeRequest added in v1.0.0

func NewMsgWriteScopeRequest(scope Scope, signers []string, usdMills uint64) *MsgWriteScopeRequest

NewMsgWriteScopeRequest creates a new msg instance

func (*MsgWriteScopeRequest) ConvertOptionalFields added in v1.0.0

func (msg *MsgWriteScopeRequest) ConvertOptionalFields() error

ConvertOptionalFields will look at the ScopeUuid and SpecUuid fields in the message. For each, if present, it will be converted to a MetadataAddress and set in the Scope appropriately. Once used, those uuid fields will be set to empty strings so that calling this again has no effect.

func (*MsgWriteScopeRequest) Descriptor added in v1.0.0

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

func (MsgWriteScopeRequest) GetSignerStrs added in v1.15.0

func (msg MsgWriteScopeRequest) GetSignerStrs() []string

GetSignerStrs returns the bech32 address(es) that signed. Implements MetadataMsg interface.

func (*MsgWriteScopeRequest) Marshal added in v1.0.0

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

func (*MsgWriteScopeRequest) MarshalTo added in v1.0.0

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

func (*MsgWriteScopeRequest) MarshalToSizedBuffer added in v1.0.0

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

func (*MsgWriteScopeRequest) ProtoMessage added in v1.0.0

func (*MsgWriteScopeRequest) ProtoMessage()

func (*MsgWriteScopeRequest) Reset added in v1.0.0

func (m *MsgWriteScopeRequest) Reset()

func (*MsgWriteScopeRequest) Size added in v1.0.0

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

func (*MsgWriteScopeRequest) String added in v1.0.0

func (m *MsgWriteScopeRequest) String() string

func (*MsgWriteScopeRequest) Unmarshal added in v1.0.0

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

func (MsgWriteScopeRequest) ValidateBasic added in v1.0.0

func (msg MsgWriteScopeRequest) ValidateBasic() error

ValidateBasic performs as much validation as possible without outside info. Implements sdk.Msg interface.

func (*MsgWriteScopeRequest) XXX_DiscardUnknown added in v1.0.0

func (m *MsgWriteScopeRequest) XXX_DiscardUnknown()

func (*MsgWriteScopeRequest) XXX_Marshal added in v1.0.0

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

func (*MsgWriteScopeRequest) XXX_Merge added in v1.0.0

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

func (*MsgWriteScopeRequest) XXX_Size added in v1.0.0

func (m *MsgWriteScopeRequest) XXX_Size() int

func (*MsgWriteScopeRequest) XXX_Unmarshal added in v1.0.0

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

type MsgWriteScopeResponse added in v1.0.0

type MsgWriteScopeResponse struct {
	// scope_id_info contains information about the id/address of the scope that was added or updated.
	ScopeIdInfo *ScopeIdInfo `protobuf:"bytes,1,opt,name=scope_id_info,json=scopeIdInfo,proto3" json:"scope_id_info,omitempty"`
}

MsgWriteScopeResponse is the response type for the Msg/WriteScope RPC method.

func NewMsgWriteScopeResponse added in v1.3.0

func NewMsgWriteScopeResponse(scopeID MetadataAddress) *MsgWriteScopeResponse

func (*MsgWriteScopeResponse) Descriptor added in v1.0.0

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

func (*MsgWriteScopeResponse) GetScopeIdInfo added in v1.0.0

func (m *MsgWriteScopeResponse) GetScopeIdInfo() *ScopeIdInfo

func (*MsgWriteScopeResponse) Marshal added in v1.0.0

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

func (*MsgWriteScopeResponse) MarshalTo added in v1.0.0

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

func (*MsgWriteScopeResponse) MarshalToSizedBuffer added in v1.0.0

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

func (*MsgWriteScopeResponse) ProtoMessage added in v1.0.0

func (*MsgWriteScopeResponse) ProtoMessage()

func (*MsgWriteScopeResponse) Reset added in v1.0.0

func (m *MsgWriteScopeResponse) Reset()

func (*MsgWriteScopeResponse) Size added in v1.0.0

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

func (*MsgWriteScopeResponse) String added in v1.0.0

func (m *MsgWriteScopeResponse) String() string

func (*MsgWriteScopeResponse) Unmarshal added in v1.0.0

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

func (*MsgWriteScopeResponse) XXX_DiscardUnknown added in v1.0.0

func (m *MsgWriteScopeResponse) XXX_DiscardUnknown()

func (*MsgWriteScopeResponse) XXX_Marshal added in v1.0.0

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

func (*MsgWriteScopeResponse) XXX_Merge added in v1.0.0

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

func (*MsgWriteScopeResponse) XXX_Size added in v1.0.0

func (m *MsgWriteScopeResponse) XXX_Size() int

func (*MsgWriteScopeResponse) XXX_Unmarshal added in v1.0.0

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

type MsgWriteScopeSpecificationRequest added in v1.0.0

type MsgWriteScopeSpecificationRequest struct {
	// specification is the ScopeSpecification you want added or updated.
	Specification ScopeSpecification `protobuf:"bytes,1,opt,name=specification,proto3" json:"specification"`
	// signers is the list of address of those signing this request.
	Signers []string `protobuf:"bytes,2,rep,name=signers,proto3" json:"signers,omitempty"`
	// spec_uuid is an optional scope specification uuid string, e.g. "dc83ea70-eacd-40fe-9adf-1cf6148bf8a2"
	// If provided, it will be used to generate the MetadataAddress for the scope specification which will override the
	// specification_id in the provided specification. If not provided (or it is an empty string), nothing special
	// happens.
	// If there is a value in specification.specification_id that is different from the one created from this uuid, an
	// error is returned.
	SpecUuid string `protobuf:"bytes,3,opt,name=spec_uuid,json=specUuid,proto3" json:"spec_uuid,omitempty"`
}

MsgWriteScopeSpecificationRequest is the request type for the Msg/WriteScopeSpecification RPC method.

func NewMsgWriteScopeSpecificationRequest added in v1.0.0

func NewMsgWriteScopeSpecificationRequest(specification ScopeSpecification, signers []string) *MsgWriteScopeSpecificationRequest

NewMsgWriteScopeSpecificationRequest creates a new msg instance

func (*MsgWriteScopeSpecificationRequest) ConvertOptionalFields added in v1.0.0

func (msg *MsgWriteScopeSpecificationRequest) ConvertOptionalFields() error

ConvertOptionalFields will look at the SpecUuid field in the message. If present, it will be converted to a MetadataAddress and set in the Specification appropriately. Once used, it will be emptied so that calling this again has no effect.

func (*MsgWriteScopeSpecificationRequest) Descriptor added in v1.0.0

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

func (MsgWriteScopeSpecificationRequest) GetSignerStrs added in v1.15.0

func (msg MsgWriteScopeSpecificationRequest) GetSignerStrs() []string

GetSignerStrs returns the bech32 address(es) that signed. Implements MetadataMsg interface.

func (*MsgWriteScopeSpecificationRequest) Marshal added in v1.0.0

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

func (*MsgWriteScopeSpecificationRequest) MarshalTo added in v1.0.0

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

func (*MsgWriteScopeSpecificationRequest) MarshalToSizedBuffer added in v1.0.0

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

func (*MsgWriteScopeSpecificationRequest) ProtoMessage added in v1.0.0

func (*MsgWriteScopeSpecificationRequest) ProtoMessage()

func (*MsgWriteScopeSpecificationRequest) Reset added in v1.0.0

func (*MsgWriteScopeSpecificationRequest) Size added in v1.0.0

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

func (*MsgWriteScopeSpecificationRequest) String added in v1.0.0

func (*MsgWriteScopeSpecificationRequest) Unmarshal added in v1.0.0

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

func (MsgWriteScopeSpecificationRequest) ValidateBasic added in v1.0.0

func (msg MsgWriteScopeSpecificationRequest) ValidateBasic() error

ValidateBasic performs as much validation as possible without outside info. Implements sdk.Msg interface.

func (*MsgWriteScopeSpecificationRequest) XXX_DiscardUnknown added in v1.0.0

func (m *MsgWriteScopeSpecificationRequest) XXX_DiscardUnknown()

func (*MsgWriteScopeSpecificationRequest) XXX_Marshal added in v1.0.0

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

func (*MsgWriteScopeSpecificationRequest) XXX_Merge added in v1.0.0

func (*MsgWriteScopeSpecificationRequest) XXX_Size added in v1.0.0

func (m *MsgWriteScopeSpecificationRequest) XXX_Size() int

func (*MsgWriteScopeSpecificationRequest) XXX_Unmarshal added in v1.0.0

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

type MsgWriteScopeSpecificationResponse added in v1.0.0

type MsgWriteScopeSpecificationResponse struct {
	// scope_spec_id_info contains information about the id/address of the scope specification that was added or updated.
	ScopeSpecIdInfo *ScopeSpecIdInfo `protobuf:"bytes,1,opt,name=scope_spec_id_info,json=scopeSpecIdInfo,proto3" json:"scope_spec_id_info,omitempty"`
}

MsgWriteScopeSpecificationResponse is the response type for the Msg/WriteScopeSpecification RPC method.

func NewMsgWriteScopeSpecificationResponse added in v1.3.0

func NewMsgWriteScopeSpecificationResponse(scopeSpecID MetadataAddress) *MsgWriteScopeSpecificationResponse

func (*MsgWriteScopeSpecificationResponse) Descriptor added in v1.0.0

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

func (*MsgWriteScopeSpecificationResponse) GetScopeSpecIdInfo added in v1.0.0

func (m *MsgWriteScopeSpecificationResponse) GetScopeSpecIdInfo() *ScopeSpecIdInfo

func (*MsgWriteScopeSpecificationResponse) Marshal added in v1.0.0

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

func (*MsgWriteScopeSpecificationResponse) MarshalTo added in v1.0.0

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

func (*MsgWriteScopeSpecificationResponse) MarshalToSizedBuffer added in v1.0.0

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

func (*MsgWriteScopeSpecificationResponse) ProtoMessage added in v1.0.0

func (*MsgWriteScopeSpecificationResponse) ProtoMessage()

func (*MsgWriteScopeSpecificationResponse) Reset added in v1.0.0

func (*MsgWriteScopeSpecificationResponse) Size added in v1.0.0

func (*MsgWriteScopeSpecificationResponse) String added in v1.0.0

func (*MsgWriteScopeSpecificationResponse) Unmarshal added in v1.0.0

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

func (*MsgWriteScopeSpecificationResponse) XXX_DiscardUnknown added in v1.0.0

func (m *MsgWriteScopeSpecificationResponse) XXX_DiscardUnknown()

func (*MsgWriteScopeSpecificationResponse) XXX_Marshal added in v1.0.0

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

func (*MsgWriteScopeSpecificationResponse) XXX_Merge added in v1.0.0

func (*MsgWriteScopeSpecificationResponse) XXX_Size added in v1.0.0

func (*MsgWriteScopeSpecificationResponse) XXX_Unmarshal added in v1.0.0

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

type MsgWriteSessionRequest added in v1.0.0

type MsgWriteSessionRequest struct {
	// session is the Session you want added or updated.
	Session Session `protobuf:"bytes,1,opt,name=session,proto3" json:"session"`
	// signers is the list of address of those signing this request.
	Signers []string `protobuf:"bytes,2,rep,name=signers,proto3" json:"signers,omitempty"`
	// SessionIDComponents is an optional (alternate) way of defining what the session_id should be in the provided
	// session. If provided, it must have both a scope and session_uuid. Those components will be used to create the
	// MetadataAddress for the session which will override the session_id in the provided session. If not provided (or
	// all empty), nothing special happens.
	// If there is a value in session.session_id that is different from the one created from these components, an error is
	// returned.
	SessionIdComponents *SessionIdComponents `protobuf:"bytes,3,opt,name=session_id_components,json=sessionIdComponents,proto3" json:"session_id_components,omitempty"`
	// spec_uuid is an optional contract specification uuid string, e.g. "def6bc0a-c9dd-4874-948f-5206e6060a84"
	// If provided, it will be used to generate the MetadataAddress for the contract specification which will override the
	// specification_id in the provided session. If not provided (or it is an empty string), nothing special happens.
	// If there is a value in session.specification_id that is different from the one created from this uuid, an error is
	// returned.
	SpecUuid string `protobuf:"bytes,4,opt,name=spec_uuid,json=specUuid,proto3" json:"spec_uuid,omitempty"`
}

MsgWriteSessionRequest is the request type for the Msg/WriteSession RPC method.

func NewMsgWriteSessionRequest added in v1.0.0

func NewMsgWriteSessionRequest(session Session, signers []string) *MsgWriteSessionRequest

NewMsgWriteSessionRequest creates a new msg instance

func (*MsgWriteSessionRequest) ConvertOptionalFields added in v1.0.0

func (msg *MsgWriteSessionRequest) ConvertOptionalFields() error

ConvertOptionalFields will look at the SessionIdComponents and SpecUuid fields in the message. For each, if present, it will be converted to a MetadataAddress and set in the Session appropriately. Once used, those fields will be emptied so that calling this again has no effect.

func (*MsgWriteSessionRequest) Descriptor added in v1.0.0

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

func (MsgWriteSessionRequest) GetSignerStrs added in v1.15.0

func (msg MsgWriteSessionRequest) GetSignerStrs() []string

GetSignerStrs returns the bech32 address(es) that signed. Implements MetadataMsg interface.

func (*MsgWriteSessionRequest) Marshal added in v1.0.0

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

func (*MsgWriteSessionRequest) MarshalTo added in v1.0.0

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

func (*MsgWriteSessionRequest) MarshalToSizedBuffer added in v1.0.0

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

func (*MsgWriteSessionRequest) ProtoMessage added in v1.0.0

func (*MsgWriteSessionRequest) ProtoMessage()

func (*MsgWriteSessionRequest) Reset added in v1.0.0

func (m *MsgWriteSessionRequest) Reset()

func (*MsgWriteSessionRequest) Size added in v1.0.0

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

func (*MsgWriteSessionRequest) String added in v1.0.0

func (m *MsgWriteSessionRequest) String() string

func (*MsgWriteSessionRequest) Unmarshal added in v1.0.0

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

func (MsgWriteSessionRequest) ValidateBasic added in v1.0.0

func (msg MsgWriteSessionRequest) ValidateBasic() error

ValidateBasic performs as much validation as possible without outside info. Implements sdk.Msg interface.

func (*MsgWriteSessionRequest) XXX_DiscardUnknown added in v1.0.0

func (m *MsgWriteSessionRequest) XXX_DiscardUnknown()

func (*MsgWriteSessionRequest) XXX_Marshal added in v1.0.0

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

func (*MsgWriteSessionRequest) XXX_Merge added in v1.0.0

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

func (*MsgWriteSessionRequest) XXX_Size added in v1.0.0

func (m *MsgWriteSessionRequest) XXX_Size() int

func (*MsgWriteSessionRequest) XXX_Unmarshal added in v1.0.0

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

type MsgWriteSessionResponse added in v1.0.0

type MsgWriteSessionResponse struct {
	// session_id_info contains information about the id/address of the session that was added or updated.
	SessionIdInfo *SessionIdInfo `protobuf:"bytes,1,opt,name=session_id_info,json=sessionIdInfo,proto3" json:"session_id_info,omitempty"`
}

MsgWriteSessionResponse is the response type for the Msg/WriteSession RPC method.

func NewMsgWriteSessionResponse added in v1.3.0

func NewMsgWriteSessionResponse(sessionID MetadataAddress) *MsgWriteSessionResponse

func (*MsgWriteSessionResponse) Descriptor added in v1.0.0

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

func (*MsgWriteSessionResponse) GetSessionIdInfo added in v1.0.0

func (m *MsgWriteSessionResponse) GetSessionIdInfo() *SessionIdInfo

func (*MsgWriteSessionResponse) Marshal added in v1.0.0

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

func (*MsgWriteSessionResponse) MarshalTo added in v1.0.0

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

func (*MsgWriteSessionResponse) MarshalToSizedBuffer added in v1.0.0

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

func (*MsgWriteSessionResponse) ProtoMessage added in v1.0.0

func (*MsgWriteSessionResponse) ProtoMessage()

func (*MsgWriteSessionResponse) Reset added in v1.0.0

func (m *MsgWriteSessionResponse) Reset()

func (*MsgWriteSessionResponse) Size added in v1.0.0

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

func (*MsgWriteSessionResponse) String added in v1.0.0

func (m *MsgWriteSessionResponse) String() string

func (*MsgWriteSessionResponse) Unmarshal added in v1.0.0

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

func (*MsgWriteSessionResponse) XXX_DiscardUnknown added in v1.0.0

func (m *MsgWriteSessionResponse) XXX_DiscardUnknown()

func (*MsgWriteSessionResponse) XXX_Marshal added in v1.0.0

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

func (*MsgWriteSessionResponse) XXX_Merge added in v1.0.0

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

func (*MsgWriteSessionResponse) XXX_Size added in v1.0.0

func (m *MsgWriteSessionResponse) XXX_Size() int

func (*MsgWriteSessionResponse) XXX_Unmarshal added in v1.0.0

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

type NetAssetValue added in v1.18.0

type NetAssetValue struct {
	// price is the complete value of the asset's volume
	Price types.Coin `protobuf:"bytes,1,opt,name=price,proto3" json:"price"`
	// updated_block_height is the block height of last update
	UpdatedBlockHeight uint64 `protobuf:"varint,2,opt,name=updated_block_height,json=updatedBlockHeight,proto3" json:"updated_block_height,omitempty"`
}

NetAssetValue defines a scope's net asset value

func NewNetAssetValue added in v1.18.0

func NewNetAssetValue(price sdk.Coin) NetAssetValue

NewNetAssetValue returns a new instance of NetAssetValue

func (*NetAssetValue) Descriptor added in v1.18.0

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

func (*NetAssetValue) GetPrice added in v1.18.0

func (m *NetAssetValue) GetPrice() types.Coin

func (*NetAssetValue) GetUpdatedBlockHeight added in v1.18.0

func (m *NetAssetValue) GetUpdatedBlockHeight() uint64

func (*NetAssetValue) Marshal added in v1.18.0

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

func (*NetAssetValue) MarshalTo added in v1.18.0

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

func (*NetAssetValue) MarshalToSizedBuffer added in v1.18.0

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

func (*NetAssetValue) ProtoMessage added in v1.18.0

func (*NetAssetValue) ProtoMessage()

func (*NetAssetValue) Reset added in v1.18.0

func (m *NetAssetValue) Reset()

func (*NetAssetValue) Size added in v1.18.0

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

func (*NetAssetValue) String added in v1.18.0

func (m *NetAssetValue) String() string

func (*NetAssetValue) Unmarshal added in v1.18.0

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

func (*NetAssetValue) Validate added in v1.18.0

func (mnav *NetAssetValue) Validate() error

Validate returns error if NetAssetValue is not in a valid state

func (*NetAssetValue) XXX_DiscardUnknown added in v1.18.0

func (m *NetAssetValue) XXX_DiscardUnknown()

func (*NetAssetValue) XXX_Marshal added in v1.18.0

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

func (*NetAssetValue) XXX_Merge added in v1.18.0

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

func (*NetAssetValue) XXX_Size added in v1.18.0

func (m *NetAssetValue) XXX_Size() int

func (*NetAssetValue) XXX_Unmarshal added in v1.18.0

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

type OSAllLocatorsRequest added in v0.3.0

type OSAllLocatorsRequest struct {
	// include_request is a flag for whether to include this request in your result.
	IncludeRequest bool `protobuf:"varint,98,opt,name=include_request,json=includeRequest,proto3" json:"include_request,omitempty"`
	// pagination defines optional pagination parameters for the request.
	Pagination *query.PageRequest `protobuf:"bytes,99,opt,name=pagination,proto3" json:"pagination,omitempty"`
}

OSAllLocatorsRequest is the request type for the Query/OSAllLocators RPC method.

func (*OSAllLocatorsRequest) Descriptor added in v0.3.0

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

func (*OSAllLocatorsRequest) GetIncludeRequest added in v1.17.0

func (m *OSAllLocatorsRequest) GetIncludeRequest() bool

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 {
	Locators []ObjectStoreLocator `protobuf:"bytes,1,rep,name=locators,proto3" json:"locators"`
	// request is a copy of the request that generated these results.
	Request *OSAllLocatorsRequest `protobuf:"bytes,98,opt,name=request,proto3" json:"request,omitempty"`
	// pagination provides the pagination information of this response.
	Pagination *query.PageResponse `protobuf:"bytes,99,opt,name=pagination,proto3" json:"pagination,omitempty"`
}

OSAllLocatorsResponse is the response type for the Query/OSAllLocators RPC method.

func (*OSAllLocatorsResponse) Descriptor added in v0.3.0

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

func (*OSAllLocatorsResponse) GetLocators added in v1.0.0

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

func (*OSAllLocatorsResponse) GetPagination added in v0.3.0

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

func (*OSAllLocatorsResponse) GetRequest added in v1.0.0

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

type OSLocatorParams struct {
	MaxUriLength uint32 `protobuf:"varint,1,opt,name=max_uri_length,json=maxUriLength,proto3,customtype=uint32" json:"max_uri_length"`
}

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. TODO: remove with the umber (v1.19.x) handlers.

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 {
	// include_request is a flag for whether to include this request in your result.
	IncludeRequest bool `protobuf:"varint,98,opt,name=include_request,json=includeRequest,proto3" json:"include_request,omitempty"`
}

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

func (*OSLocatorParamsRequest) Descriptor added in v0.3.0

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

func (*OSLocatorParamsRequest) GetIncludeRequest added in v1.17.0

func (m *OSLocatorParamsRequest) GetIncludeRequest() bool

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"`
	// request is a copy of the request that generated these results.
	Request *OSLocatorParamsRequest `protobuf:"bytes,98,opt,name=request,proto3" json:"request,omitempty"`
}

OSLocatorParamsResponse is the response type for the Query/OSLocatorParams 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) GetRequest added in v1.0.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"`
	// include_request is a flag for whether to include this request in your result.
	IncludeRequest bool `protobuf:"varint,98,opt,name=include_request,json=includeRequest,proto3" json:"include_request,omitempty"`
}

OSLocatorRequest is the request type for the Query/OSLocator RPC method.

func (*OSLocatorRequest) Descriptor added in v0.3.0

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

func (*OSLocatorRequest) GetIncludeRequest added in v1.17.0

func (m *OSLocatorRequest) GetIncludeRequest() bool

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"`
	// request is a copy of the request that generated these results.
	Request *OSLocatorRequest `protobuf:"bytes,98,opt,name=request,proto3" json:"request,omitempty"`
}

OSLocatorResponse is the response type for the Query/OSLocator RPC method.

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) GetRequest added in v1.0.0

func (m *OSLocatorResponse) GetRequest() *OSLocatorRequest

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 OSLocatorsByScopeRequest added in v1.0.0

type OSLocatorsByScopeRequest struct {
	ScopeId string `protobuf:"bytes,1,opt,name=scope_id,json=scopeId,proto3" json:"scope_id,omitempty"`
	// include_request is a flag for whether to include this request in your result.
	IncludeRequest bool `protobuf:"varint,98,opt,name=include_request,json=includeRequest,proto3" json:"include_request,omitempty"`
}

OSLocatorsByScopeRequest is the request type for the Query/OSLocatorsByScope RPC method.

func (*OSLocatorsByScopeRequest) Descriptor added in v1.0.0

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

func (*OSLocatorsByScopeRequest) GetIncludeRequest added in v1.17.0

func (m *OSLocatorsByScopeRequest) GetIncludeRequest() bool

func (*OSLocatorsByScopeRequest) GetScopeId added in v1.0.0

func (m *OSLocatorsByScopeRequest) GetScopeId() string

func (*OSLocatorsByScopeRequest) Marshal added in v1.0.0

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

func (*OSLocatorsByScopeRequest) MarshalTo added in v1.0.0

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

func (*OSLocatorsByScopeRequest) MarshalToSizedBuffer added in v1.0.0

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

func (*OSLocatorsByScopeRequest) ProtoMessage added in v1.0.0

func (*OSLocatorsByScopeRequest) ProtoMessage()

func (*OSLocatorsByScopeRequest) Reset added in v1.0.0

func (m *OSLocatorsByScopeRequest) Reset()

func (*OSLocatorsByScopeRequest) Size added in v1.0.0

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

func (*OSLocatorsByScopeRequest) String added in v1.0.0

func (m *OSLocatorsByScopeRequest) String() string

func (*OSLocatorsByScopeRequest) Unmarshal added in v1.0.0

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

func (*OSLocatorsByScopeRequest) XXX_DiscardUnknown added in v1.0.0

func (m *OSLocatorsByScopeRequest) XXX_DiscardUnknown()

func (*OSLocatorsByScopeRequest) XXX_Marshal added in v1.0.0

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

func (*OSLocatorsByScopeRequest) XXX_Merge added in v1.0.0

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

func (*OSLocatorsByScopeRequest) XXX_Size added in v1.0.0

func (m *OSLocatorsByScopeRequest) XXX_Size() int

func (*OSLocatorsByScopeRequest) XXX_Unmarshal added in v1.0.0

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

type OSLocatorsByScopeResponse added in v1.0.0

type OSLocatorsByScopeResponse struct {
	Locators []ObjectStoreLocator `protobuf:"bytes,1,rep,name=locators,proto3" json:"locators"`
	// request is a copy of the request that generated these results.
	Request *OSLocatorsByScopeRequest `protobuf:"bytes,98,opt,name=request,proto3" json:"request,omitempty"`
}

OSLocatorsByScopeResponse is the response type for the Query/OSLocatorsByScope RPC method.

func (*OSLocatorsByScopeResponse) Descriptor added in v1.0.0

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

func (*OSLocatorsByScopeResponse) GetLocators added in v1.0.0

func (m *OSLocatorsByScopeResponse) GetLocators() []ObjectStoreLocator

func (*OSLocatorsByScopeResponse) GetRequest added in v1.0.0

func (*OSLocatorsByScopeResponse) Marshal added in v1.0.0

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

func (*OSLocatorsByScopeResponse) MarshalTo added in v1.0.0

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

func (*OSLocatorsByScopeResponse) MarshalToSizedBuffer added in v1.0.0

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

func (*OSLocatorsByScopeResponse) ProtoMessage added in v1.0.0

func (*OSLocatorsByScopeResponse) ProtoMessage()

func (*OSLocatorsByScopeResponse) Reset added in v1.0.0

func (m *OSLocatorsByScopeResponse) Reset()

func (*OSLocatorsByScopeResponse) Size added in v1.0.0

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

func (*OSLocatorsByScopeResponse) String added in v1.0.0

func (m *OSLocatorsByScopeResponse) String() string

func (*OSLocatorsByScopeResponse) Unmarshal added in v1.0.0

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

func (*OSLocatorsByScopeResponse) XXX_DiscardUnknown added in v1.0.0

func (m *OSLocatorsByScopeResponse) XXX_DiscardUnknown()

func (*OSLocatorsByScopeResponse) XXX_Marshal added in v1.0.0

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

func (*OSLocatorsByScopeResponse) XXX_Merge added in v1.0.0

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

func (*OSLocatorsByScopeResponse) XXX_Size added in v1.0.0

func (m *OSLocatorsByScopeResponse) XXX_Size() int

func (*OSLocatorsByScopeResponse) XXX_Unmarshal added in v1.0.0

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

type OSLocatorsByURIRequest added in v1.0.0

type OSLocatorsByURIRequest struct {
	Uri string `protobuf:"bytes,1,opt,name=uri,proto3" json:"uri,omitempty"`
	// include_request is a flag for whether to include this request in your result.
	IncludeRequest bool `protobuf:"varint,98,opt,name=include_request,json=includeRequest,proto3" json:"include_request,omitempty"`
	// pagination defines optional pagination parameters for the request.
	Pagination *query.PageRequest `protobuf:"bytes,99,opt,name=pagination,proto3" json:"pagination,omitempty"`
}

OSLocatorsByURIRequest is the request type for the Query/OSLocatorsByURI RPC method.

func (*OSLocatorsByURIRequest) Descriptor added in v1.0.0

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

func (*OSLocatorsByURIRequest) GetIncludeRequest added in v1.17.0

func (m *OSLocatorsByURIRequest) GetIncludeRequest() bool

func (*OSLocatorsByURIRequest) GetPagination added in v1.0.0

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

func (*OSLocatorsByURIRequest) GetUri added in v1.0.0

func (m *OSLocatorsByURIRequest) GetUri() string

func (*OSLocatorsByURIRequest) Marshal added in v1.0.0

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

func (*OSLocatorsByURIRequest) MarshalTo added in v1.0.0

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

func (*OSLocatorsByURIRequest) MarshalToSizedBuffer added in v1.0.0

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

func (*OSLocatorsByURIRequest) ProtoMessage added in v1.0.0

func (*OSLocatorsByURIRequest) ProtoMessage()

func (*OSLocatorsByURIRequest) Reset added in v1.0.0

func (m *OSLocatorsByURIRequest) Reset()

func (*OSLocatorsByURIRequest) Size added in v1.0.0

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

func (*OSLocatorsByURIRequest) String added in v1.0.0

func (m *OSLocatorsByURIRequest) String() string

func (*OSLocatorsByURIRequest) Unmarshal added in v1.0.0

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

func (*OSLocatorsByURIRequest) XXX_DiscardUnknown added in v1.0.0

func (m *OSLocatorsByURIRequest) XXX_DiscardUnknown()

func (*OSLocatorsByURIRequest) XXX_Marshal added in v1.0.0

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

func (*OSLocatorsByURIRequest) XXX_Merge added in v1.0.0

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

func (*OSLocatorsByURIRequest) XXX_Size added in v1.0.0

func (m *OSLocatorsByURIRequest) XXX_Size() int

func (*OSLocatorsByURIRequest) XXX_Unmarshal added in v1.0.0

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

type OSLocatorsByURIResponse added in v1.0.0

type OSLocatorsByURIResponse struct {
	Locators []ObjectStoreLocator `protobuf:"bytes,1,rep,name=locators,proto3" json:"locators"`
	// request is a copy of the request that generated these results.
	Request *OSLocatorsByURIRequest `protobuf:"bytes,98,opt,name=request,proto3" json:"request,omitempty"`
	// pagination provides the pagination information of this response.
	Pagination *query.PageResponse `protobuf:"bytes,99,opt,name=pagination,proto3" json:"pagination,omitempty"`
}

OSLocatorsByURIResponse is the response type for the Query/OSLocatorsByURI RPC method.

func (*OSLocatorsByURIResponse) Descriptor added in v1.0.0

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

func (*OSLocatorsByURIResponse) GetLocators added in v1.0.0

func (m *OSLocatorsByURIResponse) GetLocators() []ObjectStoreLocator

func (*OSLocatorsByURIResponse) GetPagination added in v1.0.0

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

func (*OSLocatorsByURIResponse) GetRequest added in v1.0.0

func (*OSLocatorsByURIResponse) Marshal added in v1.0.0

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

func (*OSLocatorsByURIResponse) MarshalTo added in v1.0.0

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

func (*OSLocatorsByURIResponse) MarshalToSizedBuffer added in v1.0.0

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

func (*OSLocatorsByURIResponse) ProtoMessage added in v1.0.0

func (*OSLocatorsByURIResponse) ProtoMessage()

func (*OSLocatorsByURIResponse) Reset added in v1.0.0

func (m *OSLocatorsByURIResponse) Reset()

func (*OSLocatorsByURIResponse) Size added in v1.0.0

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

func (*OSLocatorsByURIResponse) String added in v1.0.0

func (m *OSLocatorsByURIResponse) String() string

func (*OSLocatorsByURIResponse) Unmarshal added in v1.0.0

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

func (*OSLocatorsByURIResponse) XXX_DiscardUnknown added in v1.0.0

func (m *OSLocatorsByURIResponse) XXX_DiscardUnknown()

func (*OSLocatorsByURIResponse) XXX_Marshal added in v1.0.0

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

func (*OSLocatorsByURIResponse) XXX_Merge added in v1.0.0

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

func (*OSLocatorsByURIResponse) XXX_Size added in v1.0.0

func (m *OSLocatorsByURIResponse) XXX_Size() int

func (*OSLocatorsByURIResponse) XXX_Unmarshal added in v1.0.0

func (m *OSLocatorsByURIResponse) 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"`
	// owners encryption key address
	EncryptionKey string `protobuf:"bytes,3,opt,name=encryption_key,json=encryptionKey,proto3" json:"encryption_key,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, encryptionKey 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) GetEncryptionKey added in v1.7.0

func (m *ObjectStoreLocator) GetEncryptionKey() string

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) Validate added in v1.19.0

func (r ObjectStoreLocator) Validate() 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"`
	// include_request is a flag for whether to include this request in your result.
	IncludeRequest bool `protobuf:"varint,98,opt,name=include_request,json=includeRequest,proto3" json:"include_request,omitempty"`
	// pagination defines optional pagination parameters for the request.
	Pagination *query.PageRequest `protobuf:"bytes,99,opt,name=pagination,proto3" json:"pagination,omitempty"`
}

OwnershipRequest is the request type for the Query/Ownership RPC method.

func (*OwnershipRequest) Descriptor

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

func (*OwnershipRequest) GetAddress

func (m *OwnershipRequest) GetAddress() string

func (*OwnershipRequest) GetIncludeRequest added in v1.17.0

func (m *OwnershipRequest) GetIncludeRequest() bool

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"`
	// request is a copy of the request that generated these results.
	Request *OwnershipRequest `protobuf:"bytes,98,opt,name=request,proto3" json:"request,omitempty"`
	// pagination provides the pagination information of this response.
	Pagination *query.PageResponse `protobuf:"bytes,99,opt,name=pagination,proto3" json:"pagination,omitempty"`
}

OwnershipResponse is the response type for the Query/Ownership RPC method.

func (*OwnershipResponse) Descriptor

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

func (*OwnershipResponse) GetPagination

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

func (*OwnershipResponse) GetRequest added in v1.0.0

func (m *OwnershipResponse) GetRequest() *OwnershipRequest

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 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 (m *Params) String() string

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 Partier added in v1.15.0

type Partier interface {
	GetAddress() string
	GetRole() PartyType
	GetOptional() bool
}

Partier is an interface with the getter methods of a Party.

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"`
	// whether this party's signature is optional
	Optional bool `protobuf:"varint,3,opt,name=optional,proto3" json:"optional,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) Equals added in v1.3.0

func (p Party) Equals(p2 Partier) bool

Equals returns true if this party is equal to the provided party. See also: IsSameAs for a comparison that ignores the Optional field.

func (*Party) GetAddress

func (m *Party) GetAddress() string

func (*Party) GetOptional added in v1.15.0

func (m *Party) GetOptional() bool

func (*Party) GetRole

func (m *Party) GetRole() PartyType

func (Party) IsSameAs added in v1.15.0

func (p Party) IsSameAs(p2 Partier) bool

IsSameAs returns true if this party's address and role are the same as the provided party's. See also: Equals for a more thorough comparison.

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
	// PARTY_TYPE_CONTROLLER is an entity which controls a specific asset on chain (ie enote)
	PartyType_PARTY_TYPE_CONTROLLER PartyType = 10
	// PARTY_TYPE_VALIDATOR is an entity which validates given assets on chain
	PartyType_PARTY_TYPE_VALIDATOR PartyType = 11
)

func (PartyType) EnumDescriptor

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

func (PartyType) IsValid added in v1.3.0

func (x PartyType) IsValid() bool

func (PartyType) SimpleString added in v1.15.0

func (x PartyType) SimpleString() string

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 searches for a scope.
	//
	// The scope id, if provided, must either be scope uuid, e.g. 91978ba2-5f35-459a-86a7-feca1b0512e0 or a scope address,
	// e.g. scope1qzge0zaztu65tx5x5llv5xc9ztsqxlkwel. The session addr, if provided, must be a bech32 session address,
	// e.g. session1qxge0zaztu65tx5x5llv5xc9zts9sqlch3sxwn44j50jzgt8rshvqyfrjcr. The record_addr, if provided, must be a
	// bech32 record address, e.g. record1q2ge0zaztu65tx5x5llv5xc9ztsw42dq2jdvmdazuwzcaddhh8gmu3mcze3.
	//
	// * If only a scope_id is provided, that scope is returned.
	// * If only a session_addr is provided, the scope containing that session is returned.
	// * If only a record_addr is provided, the scope containing that record is returned.
	// * If more than one of scope_id, session_addr, and record_addr are provided, and they don't refer to the same scope,
	// a bad request is returned.
	//
	// Providing a session addr or record addr does not limit the sessions and records returned (if requested).
	// Those parameters are only used to find the scope.
	//
	// By default, sessions and records are not included.
	// Set include_sessions and/or include_records to true to include sessions and/or records.
	Scope(ctx context.Context, in *ScopeRequest, opts ...grpc.CallOption) (*ScopeResponse, error)
	// ScopesAll retrieves all scopes.
	ScopesAll(ctx context.Context, in *ScopesAllRequest, opts ...grpc.CallOption) (*ScopesAllResponse, error)
	// Sessions searches for sessions.
	//
	// The scope_id can either be scope uuid, e.g. 91978ba2-5f35-459a-86a7-feca1b0512e0 or a scope address, e.g.
	// scope1qzge0zaztu65tx5x5llv5xc9ztsqxlkwel. Similarly, the session_id can either be a uuid or session address, e.g.
	// session1qxge0zaztu65tx5x5llv5xc9zts9sqlch3sxwn44j50jzgt8rshvqyfrjcr. The record_addr, if provided, must be a
	// bech32 record address, e.g. record1q2ge0zaztu65tx5x5llv5xc9ztsw42dq2jdvmdazuwzcaddhh8gmu3mcze3.
	//
	// * If only a scope_id is provided, all sessions in that scope are returned.
	// * If only a session_id is provided, it must be an address, and that single session is returned.
	// * If the session_id is a uuid, then either a scope_id or record_addr must also be provided, and that single session
	// is returned.
	// * If only a record_addr is provided, the session containing that record will be returned.
	// * If a record_name is provided then either a scope_id, session_id as an address, or record_addr must also be
	// provided, and the session containing that record will be returned.
	//
	// A bad request is returned if:
	// * The session_id is a uuid and is provided without a scope_id or record_addr.
	// * A record_name is provided without any way to identify the scope (e.g. a scope_id, a session_id as an address, or
	// a record_addr).
	// * Two or more of scope_id, session_id as an address, and record_addr are provided and don't all refer to the same
	// scope.
	// * A record_addr (or scope_id and record_name) is provided with a session_id and that session does not contain such
	// a record.
	// * A record_addr and record_name are both provided, but reference different records.
	//
	// By default, the scope and records are not included.
	// Set include_scope and/or include_records to true to include the scope and/or records.
	Sessions(ctx context.Context, in *SessionsRequest, opts ...grpc.CallOption) (*SessionsResponse, error)
	// SessionsAll retrieves all sessions.
	SessionsAll(ctx context.Context, in *SessionsAllRequest, opts ...grpc.CallOption) (*SessionsAllResponse, error)
	// Records searches for records.
	//
	// The record_addr, if provided, must be a bech32 record address, e.g.
	// record1q2ge0zaztu65tx5x5llv5xc9ztsw42dq2jdvmdazuwzcaddhh8gmu3mcze3. The scope-id can either be scope uuid, e.g.
	// 91978ba2-5f35-459a-86a7-feca1b0512e0 or a scope address, e.g. scope1qzge0zaztu65tx5x5llv5xc9ztsqxlkwel. Similarly,
	// the session_id can either be a uuid or session address, e.g.
	// session1qxge0zaztu65tx5x5llv5xc9zts9sqlch3sxwn44j50jzgt8rshvqyfrjcr. The name is the name of the record you're
	// interested in.
	//
	// * If only a record_addr is provided, that single record will be returned.
	// * If only a scope_id is provided, all records in that scope will be returned.
	// * If only a session_id (or scope_id/session_id), all records in that session will be returned.
	// * If a name is provided with a scope_id and/or session_id, that single record will be returned.
	//
	// A bad request is returned if:
	// * The session_id is a uuid and no scope_id is provided.
	// * There are two or more of record_addr, session_id, and scope_id, and they don't all refer to the same scope.
	// * A name is provided, but not a scope_id and/or a session_id.
	// * A name and record_addr are provided and the name doesn't match the record_addr.
	//
	// By default, the scope and sessions are not included.
	// Set include_scope and/or include_sessions to true to include the scope and/or sessions.
	Records(ctx context.Context, in *RecordsRequest, opts ...grpc.CallOption) (*RecordsResponse, error)
	// RecordsAll retrieves all records.
	RecordsAll(ctx context.Context, in *RecordsAllRequest, opts ...grpc.CallOption) (*RecordsAllResponse, error)
	// Ownership returns the scope identifiers that list the given address as either a data or value owner.
	Ownership(ctx context.Context, in *OwnershipRequest, opts ...grpc.CallOption) (*OwnershipResponse, error)
	// ValueOwnership returns the 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 id.
	//
	// The specification_id can either be a uuid, e.g. dc83ea70-eacd-40fe-9adf-1cf6148bf8a2 or a bech32 scope
	// specification address, e.g. scopespec1qnwg86nsatx5pl56muw0v9ytlz3qu3jx6m.
	//
	// By default, the contract and record specifications are not included.
	// Set include_contract_specs and/or include_record_specs to true to include contract and/or record specifications.
	ScopeSpecification(ctx context.Context, in *ScopeSpecificationRequest, opts ...grpc.CallOption) (*ScopeSpecificationResponse, error)
	// ScopeSpecificationsAll retrieves all scope specifications.
	ScopeSpecificationsAll(ctx context.Context, in *ScopeSpecificationsAllRequest, opts ...grpc.CallOption) (*ScopeSpecificationsAllResponse, error)
	// ContractSpecification returns a contract specification for the given specification id.
	//
	// The specification_id can either be a uuid, e.g. def6bc0a-c9dd-4874-948f-5206e6060a84, a bech32 contract
	// specification address, e.g. contractspec1q000d0q2e8w5say53afqdesxp2zqzkr4fn, or a bech32 record specification
	// address, e.g. recspec1qh00d0q2e8w5say53afqdesxp2zw42dq2jdvmdazuwzcaddhh8gmuqhez44. If it is a record specification
	// address, then the contract specification that contains that record specification is looked up.
	//
	// By default, the record specifications for this contract specification are not included.
	// Set include_record_specs to true to include them in the result.
	ContractSpecification(ctx context.Context, in *ContractSpecificationRequest, opts ...grpc.CallOption) (*ContractSpecificationResponse, error)
	// ContractSpecificationsAll retrieves all contract specifications.
	ContractSpecificationsAll(ctx context.Context, in *ContractSpecificationsAllRequest, opts ...grpc.CallOption) (*ContractSpecificationsAllResponse, error)
	// RecordSpecificationsForContractSpecification returns the record specifications for the given input.
	//
	// The specification_id can either be a uuid, e.g. def6bc0a-c9dd-4874-948f-5206e6060a84, a bech32 contract
	// specification address, e.g. contractspec1q000d0q2e8w5say53afqdesxp2zqzkr4fn, or a bech32 record specification
	// address, e.g. recspec1qh00d0q2e8w5say53afqdesxp2zw42dq2jdvmdazuwzcaddhh8gmuqhez44. If it is a record specification
	// address, then the contract specification that contains that record specification is used.
	RecordSpecificationsForContractSpecification(ctx context.Context, in *RecordSpecificationsForContractSpecificationRequest, opts ...grpc.CallOption) (*RecordSpecificationsForContractSpecificationResponse, error)
	// RecordSpecification returns a record specification for the given input.
	RecordSpecification(ctx context.Context, in *RecordSpecificationRequest, opts ...grpc.CallOption) (*RecordSpecificationResponse, error)
	// RecordSpecificationsAll retrieves all record specifications.
	RecordSpecificationsAll(ctx context.Context, in *RecordSpecificationsAllRequest, opts ...grpc.CallOption) (*RecordSpecificationsAllResponse, error)
	// GetByAddr retrieves metadata given any address(es).
	GetByAddr(ctx context.Context, in *GetByAddrRequest, opts ...grpc.CallOption) (*GetByAddrResponse, error)
	// OSLocatorParams returns all parameters for the object store locator sub module.
	OSLocatorParams(ctx context.Context, in *OSLocatorParamsRequest, opts ...grpc.CallOption) (*OSLocatorParamsResponse, error)
	// OSLocator returns an ObjectStoreLocator by its owner's address.
	OSLocator(ctx context.Context, in *OSLocatorRequest, opts ...grpc.CallOption) (*OSLocatorResponse, error)
	// OSLocatorsByURI returns all ObjectStoreLocator entries for a locator uri.
	OSLocatorsByURI(ctx context.Context, in *OSLocatorsByURIRequest, opts ...grpc.CallOption) (*OSLocatorsByURIResponse, error)
	// OSLocatorsByScope returns all ObjectStoreLocator entries for a for all signer's present in the specified scope.
	OSLocatorsByScope(ctx context.Context, in *OSLocatorsByScopeRequest, opts ...grpc.CallOption) (*OSLocatorsByScopeResponse, error)
	// OSAllLocators returns all ObjectStoreLocator entries.
	OSAllLocators(ctx context.Context, in *OSAllLocatorsRequest, opts ...grpc.CallOption) (*OSAllLocatorsResponse, error)
	// AccountData gets the account data associated with a metadata address.
	// Currently, only scope ids are supported.
	AccountData(ctx context.Context, in *AccountDataRequest, opts ...grpc.CallOption) (*AccountDataResponse, error)
	// ScopeNetAssetValues returns net asset values for scope
	ScopeNetAssetValues(ctx context.Context, in *QueryScopeNetAssetValuesRequest, opts ...grpc.CallOption) (*QueryScopeNetAssetValuesResponse, 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 QueryParamsRequest

type QueryParamsRequest struct {
	// include_request is a flag for whether to include this request in your result.
	IncludeRequest bool `protobuf:"varint,98,opt,name=include_request,json=includeRequest,proto3" json:"include_request,omitempty"`
}

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

func (*QueryParamsRequest) Descriptor

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

func (*QueryParamsRequest) GetIncludeRequest added in v1.17.0

func (m *QueryParamsRequest) GetIncludeRequest() bool

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"`
	// request is a copy of the request that generated these results.
	Request *QueryParamsRequest `protobuf:"bytes,98,opt,name=request,proto3" json:"request,omitempty"`
}

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) GetRequest added in v1.0.0

func (m *QueryParamsResponse) GetRequest() *QueryParamsRequest

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 QueryScopeNetAssetValuesRequest added in v1.18.0

type QueryScopeNetAssetValuesRequest struct {
	// scopeid metadata address
	Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
}

QueryNetAssetValuesRequest is the request type for the Query/NetAssetValues method.

func (*QueryScopeNetAssetValuesRequest) Descriptor added in v1.18.0

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

func (*QueryScopeNetAssetValuesRequest) GetId added in v1.18.0

func (*QueryScopeNetAssetValuesRequest) Marshal added in v1.18.0

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

func (*QueryScopeNetAssetValuesRequest) MarshalTo added in v1.18.0

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

func (*QueryScopeNetAssetValuesRequest) MarshalToSizedBuffer added in v1.18.0

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

func (*QueryScopeNetAssetValuesRequest) ProtoMessage added in v1.18.0

func (*QueryScopeNetAssetValuesRequest) ProtoMessage()

func (*QueryScopeNetAssetValuesRequest) Reset added in v1.18.0

func (*QueryScopeNetAssetValuesRequest) Size added in v1.18.0

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

func (*QueryScopeNetAssetValuesRequest) String added in v1.18.0

func (*QueryScopeNetAssetValuesRequest) Unmarshal added in v1.18.0

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

func (*QueryScopeNetAssetValuesRequest) XXX_DiscardUnknown added in v1.18.0

func (m *QueryScopeNetAssetValuesRequest) XXX_DiscardUnknown()

func (*QueryScopeNetAssetValuesRequest) XXX_Marshal added in v1.18.0

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

func (*QueryScopeNetAssetValuesRequest) XXX_Merge added in v1.18.0

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

func (*QueryScopeNetAssetValuesRequest) XXX_Size added in v1.18.0

func (m *QueryScopeNetAssetValuesRequest) XXX_Size() int

func (*QueryScopeNetAssetValuesRequest) XXX_Unmarshal added in v1.18.0

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

type QueryScopeNetAssetValuesResponse added in v1.18.0

type QueryScopeNetAssetValuesResponse struct {
	// net asset values for scope
	NetAssetValues []NetAssetValue `protobuf:"bytes,1,rep,name=net_asset_values,json=netAssetValues,proto3" json:"net_asset_values"`
}

QueryNetAssetValuesRequest is the response type for the Query/NetAssetValues method.

func (*QueryScopeNetAssetValuesResponse) Descriptor added in v1.18.0

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

func (*QueryScopeNetAssetValuesResponse) GetNetAssetValues added in v1.18.0

func (m *QueryScopeNetAssetValuesResponse) GetNetAssetValues() []NetAssetValue

func (*QueryScopeNetAssetValuesResponse) Marshal added in v1.18.0

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

func (*QueryScopeNetAssetValuesResponse) MarshalTo added in v1.18.0

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

func (*QueryScopeNetAssetValuesResponse) MarshalToSizedBuffer added in v1.18.0

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

func (*QueryScopeNetAssetValuesResponse) ProtoMessage added in v1.18.0

func (*QueryScopeNetAssetValuesResponse) ProtoMessage()

func (*QueryScopeNetAssetValuesResponse) Reset added in v1.18.0

func (*QueryScopeNetAssetValuesResponse) Size added in v1.18.0

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

func (*QueryScopeNetAssetValuesResponse) String added in v1.18.0

func (*QueryScopeNetAssetValuesResponse) Unmarshal added in v1.18.0

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

func (*QueryScopeNetAssetValuesResponse) XXX_DiscardUnknown added in v1.18.0

func (m *QueryScopeNetAssetValuesResponse) XXX_DiscardUnknown()

func (*QueryScopeNetAssetValuesResponse) XXX_Marshal added in v1.18.0

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

func (*QueryScopeNetAssetValuesResponse) XXX_Merge added in v1.18.0

func (*QueryScopeNetAssetValuesResponse) XXX_Size added in v1.18.0

func (m *QueryScopeNetAssetValuesResponse) XXX_Size() int

func (*QueryScopeNetAssetValuesResponse) XXX_Unmarshal added in v1.18.0

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

type QueryServer

type QueryServer interface {
	// Params queries the parameters of x/metadata module.
	Params(context.Context, *QueryParamsRequest) (*QueryParamsResponse, error)
	// Scope searches for a scope.
	//
	// The scope id, if provided, must either be scope uuid, e.g. 91978ba2-5f35-459a-86a7-feca1b0512e0 or a scope address,
	// e.g. scope1qzge0zaztu65tx5x5llv5xc9ztsqxlkwel. The session addr, if provided, must be a bech32 session address,
	// e.g. session1qxge0zaztu65tx5x5llv5xc9zts9sqlch3sxwn44j50jzgt8rshvqyfrjcr. The record_addr, if provided, must be a
	// bech32 record address, e.g. record1q2ge0zaztu65tx5x5llv5xc9ztsw42dq2jdvmdazuwzcaddhh8gmu3mcze3.
	//
	// * If only a scope_id is provided, that scope is returned.
	// * If only a session_addr is provided, the scope containing that session is returned.
	// * If only a record_addr is provided, the scope containing that record is returned.
	// * If more than one of scope_id, session_addr, and record_addr are provided, and they don't refer to the same scope,
	// a bad request is returned.
	//
	// Providing a session addr or record addr does not limit the sessions and records returned (if requested).
	// Those parameters are only used to find the scope.
	//
	// By default, sessions and records are not included.
	// Set include_sessions and/or include_records to true to include sessions and/or records.
	Scope(context.Context, *ScopeRequest) (*ScopeResponse, error)
	// ScopesAll retrieves all scopes.
	ScopesAll(context.Context, *ScopesAllRequest) (*ScopesAllResponse, error)
	// Sessions searches for sessions.
	//
	// The scope_id can either be scope uuid, e.g. 91978ba2-5f35-459a-86a7-feca1b0512e0 or a scope address, e.g.
	// scope1qzge0zaztu65tx5x5llv5xc9ztsqxlkwel. Similarly, the session_id can either be a uuid or session address, e.g.
	// session1qxge0zaztu65tx5x5llv5xc9zts9sqlch3sxwn44j50jzgt8rshvqyfrjcr. The record_addr, if provided, must be a
	// bech32 record address, e.g. record1q2ge0zaztu65tx5x5llv5xc9ztsw42dq2jdvmdazuwzcaddhh8gmu3mcze3.
	//
	// * If only a scope_id is provided, all sessions in that scope are returned.
	// * If only a session_id is provided, it must be an address, and that single session is returned.
	// * If the session_id is a uuid, then either a scope_id or record_addr must also be provided, and that single session
	// is returned.
	// * If only a record_addr is provided, the session containing that record will be returned.
	// * If a record_name is provided then either a scope_id, session_id as an address, or record_addr must also be
	// provided, and the session containing that record will be returned.
	//
	// A bad request is returned if:
	// * The session_id is a uuid and is provided without a scope_id or record_addr.
	// * A record_name is provided without any way to identify the scope (e.g. a scope_id, a session_id as an address, or
	// a record_addr).
	// * Two or more of scope_id, session_id as an address, and record_addr are provided and don't all refer to the same
	// scope.
	// * A record_addr (or scope_id and record_name) is provided with a session_id and that session does not contain such
	// a record.
	// * A record_addr and record_name are both provided, but reference different records.
	//
	// By default, the scope and records are not included.
	// Set include_scope and/or include_records to true to include the scope and/or records.
	Sessions(context.Context, *SessionsRequest) (*SessionsResponse, error)
	// SessionsAll retrieves all sessions.
	SessionsAll(context.Context, *SessionsAllRequest) (*SessionsAllResponse, error)
	// Records searches for records.
	//
	// The record_addr, if provided, must be a bech32 record address, e.g.
	// record1q2ge0zaztu65tx5x5llv5xc9ztsw42dq2jdvmdazuwzcaddhh8gmu3mcze3. The scope-id can either be scope uuid, e.g.
	// 91978ba2-5f35-459a-86a7-feca1b0512e0 or a scope address, e.g. scope1qzge0zaztu65tx5x5llv5xc9ztsqxlkwel. Similarly,
	// the session_id can either be a uuid or session address, e.g.
	// session1qxge0zaztu65tx5x5llv5xc9zts9sqlch3sxwn44j50jzgt8rshvqyfrjcr. The name is the name of the record you're
	// interested in.
	//
	// * If only a record_addr is provided, that single record will be returned.
	// * If only a scope_id is provided, all records in that scope will be returned.
	// * If only a session_id (or scope_id/session_id), all records in that session will be returned.
	// * If a name is provided with a scope_id and/or session_id, that single record will be returned.
	//
	// A bad request is returned if:
	// * The session_id is a uuid and no scope_id is provided.
	// * There are two or more of record_addr, session_id, and scope_id, and they don't all refer to the same scope.
	// * A name is provided, but not a scope_id and/or a session_id.
	// * A name and record_addr are provided and the name doesn't match the record_addr.
	//
	// By default, the scope and sessions are not included.
	// Set include_scope and/or include_sessions to true to include the scope and/or sessions.
	Records(context.Context, *RecordsRequest) (*RecordsResponse, error)
	// RecordsAll retrieves all records.
	RecordsAll(context.Context, *RecordsAllRequest) (*RecordsAllResponse, error)
	// Ownership returns the scope identifiers that list the given address as either a data or value owner.
	Ownership(context.Context, *OwnershipRequest) (*OwnershipResponse, error)
	// ValueOwnership returns the 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 id.
	//
	// The specification_id can either be a uuid, e.g. dc83ea70-eacd-40fe-9adf-1cf6148bf8a2 or a bech32 scope
	// specification address, e.g. scopespec1qnwg86nsatx5pl56muw0v9ytlz3qu3jx6m.
	//
	// By default, the contract and record specifications are not included.
	// Set include_contract_specs and/or include_record_specs to true to include contract and/or record specifications.
	ScopeSpecification(context.Context, *ScopeSpecificationRequest) (*ScopeSpecificationResponse, error)
	// ScopeSpecificationsAll retrieves all scope specifications.
	ScopeSpecificationsAll(context.Context, *ScopeSpecificationsAllRequest) (*ScopeSpecificationsAllResponse, error)
	// ContractSpecification returns a contract specification for the given specification id.
	//
	// The specification_id can either be a uuid, e.g. def6bc0a-c9dd-4874-948f-5206e6060a84, a bech32 contract
	// specification address, e.g. contractspec1q000d0q2e8w5say53afqdesxp2zqzkr4fn, or a bech32 record specification
	// address, e.g. recspec1qh00d0q2e8w5say53afqdesxp2zw42dq2jdvmdazuwzcaddhh8gmuqhez44. If it is a record specification
	// address, then the contract specification that contains that record specification is looked up.
	//
	// By default, the record specifications for this contract specification are not included.
	// Set include_record_specs to true to include them in the result.
	ContractSpecification(context.Context, *ContractSpecificationRequest) (*ContractSpecificationResponse, error)
	// ContractSpecificationsAll retrieves all contract specifications.
	ContractSpecificationsAll(context.Context, *ContractSpecificationsAllRequest) (*ContractSpecificationsAllResponse, error)
	// RecordSpecificationsForContractSpecification returns the record specifications for the given input.
	//
	// The specification_id can either be a uuid, e.g. def6bc0a-c9dd-4874-948f-5206e6060a84, a bech32 contract
	// specification address, e.g. contractspec1q000d0q2e8w5say53afqdesxp2zqzkr4fn, or a bech32 record specification
	// address, e.g. recspec1qh00d0q2e8w5say53afqdesxp2zw42dq2jdvmdazuwzcaddhh8gmuqhez44. If it is a record specification
	// address, then the contract specification that contains that record specification is used.
	RecordSpecificationsForContractSpecification(context.Context, *RecordSpecificationsForContractSpecificationRequest) (*RecordSpecificationsForContractSpecificationResponse, error)
	// RecordSpecification returns a record specification for the given input.
	RecordSpecification(context.Context, *RecordSpecificationRequest) (*RecordSpecificationResponse, error)
	// RecordSpecificationsAll retrieves all record specifications.
	RecordSpecificationsAll(context.Context, *RecordSpecificationsAllRequest) (*RecordSpecificationsAllResponse, error)
	// GetByAddr retrieves metadata given any address(es).
	GetByAddr(context.Context, *GetByAddrRequest) (*GetByAddrResponse, error)
	// OSLocatorParams returns all parameters for the object store locator sub module.
	OSLocatorParams(context.Context, *OSLocatorParamsRequest) (*OSLocatorParamsResponse, error)
	// OSLocator returns an ObjectStoreLocator by its owner's address.
	OSLocator(context.Context, *OSLocatorRequest) (*OSLocatorResponse, error)
	// OSLocatorsByURI returns all ObjectStoreLocator entries for a locator uri.
	OSLocatorsByURI(context.Context, *OSLocatorsByURIRequest) (*OSLocatorsByURIResponse, error)
	// OSLocatorsByScope returns all ObjectStoreLocator entries for a for all signer's present in the specified scope.
	OSLocatorsByScope(context.Context, *OSLocatorsByScopeRequest) (*OSLocatorsByScopeResponse, error)
	// OSAllLocators returns all ObjectStoreLocator entries.
	OSAllLocators(context.Context, *OSAllLocatorsRequest) (*OSAllLocatorsResponse, error)
	// AccountData gets the account data associated with a metadata address.
	// Currently, only scope ids are supported.
	AccountData(context.Context, *AccountDataRequest) (*AccountDataResponse, error)
	// ScopeNetAssetValues returns net asset values for scope
	ScopeNetAssetValues(context.Context, *QueryScopeNetAssetValuesRequest) (*QueryScopeNetAssetValuesResponse, 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:"name,omitempty"`
	// id of the session context that was used to create this record (use with filtered kvprefix iterator)
	SessionId MetadataAddress `protobuf:"bytes,2,opt,name=session_id,json=sessionId,proto3,customtype=MetadataAddress" json:"session_id"`
	// 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"`
	// specification_id is the id of the record specification that was used to create this record.
	SpecificationId MetadataAddress `protobuf:"bytes,6,opt,name=specification_id,json=specificationId,proto3,customtype=MetadataAddress" json:"specification_id"`
}

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,
	specificationID MetadataAddress,
) *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) GetRecordAddress added in v1.0.0

func (r Record) GetRecordAddress() MetadataAddress

GetRecordAddress returns the address for this record, or an empty MetadataAddress if it cannot be constructed.

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 (this *Record) String() string

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 RecordIdInfo added in v1.0.0

type RecordIdInfo struct {
	// record_id is the raw bytes of the record address.
	RecordId MetadataAddress `protobuf:"bytes,1,opt,name=record_id,json=recordId,proto3,customtype=MetadataAddress" json:"record_id"`
	// record_id_prefix is the prefix portion of the record_id.
	RecordIdPrefix []byte `protobuf:"bytes,2,opt,name=record_id_prefix,json=recordIdPrefix,proto3" json:"record_id_prefix,omitempty"`
	// record_id_scope_uuid is the scope_uuid portion of the record_id.
	RecordIdScopeUuid []byte `protobuf:"bytes,3,opt,name=record_id_scope_uuid,json=recordIdScopeUuid,proto3" json:"record_id_scope_uuid,omitempty"`
	// record_id_hashed_name is the hashed name portion of the record_id.
	RecordIdHashedName []byte `protobuf:"bytes,4,opt,name=record_id_hashed_name,json=recordIdHashedName,proto3" json:"record_id_hashed_name,omitempty"`
	// record_addr is the bech32 string version of the record_id.
	RecordAddr string `protobuf:"bytes,5,opt,name=record_addr,json=recordAddr,proto3" json:"record_addr,omitempty"`
	// scope_id_info is information about the scope id referenced in the record_id.
	ScopeIdInfo *ScopeIdInfo `protobuf:"bytes,6,opt,name=scope_id_info,json=scopeIdInfo,proto3" json:"scope_id_info,omitempty"`
}

RecordIdInfo contains various info regarding a record id.

func GetRecordIDInfo added in v1.0.0

func GetRecordIDInfo(recordID MetadataAddress) *RecordIdInfo

GetRecordIDInfo creates a RecordIdInfo populated with info about the provided MetadataAddress.

func (*RecordIdInfo) Descriptor added in v1.0.0

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

func (*RecordIdInfo) GetRecordAddr added in v1.0.0

func (m *RecordIdInfo) GetRecordAddr() string

func (*RecordIdInfo) GetRecordIdHashedName added in v1.0.0

func (m *RecordIdInfo) GetRecordIdHashedName() []byte

func (*RecordIdInfo) GetRecordIdPrefix added in v1.0.0

func (m *RecordIdInfo) GetRecordIdPrefix() []byte

func (*RecordIdInfo) GetRecordIdScopeUuid added in v1.0.0

func (m *RecordIdInfo) GetRecordIdScopeUuid() []byte

func (*RecordIdInfo) GetScopeIdInfo added in v1.0.0

func (m *RecordIdInfo) GetScopeIdInfo() *ScopeIdInfo

func (*RecordIdInfo) Marshal added in v1.0.0

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

func (*RecordIdInfo) MarshalTo added in v1.0.0

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

func (*RecordIdInfo) MarshalToSizedBuffer added in v1.0.0

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

func (*RecordIdInfo) ProtoMessage added in v1.0.0

func (*RecordIdInfo) ProtoMessage()

func (*RecordIdInfo) Reset added in v1.0.0

func (m *RecordIdInfo) Reset()

func (*RecordIdInfo) Size added in v1.0.0

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

func (*RecordIdInfo) String added in v1.0.0

func (m *RecordIdInfo) String() string

func (*RecordIdInfo) Unmarshal added in v1.0.0

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

func (*RecordIdInfo) XXX_DiscardUnknown added in v1.0.0

func (m *RecordIdInfo) XXX_DiscardUnknown()

func (*RecordIdInfo) XXX_Marshal added in v1.0.0

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

func (*RecordIdInfo) XXX_Merge added in v1.0.0

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

func (*RecordIdInfo) XXX_Size added in v1.0.0

func (m *RecordIdInfo) XXX_Size() int

func (*RecordIdInfo) XXX_Unmarshal added in v1.0.0

func (m *RecordIdInfo) 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"`
	// 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 `protobuf:"bytes,2,opt,name=record_id,json=recordId,proto3,oneof,customtype=MetadataAddress" json:"record_id,omitempty"`
}

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 RecordSpecIdInfo added in v1.0.0

type RecordSpecIdInfo struct {
	// record_spec_id is the raw bytes of the record specification address.
	RecordSpecId MetadataAddress `protobuf:"bytes,1,opt,name=record_spec_id,json=recordSpecId,proto3,customtype=MetadataAddress" json:"record_spec_id"`
	// record_spec_id_prefix is the prefix portion of the record_spec_id.
	RecordSpecIdPrefix []byte `protobuf:"bytes,2,opt,name=record_spec_id_prefix,json=recordSpecIdPrefix,proto3" json:"record_spec_id_prefix,omitempty"`
	// record_spec_id_contract_spec_uuid is the contract_spec_uuid portion of the record_spec_id.
	RecordSpecIdContractSpecUuid []byte `` /* 153-byte string literal not displayed */
	// record_spec_id_hashed_name is the hashed name portion of the record_spec_id.
	RecordSpecIdHashedName []byte `` /* 133-byte string literal not displayed */
	// record_spec_addr is the bech32 string version of the record_spec_id.
	RecordSpecAddr string `protobuf:"bytes,5,opt,name=record_spec_addr,json=recordSpecAddr,proto3" json:"record_spec_addr,omitempty"`
	// contract_spec_id_info is information about the contract spec id referenced in the record_spec_id.
	ContractSpecIdInfo *ContractSpecIdInfo `protobuf:"bytes,6,opt,name=contract_spec_id_info,json=contractSpecIdInfo,proto3" json:"contract_spec_id_info,omitempty"`
}

RecordSpecIdInfo contains various info regarding a record specification id.

func GetRecordSpecIDInfo added in v1.0.0

func GetRecordSpecIDInfo(recordSpecID MetadataAddress) *RecordSpecIdInfo

GetRecordSpecIDInfo creates a RecordSpecIdInfo populated with info about the provided MetadataAddress.

func (*RecordSpecIdInfo) Descriptor added in v1.0.0

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

func (*RecordSpecIdInfo) GetContractSpecIdInfo added in v1.0.0

func (m *RecordSpecIdInfo) GetContractSpecIdInfo() *ContractSpecIdInfo

func (*RecordSpecIdInfo) GetRecordSpecAddr added in v1.0.0

func (m *RecordSpecIdInfo) GetRecordSpecAddr() string

func (*RecordSpecIdInfo) GetRecordSpecIdContractSpecUuid added in v1.0.0

func (m *RecordSpecIdInfo) GetRecordSpecIdContractSpecUuid() []byte

func (*RecordSpecIdInfo) GetRecordSpecIdHashedName added in v1.0.0

func (m *RecordSpecIdInfo) GetRecordSpecIdHashedName() []byte

func (*RecordSpecIdInfo) GetRecordSpecIdPrefix added in v1.0.0

func (m *RecordSpecIdInfo) GetRecordSpecIdPrefix() []byte

func (*RecordSpecIdInfo) Marshal added in v1.0.0

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

func (*RecordSpecIdInfo) MarshalTo added in v1.0.0

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

func (*RecordSpecIdInfo) MarshalToSizedBuffer added in v1.0.0

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

func (*RecordSpecIdInfo) ProtoMessage added in v1.0.0

func (*RecordSpecIdInfo) ProtoMessage()

func (*RecordSpecIdInfo) Reset added in v1.0.0

func (m *RecordSpecIdInfo) Reset()

func (*RecordSpecIdInfo) Size added in v1.0.0

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

func (*RecordSpecIdInfo) String added in v1.0.0

func (m *RecordSpecIdInfo) String() string

func (*RecordSpecIdInfo) Unmarshal added in v1.0.0

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

func (*RecordSpecIdInfo) XXX_DiscardUnknown added in v1.0.0

func (m *RecordSpecIdInfo) XXX_DiscardUnknown()

func (*RecordSpecIdInfo) XXX_Marshal added in v1.0.0

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

func (*RecordSpecIdInfo) XXX_Merge added in v1.0.0

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

func (*RecordSpecIdInfo) XXX_Size added in v1.0.0

func (m *RecordSpecIdInfo) XXX_Size() int

func (*RecordSpecIdInfo) XXX_Unmarshal added in v1.0.0

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

type RecordSpecification

type RecordSpecification struct {
	// unique identifier for this specification on chain
	SpecificationId MetadataAddress `protobuf:"bytes,1,opt,name=specification_id,json=specificationId,proto3,customtype=MetadataAddress" json:"specification_id"`
	// 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"`
	// Type of result for this record specification (must be RECORD or RECORD_LIST)
	ResultType DefinitionType `` /* 135-byte string literal not displayed */
	// Type of party responsible for this record
	ResponsibleParties []PartyType `` /* 161-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 (this *RecordSpecification) String() string

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

type RecordSpecificationRequest struct {
	// specification_id can either be a uuid, e.g. def6bc0a-c9dd-4874-948f-5206e6060a84 or a bech32 contract specification
	// address, e.g. contractspec1q000d0q2e8w5say53afqdesxp2zqzkr4fn.
	// It can also be a record specification address, e.g.
	// recspec1qh00d0q2e8w5say53afqdesxp2zw42dq2jdvmdazuwzcaddhh8gmuqhez44.
	SpecificationId string `protobuf:"bytes,1,opt,name=specification_id,json=specificationId,proto3" json:"specification_id,omitempty"`
	// name is the name of the record to look up.
	// It is required if the specification_id is a uuid or contract specification address.
	// It is ignored if the specification_id is a record specification address.
	Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"`
	// exclude_id_info is a flag for whether to exclude the id info from the response.
	ExcludeIdInfo bool `protobuf:"varint,12,opt,name=exclude_id_info,json=excludeIdInfo,proto3" json:"exclude_id_info,omitempty"`
	// include_request is a flag for whether to include this request in your result.
	IncludeRequest bool `protobuf:"varint,98,opt,name=include_request,json=includeRequest,proto3" json:"include_request,omitempty"`
}

RecordSpecificationRequest is the request type for the Query/RecordSpecification RPC method.

func (*RecordSpecificationRequest) Descriptor added in v0.2.0

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

func (*RecordSpecificationRequest) GetExcludeIdInfo added in v1.17.0

func (m *RecordSpecificationRequest) GetExcludeIdInfo() bool

func (*RecordSpecificationRequest) GetIncludeRequest added in v1.17.0

func (m *RecordSpecificationRequest) GetIncludeRequest() bool

func (*RecordSpecificationRequest) GetName added in v0.2.0

func (m *RecordSpecificationRequest) GetName() string

func (*RecordSpecificationRequest) GetSpecificationId added in v1.0.0

func (m *RecordSpecificationRequest) GetSpecificationId() 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 {
	// record_specification is the wrapped record specification.
	RecordSpecification *RecordSpecificationWrapper `protobuf:"bytes,1,opt,name=record_specification,json=recordSpecification,proto3" json:"record_specification,omitempty"`
	// request is a copy of the request that generated these results.
	Request *RecordSpecificationRequest `protobuf:"bytes,98,opt,name=request,proto3" json:"request,omitempty"`
}

RecordSpecificationResponse is the response type for the Query/RecordSpecification RPC method.

func (*RecordSpecificationResponse) Descriptor added in v0.2.0

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

func (*RecordSpecificationResponse) GetRecordSpecification added in v0.2.0

func (m *RecordSpecificationResponse) GetRecordSpecification() *RecordSpecificationWrapper

func (*RecordSpecificationResponse) GetRequest added in v1.0.0

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 RecordSpecificationWrapper added in v1.0.0

type RecordSpecificationWrapper struct {
	// specification is the on-chain record specification message.
	Specification *RecordSpecification `protobuf:"bytes,1,opt,name=specification,proto3" json:"specification,omitempty"`
	// record_spec_id_info contains information about the id/address of the record specification.
	RecordSpecIdInfo *RecordSpecIdInfo `protobuf:"bytes,2,opt,name=record_spec_id_info,json=recordSpecIdInfo,proto3" json:"record_spec_id_info,omitempty"`
}

RecordSpecificationWrapper contains a single record specification and some extra identifiers for it.

func WrapRecordSpec added in v1.0.0

func WrapRecordSpec(spec *RecordSpecification, includeIDInfo bool) *RecordSpecificationWrapper

WrapRecordSpec wraps a record specification in a RecordSpecificationWrapper and populates the _addr and _uuid fields.

func WrapRecordSpecNotFound added in v1.0.0

func WrapRecordSpecNotFound(ma MetadataAddress) *RecordSpecificationWrapper

WrapRecordSpecNotFound creates a RecordSpecificationWrapper with the _addr and _uuid fields set using the provided MetadataAddress.

func WrapRecordSpecs added in v1.0.0

func WrapRecordSpecs(specs []*RecordSpecification, includeIDInfo bool) []*RecordSpecificationWrapper

func (*RecordSpecificationWrapper) Descriptor added in v1.0.0

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

func (*RecordSpecificationWrapper) GetRecordSpecIdInfo added in v1.0.0

func (m *RecordSpecificationWrapper) GetRecordSpecIdInfo() *RecordSpecIdInfo

func (*RecordSpecificationWrapper) GetSpecification added in v1.0.0

func (m *RecordSpecificationWrapper) GetSpecification() *RecordSpecification

func (*RecordSpecificationWrapper) Marshal added in v1.0.0

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

func (*RecordSpecificationWrapper) MarshalTo added in v1.0.0

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

func (*RecordSpecificationWrapper) MarshalToSizedBuffer added in v1.0.0

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

func (*RecordSpecificationWrapper) ProtoMessage added in v1.0.0

func (*RecordSpecificationWrapper) ProtoMessage()

func (*RecordSpecificationWrapper) Reset added in v1.0.0

func (m *RecordSpecificationWrapper) Reset()

func (*RecordSpecificationWrapper) Size added in v1.0.0

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

func (*RecordSpecificationWrapper) String added in v1.0.0

func (m *RecordSpecificationWrapper) String() string

func (*RecordSpecificationWrapper) Unmarshal added in v1.0.0

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

func (*RecordSpecificationWrapper) XXX_DiscardUnknown added in v1.0.0

func (m *RecordSpecificationWrapper) XXX_DiscardUnknown()

func (*RecordSpecificationWrapper) XXX_Marshal added in v1.0.0

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

func (*RecordSpecificationWrapper) XXX_Merge added in v1.0.0

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

func (*RecordSpecificationWrapper) XXX_Size added in v1.0.0

func (m *RecordSpecificationWrapper) XXX_Size() int

func (*RecordSpecificationWrapper) XXX_Unmarshal added in v1.0.0

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

type RecordSpecificationsAllRequest added in v1.0.0

type RecordSpecificationsAllRequest struct {
	// exclude_id_info is a flag for whether to exclude the id info from the response.
	ExcludeIdInfo bool `protobuf:"varint,12,opt,name=exclude_id_info,json=excludeIdInfo,proto3" json:"exclude_id_info,omitempty"`
	// include_request is a flag for whether to include this request in your result.
	IncludeRequest bool `protobuf:"varint,98,opt,name=include_request,json=includeRequest,proto3" json:"include_request,omitempty"`
	// pagination defines optional pagination parameters for the request.
	Pagination *query.PageRequest `protobuf:"bytes,99,opt,name=pagination,proto3" json:"pagination,omitempty"`
}

RecordSpecificationsAllRequest is the request type for the Query/RecordSpecificationsAll RPC method.

func (*RecordSpecificationsAllRequest) Descriptor added in v1.0.0

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

func (*RecordSpecificationsAllRequest) GetExcludeIdInfo added in v1.17.0

func (m *RecordSpecificationsAllRequest) GetExcludeIdInfo() bool

func (*RecordSpecificationsAllRequest) GetIncludeRequest added in v1.17.0

func (m *RecordSpecificationsAllRequest) GetIncludeRequest() bool

func (*RecordSpecificationsAllRequest) GetPagination added in v1.0.0

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

func (*RecordSpecificationsAllRequest) Marshal added in v1.0.0

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

func (*RecordSpecificationsAllRequest) MarshalTo added in v1.0.0

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

func (*RecordSpecificationsAllRequest) MarshalToSizedBuffer added in v1.0.0

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

func (*RecordSpecificationsAllRequest) ProtoMessage added in v1.0.0

func (*RecordSpecificationsAllRequest) ProtoMessage()

func (*RecordSpecificationsAllRequest) Reset added in v1.0.0

func (m *RecordSpecificationsAllRequest) Reset()

func (*RecordSpecificationsAllRequest) Size added in v1.0.0

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

func (*RecordSpecificationsAllRequest) String added in v1.0.0

func (*RecordSpecificationsAllRequest) Unmarshal added in v1.0.0

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

func (*RecordSpecificationsAllRequest) XXX_DiscardUnknown added in v1.0.0

func (m *RecordSpecificationsAllRequest) XXX_DiscardUnknown()

func (*RecordSpecificationsAllRequest) XXX_Marshal added in v1.0.0

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

func (*RecordSpecificationsAllRequest) XXX_Merge added in v1.0.0

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

func (*RecordSpecificationsAllRequest) XXX_Size added in v1.0.0

func (m *RecordSpecificationsAllRequest) XXX_Size() int

func (*RecordSpecificationsAllRequest) XXX_Unmarshal added in v1.0.0

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

type RecordSpecificationsAllResponse added in v1.0.0

type RecordSpecificationsAllResponse struct {
	// record_specifications are the wrapped record specifications.
	RecordSpecifications []*RecordSpecificationWrapper `protobuf:"bytes,1,rep,name=record_specifications,json=recordSpecifications,proto3" json:"record_specifications,omitempty"`
	// request is a copy of the request that generated these results.
	Request *RecordSpecificationsAllRequest `protobuf:"bytes,98,opt,name=request,proto3" json:"request,omitempty"`
	// pagination provides the pagination information of this response.
	Pagination *query.PageResponse `protobuf:"bytes,99,opt,name=pagination,proto3" json:"pagination,omitempty"`
}

RecordSpecificationsAllResponse is the response type for the Query/RecordSpecificationsAll RPC method.

func (*RecordSpecificationsAllResponse) Descriptor added in v1.0.0

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

func (*RecordSpecificationsAllResponse) GetPagination added in v1.0.0

func (*RecordSpecificationsAllResponse) GetRecordSpecifications added in v1.0.0

func (m *RecordSpecificationsAllResponse) GetRecordSpecifications() []*RecordSpecificationWrapper

func (*RecordSpecificationsAllResponse) GetRequest added in v1.0.0

func (*RecordSpecificationsAllResponse) Marshal added in v1.0.0

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

func (*RecordSpecificationsAllResponse) MarshalTo added in v1.0.0

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

func (*RecordSpecificationsAllResponse) MarshalToSizedBuffer added in v1.0.0

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

func (*RecordSpecificationsAllResponse) ProtoMessage added in v1.0.0

func (*RecordSpecificationsAllResponse) ProtoMessage()

func (*RecordSpecificationsAllResponse) Reset added in v1.0.0

func (*RecordSpecificationsAllResponse) Size added in v1.0.0

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

func (*RecordSpecificationsAllResponse) String added in v1.0.0

func (*RecordSpecificationsAllResponse) Unmarshal added in v1.0.0

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

func (*RecordSpecificationsAllResponse) XXX_DiscardUnknown added in v1.0.0

func (m *RecordSpecificationsAllResponse) XXX_DiscardUnknown()

func (*RecordSpecificationsAllResponse) XXX_Marshal added in v1.0.0

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

func (*RecordSpecificationsAllResponse) XXX_Merge added in v1.0.0

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

func (*RecordSpecificationsAllResponse) XXX_Size added in v1.0.0

func (m *RecordSpecificationsAllResponse) XXX_Size() int

func (*RecordSpecificationsAllResponse) XXX_Unmarshal added in v1.0.0

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

type RecordSpecificationsForContractSpecificationRequest added in v0.2.0

type RecordSpecificationsForContractSpecificationRequest struct {
	// specification_id can either be a uuid, e.g. def6bc0a-c9dd-4874-948f-5206e6060a84 or a bech32 contract specification
	// address, e.g. contractspec1q000d0q2e8w5say53afqdesxp2zqzkr4fn.
	// It can also be a record specification address, e.g.
	// recspec1qh00d0q2e8w5say53afqdesxp2zw42dq2jdvmdazuwzcaddhh8gmuqhez44.
	SpecificationId string `protobuf:"bytes,1,opt,name=specification_id,json=specificationId,proto3" json:"specification_id,omitempty"`
	// exclude_id_info is a flag for whether to exclude the id info from the response.
	ExcludeIdInfo bool `protobuf:"varint,12,opt,name=exclude_id_info,json=excludeIdInfo,proto3" json:"exclude_id_info,omitempty"`
	// include_request is a flag for whether to include this request in your result.
	IncludeRequest bool `protobuf:"varint,98,opt,name=include_request,json=includeRequest,proto3" json:"include_request,omitempty"`
}

RecordSpecificationsForContractSpecificationRequest is the request type for the Query/RecordSpecificationsForContractSpecification RPC method.

func (*RecordSpecificationsForContractSpecificationRequest) Descriptor added in v0.2.0

func (*RecordSpecificationsForContractSpecificationRequest) GetExcludeIdInfo added in v1.17.0

func (*RecordSpecificationsForContractSpecificationRequest) GetIncludeRequest added in v1.17.0

func (*RecordSpecificationsForContractSpecificationRequest) GetSpecificationId added in v1.0.0

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 {
	// record_specifications is any number of wrapped record specifications associated with this contract_specification.
	RecordSpecifications []*RecordSpecificationWrapper `protobuf:"bytes,1,rep,name=record_specifications,json=recordSpecifications,proto3" json:"record_specifications,omitempty"`
	// contract_specification_uuid is the uuid of this contract specification.
	ContractSpecificationUuid string `` /* 138-byte string literal not displayed */
	// contract_specification_addr is the contract specification address as a bech32 encoded string.
	ContractSpecificationAddr string `` /* 138-byte string literal not displayed */
	// request is a copy of the request that generated these results.
	Request *RecordSpecificationsForContractSpecificationRequest `protobuf:"bytes,98,opt,name=request,proto3" json:"request,omitempty"`
}

RecordSpecificationsForContractSpecificationResponse is the response type for the Query/RecordSpecificationsForContractSpecification RPC method.

func (*RecordSpecificationsForContractSpecificationResponse) Descriptor added in v0.2.0

func (*RecordSpecificationsForContractSpecificationResponse) GetContractSpecificationAddr added in v1.0.0

func (m *RecordSpecificationsForContractSpecificationResponse) GetContractSpecificationAddr() string

func (*RecordSpecificationsForContractSpecificationResponse) GetContractSpecificationUuid added in v0.2.1

func (m *RecordSpecificationsForContractSpecificationResponse) GetContractSpecificationUuid() string

func (*RecordSpecificationsForContractSpecificationResponse) GetRecordSpecifications added in v0.2.0

func (*RecordSpecificationsForContractSpecificationResponse) GetRequest added in v1.0.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 RecordWrapper added in v1.0.0

type RecordWrapper struct {
	// record is the on-chain record message.
	Record *Record `protobuf:"bytes,1,opt,name=record,proto3" json:"record,omitempty"`
	// record_id_info contains information about the id/address of the record.
	RecordIdInfo *RecordIdInfo `protobuf:"bytes,2,opt,name=record_id_info,json=recordIdInfo,proto3" json:"record_id_info,omitempty"`
	// record_spec_id_info contains information about the id/address of the record specification.
	RecordSpecIdInfo *RecordSpecIdInfo `protobuf:"bytes,3,opt,name=record_spec_id_info,json=recordSpecIdInfo,proto3" json:"record_spec_id_info,omitempty"`
}

RecordWrapper contains a single record and some extra identifiers for it.

func WrapRecord added in v1.0.0

func WrapRecord(record *Record, includeIDInfo bool) *RecordWrapper

WrapRecord wraps a record in a RecordWrapper and populates the _addr and _uuid fields.

func WrapRecordNotFound added in v1.0.0

func WrapRecordNotFound(recordAddr MetadataAddress) *RecordWrapper

WrapSessionNotFound creates a RecordWrapper with the _addr and _uuid fields set as possible using the provided MetadataAddress.

func (*RecordWrapper) Descriptor added in v1.0.0

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

func (*RecordWrapper) GetRecord added in v1.0.0

func (m *RecordWrapper) GetRecord() *Record

func (*RecordWrapper) GetRecordIdInfo added in v1.0.0

func (m *RecordWrapper) GetRecordIdInfo() *RecordIdInfo

func (*RecordWrapper) GetRecordSpecIdInfo added in v1.0.0

func (m *RecordWrapper) GetRecordSpecIdInfo() *RecordSpecIdInfo

func (*RecordWrapper) Marshal added in v1.0.0

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

func (*RecordWrapper) MarshalTo added in v1.0.0

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

func (*RecordWrapper) MarshalToSizedBuffer added in v1.0.0

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

func (*RecordWrapper) ProtoMessage added in v1.0.0

func (*RecordWrapper) ProtoMessage()

func (*RecordWrapper) Reset added in v1.0.0

func (m *RecordWrapper) Reset()

func (*RecordWrapper) Size added in v1.0.0

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

func (*RecordWrapper) String added in v1.0.0

func (m *RecordWrapper) String() string

func (*RecordWrapper) Unmarshal added in v1.0.0

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

func (*RecordWrapper) XXX_DiscardUnknown added in v1.0.0

func (m *RecordWrapper) XXX_DiscardUnknown()

func (*RecordWrapper) XXX_Marshal added in v1.0.0

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

func (*RecordWrapper) XXX_Merge added in v1.0.0

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

func (*RecordWrapper) XXX_Size added in v1.0.0

func (m *RecordWrapper) XXX_Size() int

func (*RecordWrapper) XXX_Unmarshal added in v1.0.0

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

type RecordsAllRequest added in v1.0.0

type RecordsAllRequest struct {
	// exclude_id_info is a flag for whether to exclude the id info from the response.
	ExcludeIdInfo bool `protobuf:"varint,12,opt,name=exclude_id_info,json=excludeIdInfo,proto3" json:"exclude_id_info,omitempty"`
	// include_request is a flag for whether to include this request in your result.
	IncludeRequest bool `protobuf:"varint,98,opt,name=include_request,json=includeRequest,proto3" json:"include_request,omitempty"`
	// pagination defines optional pagination parameters for the request.
	Pagination *query.PageRequest `protobuf:"bytes,99,opt,name=pagination,proto3" json:"pagination,omitempty"`
}

RecordsAllRequest is the request type for the Query/RecordsAll RPC method.

func (*RecordsAllRequest) Descriptor added in v1.0.0

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

func (*RecordsAllRequest) GetExcludeIdInfo added in v1.17.0

func (m *RecordsAllRequest) GetExcludeIdInfo() bool

func (*RecordsAllRequest) GetIncludeRequest added in v1.17.0

func (m *RecordsAllRequest) GetIncludeRequest() bool

func (*RecordsAllRequest) GetPagination added in v1.0.0

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

func (*RecordsAllRequest) Marshal added in v1.0.0

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

func (*RecordsAllRequest) MarshalTo added in v1.0.0

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

func (*RecordsAllRequest) MarshalToSizedBuffer added in v1.0.0

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

func (*RecordsAllRequest) ProtoMessage added in v1.0.0

func (*RecordsAllRequest) ProtoMessage()

func (*RecordsAllRequest) Reset added in v1.0.0

func (m *RecordsAllRequest) Reset()

func (*RecordsAllRequest) Size added in v1.0.0

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

func (*RecordsAllRequest) String added in v1.0.0

func (m *RecordsAllRequest) String() string

func (*RecordsAllRequest) Unmarshal added in v1.0.0

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

func (*RecordsAllRequest) XXX_DiscardUnknown added in v1.0.0

func (m *RecordsAllRequest) XXX_DiscardUnknown()

func (*RecordsAllRequest) XXX_Marshal added in v1.0.0

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

func (*RecordsAllRequest) XXX_Merge added in v1.0.0

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

func (*RecordsAllRequest) XXX_Size added in v1.0.0

func (m *RecordsAllRequest) XXX_Size() int

func (*RecordsAllRequest) XXX_Unmarshal added in v1.0.0

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

type RecordsAllResponse added in v1.0.0

type RecordsAllResponse struct {
	// records are the wrapped records.
	Records []*RecordWrapper `protobuf:"bytes,1,rep,name=records,proto3" json:"records,omitempty"`
	// request is a copy of the request that generated these results.
	Request *RecordsAllRequest `protobuf:"bytes,98,opt,name=request,proto3" json:"request,omitempty"`
	// pagination provides the pagination information of this response.
	Pagination *query.PageResponse `protobuf:"bytes,99,opt,name=pagination,proto3" json:"pagination,omitempty"`
}

RecordsAllResponse is the response type for the Query/RecordsAll RPC method.

func (*RecordsAllResponse) Descriptor added in v1.0.0

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

func (*RecordsAllResponse) GetPagination added in v1.0.0

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

func (*RecordsAllResponse) GetRecords added in v1.0.0

func (m *RecordsAllResponse) GetRecords() []*RecordWrapper

func (*RecordsAllResponse) GetRequest added in v1.0.0

func (m *RecordsAllResponse) GetRequest() *RecordsAllRequest

func (*RecordsAllResponse) Marshal added in v1.0.0

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

func (*RecordsAllResponse) MarshalTo added in v1.0.0

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

func (*RecordsAllResponse) MarshalToSizedBuffer added in v1.0.0

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

func (*RecordsAllResponse) ProtoMessage added in v1.0.0

func (*RecordsAllResponse) ProtoMessage()

func (*RecordsAllResponse) Reset added in v1.0.0

func (m *RecordsAllResponse) Reset()

func (*RecordsAllResponse) Size added in v1.0.0

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

func (*RecordsAllResponse) String added in v1.0.0

func (m *RecordsAllResponse) String() string

func (*RecordsAllResponse) Unmarshal added in v1.0.0

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

func (*RecordsAllResponse) XXX_DiscardUnknown added in v1.0.0

func (m *RecordsAllResponse) XXX_DiscardUnknown()

func (*RecordsAllResponse) XXX_Marshal added in v1.0.0

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

func (*RecordsAllResponse) XXX_Merge added in v1.0.0

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

func (*RecordsAllResponse) XXX_Size added in v1.0.0

func (m *RecordsAllResponse) XXX_Size() int

func (*RecordsAllResponse) XXX_Unmarshal added in v1.0.0

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

type RecordsRequest added in v1.0.0

type RecordsRequest struct {
	// record_addr is a bech32 record address, e.g. record1q2ge0zaztu65tx5x5llv5xc9ztsw42dq2jdvmdazuwzcaddhh8gmu3mcze3.
	RecordAddr string `protobuf:"bytes,1,opt,name=record_addr,json=recordAddr,proto3" json:"record_addr,omitempty"`
	// scope_id can either be a uuid, e.g. 91978ba2-5f35-459a-86a7-feca1b0512e0 or a bech32 scope address, e.g.
	// scope1qzge0zaztu65tx5x5llv5xc9ztsqxlkwel.
	ScopeId string `protobuf:"bytes,2,opt,name=scope_id,json=scopeId,proto3" json:"scope_id,omitempty"`
	// session_id can either be a uuid, e.g. 5803f8bc-6067-4eb5-951f-2121671c2ec0 or a bech32 session address, e.g.
	// session1qxge0zaztu65tx5x5llv5xc9zts9sqlch3sxwn44j50jzgt8rshvqyfrjcr. This can only be a uuid if a scope_id is also
	// provided.
	SessionId string `protobuf:"bytes,3,opt,name=session_id,json=sessionId,proto3" json:"session_id,omitempty"`
	// name is the name of the record to look for
	Name string `protobuf:"bytes,4,opt,name=name,proto3" json:"name,omitempty"`
	// include_scope is a flag for whether to include the the scope containing these records in the response.
	IncludeScope bool `protobuf:"varint,10,opt,name=include_scope,json=includeScope,proto3" json:"include_scope,omitempty"`
	// include_sessions is a flag for whether to include the sessions containing these records in the response.
	IncludeSessions bool `protobuf:"varint,11,opt,name=include_sessions,json=includeSessions,proto3" json:"include_sessions,omitempty"`
	// exclude_id_info is a flag for whether to exclude the id info from the response.
	ExcludeIdInfo bool `protobuf:"varint,12,opt,name=exclude_id_info,json=excludeIdInfo,proto3" json:"exclude_id_info,omitempty"`
	// include_request is a flag for whether to include this request in your result.
	IncludeRequest bool `protobuf:"varint,98,opt,name=include_request,json=includeRequest,proto3" json:"include_request,omitempty"`
}

RecordsRequest is the request type for the Query/Records RPC method.

func (*RecordsRequest) Descriptor added in v1.0.0

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

func (*RecordsRequest) GetExcludeIdInfo added in v1.17.0

func (m *RecordsRequest) GetExcludeIdInfo() bool

func (*RecordsRequest) GetIncludeRequest added in v1.17.0

func (m *RecordsRequest) GetIncludeRequest() bool

func (*RecordsRequest) GetIncludeScope added in v1.0.0

func (m *RecordsRequest) GetIncludeScope() bool

func (*RecordsRequest) GetIncludeSessions added in v1.0.0

func (m *RecordsRequest) GetIncludeSessions() bool

func (*RecordsRequest) GetName added in v1.0.0

func (m *RecordsRequest) GetName() string

func (*RecordsRequest) GetRecordAddr added in v1.0.0

func (m *RecordsRequest) GetRecordAddr() string

func (*RecordsRequest) GetScopeId added in v1.0.0

func (m *RecordsRequest) GetScopeId() string

func (*RecordsRequest) GetSessionId added in v1.0.0

func (m *RecordsRequest) GetSessionId() string

func (*RecordsRequest) Marshal added in v1.0.0

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

func (*RecordsRequest) MarshalTo added in v1.0.0

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

func (*RecordsRequest) MarshalToSizedBuffer added in v1.0.0

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

func (*RecordsRequest) ProtoMessage added in v1.0.0

func (*RecordsRequest) ProtoMessage()

func (*RecordsRequest) Reset added in v1.0.0

func (m *RecordsRequest) Reset()

func (*RecordsRequest) Size added in v1.0.0

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

func (*RecordsRequest) String added in v1.0.0

func (m *RecordsRequest) String() string

func (*RecordsRequest) Unmarshal added in v1.0.0

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

func (*RecordsRequest) XXX_DiscardUnknown added in v1.0.0

func (m *RecordsRequest) XXX_DiscardUnknown()

func (*RecordsRequest) XXX_Marshal added in v1.0.0

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

func (*RecordsRequest) XXX_Merge added in v1.0.0

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

func (*RecordsRequest) XXX_Size added in v1.0.0

func (m *RecordsRequest) XXX_Size() int

func (*RecordsRequest) XXX_Unmarshal added in v1.0.0

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

type RecordsResponse added in v1.0.0

type RecordsResponse struct {
	// scope is the wrapped scope that holds these records (if requested).
	Scope *ScopeWrapper `protobuf:"bytes,1,opt,name=scope,proto3" json:"scope,omitempty"`
	// sessions is any number of wrapped sessions that hold these records (if requested).
	Sessions []*SessionWrapper `protobuf:"bytes,2,rep,name=sessions,proto3" json:"sessions,omitempty"`
	// records is any number of wrapped record results.
	Records []*RecordWrapper `protobuf:"bytes,3,rep,name=records,proto3" json:"records,omitempty"`
	// request is a copy of the request that generated these results.
	Request *RecordsRequest `protobuf:"bytes,98,opt,name=request,proto3" json:"request,omitempty"`
}

RecordsResponse is the response type for the Query/Records RPC method.

func (*RecordsResponse) Descriptor added in v1.0.0

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

func (*RecordsResponse) GetRecords added in v1.0.0

func (m *RecordsResponse) GetRecords() []*RecordWrapper

func (*RecordsResponse) GetRequest added in v1.0.0

func (m *RecordsResponse) GetRequest() *RecordsRequest

func (*RecordsResponse) GetScope added in v1.0.0

func (m *RecordsResponse) GetScope() *ScopeWrapper

func (*RecordsResponse) GetSessions added in v1.0.0

func (m *RecordsResponse) GetSessions() []*SessionWrapper

func (*RecordsResponse) Marshal added in v1.0.0

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

func (*RecordsResponse) MarshalTo added in v1.0.0

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

func (*RecordsResponse) MarshalToSizedBuffer added in v1.0.0

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

func (*RecordsResponse) ProtoMessage added in v1.0.0

func (*RecordsResponse) ProtoMessage()

func (*RecordsResponse) Reset added in v1.0.0

func (m *RecordsResponse) Reset()

func (*RecordsResponse) Size added in v1.0.0

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

func (*RecordsResponse) String added in v1.0.0

func (m *RecordsResponse) String() string

func (*RecordsResponse) Unmarshal added in v1.0.0

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

func (*RecordsResponse) XXX_DiscardUnknown added in v1.0.0

func (m *RecordsResponse) XXX_DiscardUnknown()

func (*RecordsResponse) XXX_Marshal added in v1.0.0

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

func (*RecordsResponse) XXX_Merge added in v1.0.0

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

func (*RecordsResponse) XXX_Size added in v1.0.0

func (m *RecordsResponse) XXX_Size() int

func (*RecordsResponse) XXX_Unmarshal added in v1.0.0

func (m *RecordsResponse) 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 successful
	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"`
	// the scope specification that contains the specifications for data elements allowed within this scope
	SpecificationId MetadataAddress `protobuf:"bytes,2,opt,name=specification_id,json=specificationId,proto3,customtype=MetadataAddress" json:"specification_id"`
	// 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"`
	// Addresses in this list are authorized to receive off-chain data associated with this scope.
	DataAccess []string `protobuf:"bytes,4,rep,name=data_access,json=dataAccess,proto3" json:"data_access,omitempty"`
	// 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 `protobuf:"bytes,5,opt,name=value_owner_address,json=valueOwnerAddress,proto3" json:"value_owner_address,omitempty"`
	// Whether all parties in this scope and its sessions must be present in this scope's owners field.
	// This also enables use of optional=true scope owners and session parties.
	RequirePartyRollup bool `protobuf:"varint,6,opt,name=require_party_rollup,json=requirePartyRollup,proto3" json:"require_party_rollup,omitempty"`
}

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,
	requirePartyRollup bool,
) *Scope

NewScope creates a new instance.

func (*Scope) AddDataAccess added in v1.3.0

func (s *Scope) AddDataAccess(addresses []string)

func (*Scope) AddOwners added in v1.3.0

func (s *Scope) AddOwners(owners []Party) error

AddOwners will add new owners to this scope. If an owner already exists that's equal to a provided owner, an error is returned.

func (*Scope) Descriptor

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

func (Scope) Equals added in v1.8.0

func (s Scope) Equals(t Scope) bool

func (Scope) GetAllOwnerAddresses added in v1.15.0

func (s Scope) GetAllOwnerAddresses() []string

GetAllOwnerAddresses gets the addresses of all of the owners. Each address can only appear once in the return value.

func (*Scope) GetDataAccess

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

func (*Scope) GetOwners

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

func (*Scope) GetRequirePartyRollup added in v1.15.0

func (m *Scope) GetRequirePartyRollup() bool

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) RemoveDataAccess added in v1.3.0

func (s *Scope) RemoveDataAccess(addresses []string)

func (*Scope) RemoveOwners added in v1.3.0

func (s *Scope) RemoveOwners(addressesToRemove []string) error

RemoveOwners will remove owners with the given addresses. If an address is provided that is not an owner, an error is returned.

func (*Scope) Reset

func (m *Scope) Reset()

func (*Scope) Size

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

func (*Scope) String

func (this *Scope) String() string

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) ValidateOwnersBasic added in v1.3.0

func (s Scope) ValidateOwnersBasic() error

func (*Scope) XXX_DiscardUnknown

func (m *Scope) XXX_DiscardUnknown()

func (*Scope) XXX_Marshal

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

func (*Scope) XXX_Merge

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

func (*Scope) XXX_Size

func (m *Scope) XXX_Size() int

func (*Scope) XXX_Unmarshal

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

type ScopeIdInfo added in v1.0.0

type ScopeIdInfo struct {
	// scope_id is the raw bytes of the scope address.
	ScopeId MetadataAddress `protobuf:"bytes,1,opt,name=scope_id,json=scopeId,proto3,customtype=MetadataAddress" json:"scope_id"`
	// scope_id_prefix is the prefix portion of the scope_id.
	ScopeIdPrefix []byte `protobuf:"bytes,2,opt,name=scope_id_prefix,json=scopeIdPrefix,proto3" json:"scope_id_prefix,omitempty"`
	// scope_id_scope_uuid is the scope_uuid portion of the scope_id.
	ScopeIdScopeUuid []byte `protobuf:"bytes,3,opt,name=scope_id_scope_uuid,json=scopeIdScopeUuid,proto3" json:"scope_id_scope_uuid,omitempty"`
	// scope_addr is the bech32 string version of the scope_id.
	ScopeAddr string `protobuf:"bytes,4,opt,name=scope_addr,json=scopeAddr,proto3" json:"scope_addr,omitempty"`
	// scope_uuid is the uuid hex string of the scope_id_scope_uuid.
	ScopeUuid string `protobuf:"bytes,5,opt,name=scope_uuid,json=scopeUuid,proto3" json:"scope_uuid,omitempty"`
}

ScopeIdInfo contains various info regarding a scope id.

func GetScopeIDInfo added in v1.0.0

func GetScopeIDInfo(scopeID MetadataAddress) *ScopeIdInfo

GetScopeIDInfo creates a ScopeIdInfo populated with info about the provided MetadataAddress.

func (*ScopeIdInfo) Descriptor added in v1.0.0

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

func (*ScopeIdInfo) GetScopeAddr added in v1.0.0

func (m *ScopeIdInfo) GetScopeAddr() string

func (*ScopeIdInfo) GetScopeIdPrefix added in v1.0.0

func (m *ScopeIdInfo) GetScopeIdPrefix() []byte

func (*ScopeIdInfo) GetScopeIdScopeUuid added in v1.0.0

func (m *ScopeIdInfo) GetScopeIdScopeUuid() []byte

func (*ScopeIdInfo) GetScopeUuid added in v1.0.0

func (m *ScopeIdInfo) GetScopeUuid() string

func (*ScopeIdInfo) Marshal added in v1.0.0

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

func (*ScopeIdInfo) MarshalTo added in v1.0.0

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

func (*ScopeIdInfo) MarshalToSizedBuffer added in v1.0.0

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

func (*ScopeIdInfo) ProtoMessage added in v1.0.0

func (*ScopeIdInfo) ProtoMessage()

func (*ScopeIdInfo) Reset added in v1.0.0

func (m *ScopeIdInfo) Reset()

func (*ScopeIdInfo) Size added in v1.0.0

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

func (*ScopeIdInfo) String added in v1.0.0

func (m *ScopeIdInfo) String() string

func (*ScopeIdInfo) Unmarshal added in v1.0.0

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

func (*ScopeIdInfo) XXX_DiscardUnknown added in v1.0.0

func (m *ScopeIdInfo) XXX_DiscardUnknown()

func (*ScopeIdInfo) XXX_Marshal added in v1.0.0

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

func (*ScopeIdInfo) XXX_Merge added in v1.0.0

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

func (*ScopeIdInfo) XXX_Size added in v1.0.0

func (m *ScopeIdInfo) XXX_Size() int

func (*ScopeIdInfo) XXX_Unmarshal added in v1.0.0

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

type ScopeRequest

type ScopeRequest struct {
	// scope_id can either be a uuid, e.g. 91978ba2-5f35-459a-86a7-feca1b0512e0 or a bech32 scope address, e.g.
	// scope1qzge0zaztu65tx5x5llv5xc9ztsqxlkwel.
	ScopeId string `protobuf:"bytes,1,opt,name=scope_id,json=scopeId,proto3" json:"scope_id,omitempty"`
	// session_addr is a bech32 session address, e.g.
	// session1qxge0zaztu65tx5x5llv5xc9zts9sqlch3sxwn44j50jzgt8rshvqyfrjcr.
	SessionAddr string `protobuf:"bytes,2,opt,name=session_addr,json=sessionAddr,proto3" json:"session_addr,omitempty"`
	// record_addr is a bech32 record address, e.g. record1q2ge0zaztu65tx5x5llv5xc9ztsw42dq2jdvmdazuwzcaddhh8gmu3mcze3.
	RecordAddr string `protobuf:"bytes,3,opt,name=record_addr,json=recordAddr,proto3" json:"record_addr,omitempty"`
	// include_sessions is a flag for whether to include the sessions of the scope in the response.
	IncludeSessions bool `protobuf:"varint,10,opt,name=include_sessions,json=includeSessions,proto3" json:"include_sessions,omitempty"`
	// include_records is a flag for whether to include the records of the scope in the response.
	IncludeRecords bool `protobuf:"varint,11,opt,name=include_records,json=includeRecords,proto3" json:"include_records,omitempty"`
	// exclude_id_info is a flag for whether to exclude the id info from the response.
	ExcludeIdInfo bool `protobuf:"varint,12,opt,name=exclude_id_info,json=excludeIdInfo,proto3" json:"exclude_id_info,omitempty"`
	// include_request is a flag for whether to include this request in your result.
	IncludeRequest bool `protobuf:"varint,98,opt,name=include_request,json=includeRequest,proto3" json:"include_request,omitempty"`
}

ScopeRequest is the request type for the Query/Scope RPC method.

func (*ScopeRequest) Descriptor

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

func (*ScopeRequest) GetExcludeIdInfo added in v1.17.0

func (m *ScopeRequest) GetExcludeIdInfo() bool

func (*ScopeRequest) GetIncludeRecords added in v1.0.0

func (m *ScopeRequest) GetIncludeRecords() bool

func (*ScopeRequest) GetIncludeRequest added in v1.17.0

func (m *ScopeRequest) GetIncludeRequest() bool

func (*ScopeRequest) GetIncludeSessions added in v1.0.0

func (m *ScopeRequest) GetIncludeSessions() bool

func (*ScopeRequest) GetRecordAddr added in v1.0.0

func (m *ScopeRequest) GetRecordAddr() string

func (*ScopeRequest) GetScopeId

func (m *ScopeRequest) GetScopeId() string

func (*ScopeRequest) GetSessionAddr added in v1.0.0

func (m *ScopeRequest) GetSessionAddr() 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 is the wrapped scope result.
	Scope *ScopeWrapper `protobuf:"bytes,1,opt,name=scope,proto3" json:"scope,omitempty"`
	// sessions is any number of wrapped sessions in this scope (if requested).
	Sessions []*SessionWrapper `protobuf:"bytes,2,rep,name=sessions,proto3" json:"sessions,omitempty"`
	// records is any number of wrapped records in this scope (if requested).
	Records []*RecordWrapper `protobuf:"bytes,3,rep,name=records,proto3" json:"records,omitempty"`
	// request is a copy of the request that generated these results.
	Request *ScopeRequest `protobuf:"bytes,98,opt,name=request,proto3" json:"request,omitempty"`
}

ScopeResponse is the response type for the Query/Scope RPC method.

func (*ScopeResponse) Descriptor

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

func (*ScopeResponse) GetRecords

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

func (*ScopeResponse) GetRequest added in v1.0.0

func (m *ScopeResponse) GetRequest() *ScopeRequest

func (*ScopeResponse) GetScope

func (m *ScopeResponse) GetScope() *ScopeWrapper

func (*ScopeResponse) GetSessions added in v0.2.0

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

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 ScopeSpecIdInfo added in v1.0.0

type ScopeSpecIdInfo struct {
	// scope_spec_id is the raw bytes of the scope specification address.
	ScopeSpecId MetadataAddress `protobuf:"bytes,1,opt,name=scope_spec_id,json=scopeSpecId,proto3,customtype=MetadataAddress" json:"scope_spec_id"`
	// scope_spec_id_prefix is the prefix portion of the scope_spec_id.
	ScopeSpecIdPrefix []byte `protobuf:"bytes,2,opt,name=scope_spec_id_prefix,json=scopeSpecIdPrefix,proto3" json:"scope_spec_id_prefix,omitempty"`
	// scope_spec_id_scope_spec_uuid is the scope_spec_uuid portion of the scope_spec_id.
	ScopeSpecIdScopeSpecUuid []byte `` /* 141-byte string literal not displayed */
	// scope_spec_addr is the bech32 string version of the scope_spec_id.
	ScopeSpecAddr string `protobuf:"bytes,4,opt,name=scope_spec_addr,json=scopeSpecAddr,proto3" json:"scope_spec_addr,omitempty"`
	// scope_spec_uuid is the uuid hex string of the scope_spec_id_scope_spec_uuid.
	ScopeSpecUuid string `protobuf:"bytes,5,opt,name=scope_spec_uuid,json=scopeSpecUuid,proto3" json:"scope_spec_uuid,omitempty"`
}

ScopeSpecIdInfo contains various info regarding a scope specification id.

func GetScopeSpecIDInfo added in v1.0.0

func GetScopeSpecIDInfo(scopeSpecID MetadataAddress) *ScopeSpecIdInfo

GetScopeSpecIDInfo creates a ScopeSpecIdInfo populated with info about the provided MetadataAddress.

func (*ScopeSpecIdInfo) Descriptor added in v1.0.0

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

func (*ScopeSpecIdInfo) GetScopeSpecAddr added in v1.0.0

func (m *ScopeSpecIdInfo) GetScopeSpecAddr() string

func (*ScopeSpecIdInfo) GetScopeSpecIdPrefix added in v1.0.0

func (m *ScopeSpecIdInfo) GetScopeSpecIdPrefix() []byte

func (*ScopeSpecIdInfo) GetScopeSpecIdScopeSpecUuid added in v1.0.0

func (m *ScopeSpecIdInfo) GetScopeSpecIdScopeSpecUuid() []byte

func (*ScopeSpecIdInfo) GetScopeSpecUuid added in v1.0.0

func (m *ScopeSpecIdInfo) GetScopeSpecUuid() string

func (*ScopeSpecIdInfo) Marshal added in v1.0.0

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

func (*ScopeSpecIdInfo) MarshalTo added in v1.0.0

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

func (*ScopeSpecIdInfo) MarshalToSizedBuffer added in v1.0.0

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

func (*ScopeSpecIdInfo) ProtoMessage added in v1.0.0

func (*ScopeSpecIdInfo) ProtoMessage()

func (*ScopeSpecIdInfo) Reset added in v1.0.0

func (m *ScopeSpecIdInfo) Reset()

func (*ScopeSpecIdInfo) Size added in v1.0.0

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

func (*ScopeSpecIdInfo) String added in v1.0.0

func (m *ScopeSpecIdInfo) String() string

func (*ScopeSpecIdInfo) Unmarshal added in v1.0.0

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

func (*ScopeSpecIdInfo) XXX_DiscardUnknown added in v1.0.0

func (m *ScopeSpecIdInfo) XXX_DiscardUnknown()

func (*ScopeSpecIdInfo) XXX_Marshal added in v1.0.0

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

func (*ScopeSpecIdInfo) XXX_Merge added in v1.0.0

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

func (*ScopeSpecIdInfo) XXX_Size added in v1.0.0

func (m *ScopeSpecIdInfo) XXX_Size() int

func (*ScopeSpecIdInfo) XXX_Unmarshal added in v1.0.0

func (m *ScopeSpecIdInfo) XXX_Unmarshal(b []byte) error

type ScopeSpecification

type ScopeSpecification struct {
	// unique identifier for this specification on chain
	SpecificationId MetadataAddress `protobuf:"bytes,1,opt,name=specification_id,json=specificationId,proto3,customtype=MetadataAddress" json:"specification_id"`
	// General information about this scope specification.
	Description *Description `protobuf:"bytes,2,opt,name=description,proto3" json:"description,omitempty"`
	// Addresses of the owners of this scope specification.
	OwnerAddresses []string `protobuf:"bytes,3,rep,name=owner_addresses,json=ownerAddresses,proto3" json:"owner_addresses,omitempty"`
	// A list of parties that must be present on a scope (and their associated roles)
	PartiesInvolved []PartyType `` /* 152-byte string literal not displayed */
	// A list of contract specification ids allowed for a scope based on this specification.
	ContractSpecIds []MetadataAddress `protobuf:"bytes,5,rep,name=contract_spec_ids,json=contractSpecIds,proto3,customtype=MetadataAddress" json:"contract_spec_ids"`
}

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 (this *ScopeSpecification) String() string

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 {
	// specification_id can either be a uuid, e.g. dc83ea70-eacd-40fe-9adf-1cf6148bf8a2 or a bech32 scope specification
	// address, e.g. scopespec1qnwg86nsatx5pl56muw0v9ytlz3qu3jx6m.
	SpecificationId string `protobuf:"bytes,1,opt,name=specification_id,json=specificationId,proto3" json:"specification_id,omitempty"`
	// include_contract_specs is a flag for whether to include the contract specifications of the scope specification in
	// the response.
	IncludeContractSpecs bool `protobuf:"varint,10,opt,name=include_contract_specs,json=includeContractSpecs,proto3" json:"include_contract_specs,omitempty"`
	// include_record_specs is a flag for whether to include the record specifications of the scope specification in the
	// response.
	IncludeRecordSpecs bool `protobuf:"varint,11,opt,name=include_record_specs,json=includeRecordSpecs,proto3" json:"include_record_specs,omitempty"`
	// exclude_id_info is a flag for whether to exclude the id info from the response.
	ExcludeIdInfo bool `protobuf:"varint,12,opt,name=exclude_id_info,json=excludeIdInfo,proto3" json:"exclude_id_info,omitempty"`
	// include_request is a flag for whether to include this request in your result.
	IncludeRequest bool `protobuf:"varint,98,opt,name=include_request,json=includeRequest,proto3" json:"include_request,omitempty"`
}

ScopeSpecificationRequest is the request type for the Query/ScopeSpecification RPC method.

func (*ScopeSpecificationRequest) Descriptor added in v0.1.5

func (*ScopeSpecificationRequest) Descriptor() ([]byte, []int)

func (*ScopeSpecificationRequest) GetExcludeIdInfo added in v1.17.0

func (m *ScopeSpecificationRequest) GetExcludeIdInfo() bool

func (*ScopeSpecificationRequest) GetIncludeContractSpecs added in v1.15.0

func (m *ScopeSpecificationRequest) GetIncludeContractSpecs() bool

func (*ScopeSpecificationRequest) GetIncludeRecordSpecs added in v1.15.0

func (m *ScopeSpecificationRequest) GetIncludeRecordSpecs() bool

func (*ScopeSpecificationRequest) GetIncludeRequest added in v1.17.0

func (m *ScopeSpecificationRequest) GetIncludeRequest() bool

func (*ScopeSpecificationRequest) GetSpecificationId added in v1.0.0

func (m *ScopeSpecificationRequest) GetSpecificationId() 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 {
	// scope_specification is the wrapped scope specification.
	ScopeSpecification *ScopeSpecificationWrapper `protobuf:"bytes,1,opt,name=scope_specification,json=scopeSpecification,proto3" json:"scope_specification,omitempty"`
	// contract_specs is any number of wrapped contract specifications in this scope specification (if requested).
	ContractSpecs []*ContractSpecificationWrapper `protobuf:"bytes,2,rep,name=contract_specs,json=contractSpecs,proto3" json:"contract_specs,omitempty"`
	// record_specs is any number of wrapped record specifications in this scope specification (if requested).
	RecordSpecs []*RecordSpecificationWrapper `protobuf:"bytes,3,rep,name=record_specs,json=recordSpecs,proto3" json:"record_specs,omitempty"`
	// request is a copy of the request that generated these results.
	Request *ScopeSpecificationRequest `protobuf:"bytes,98,opt,name=request,proto3" json:"request,omitempty"`
}

ScopeSpecificationResponse is the response type for the Query/ScopeSpecification RPC method.

func (*ScopeSpecificationResponse) Descriptor added in v0.1.5

func (*ScopeSpecificationResponse) Descriptor() ([]byte, []int)

func (*ScopeSpecificationResponse) GetContractSpecs added in v1.15.0

func (*ScopeSpecificationResponse) GetRecordSpecs added in v1.15.0

func (*ScopeSpecificationResponse) GetRequest added in v1.0.0

func (*ScopeSpecificationResponse) GetScopeSpecification added in v0.1.5

func (m *ScopeSpecificationResponse) GetScopeSpecification() *ScopeSpecificationWrapper

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 ScopeSpecificationWrapper added in v1.0.0

type ScopeSpecificationWrapper struct {
	// specification is the on-chain scope specification message.
	Specification *ScopeSpecification `protobuf:"bytes,1,opt,name=specification,proto3" json:"specification,omitempty"`
	// scope_spec_id_info contains information about the id/address of the scope specification.
	ScopeSpecIdInfo *ScopeSpecIdInfo `protobuf:"bytes,2,opt,name=scope_spec_id_info,json=scopeSpecIdInfo,proto3" json:"scope_spec_id_info,omitempty"`
}

ScopeSpecificationWrapper contains a single scope specification and some extra identifiers for it.

func WrapScopeSpec added in v1.0.0

func WrapScopeSpec(spec *ScopeSpecification, includeIDInfo bool) *ScopeSpecificationWrapper

WrapScopeSpec wraps a scope specification in a ScopeSpecificationWrapper and populates the _addr and _uuid fields.

func WrapScopeSpecNotFound added in v1.0.0

func WrapScopeSpecNotFound(ma MetadataAddress) *ScopeSpecificationWrapper

WrapScopeSpecNotFound creates a ScopeSpecificationWrapper with the _addr and _uuid fields set using the provided MetadataAddress.

func (*ScopeSpecificationWrapper) Descriptor added in v1.0.0

func (*ScopeSpecificationWrapper) Descriptor() ([]byte, []int)

func (*ScopeSpecificationWrapper) GetScopeSpecIdInfo added in v1.0.0

func (m *ScopeSpecificationWrapper) GetScopeSpecIdInfo() *ScopeSpecIdInfo

func (*ScopeSpecificationWrapper) GetSpecification added in v1.0.0

func (m *ScopeSpecificationWrapper) GetSpecification() *ScopeSpecification

func (*ScopeSpecificationWrapper) Marshal added in v1.0.0

func (m *ScopeSpecificationWrapper) Marshal() (dAtA []byte, err error)

func (*ScopeSpecificationWrapper) MarshalTo added in v1.0.0

func (m *ScopeSpecificationWrapper) MarshalTo(dAtA []byte) (int, error)

func (*ScopeSpecificationWrapper) MarshalToSizedBuffer added in v1.0.0

func (m *ScopeSpecificationWrapper) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*ScopeSpecificationWrapper) ProtoMessage added in v1.0.0

func (*ScopeSpecificationWrapper) ProtoMessage()

func (*ScopeSpecificationWrapper) Reset added in v1.0.0

func (m *ScopeSpecificationWrapper) Reset()

func (*ScopeSpecificationWrapper) Size added in v1.0.0

func (m *ScopeSpecificationWrapper) Size() (n int)

func (*ScopeSpecificationWrapper) String added in v1.0.0

func (m *ScopeSpecificationWrapper) String() string

func (*ScopeSpecificationWrapper) Unmarshal added in v1.0.0

func (m *ScopeSpecificationWrapper) Unmarshal(dAtA []byte) error

func (*ScopeSpecificationWrapper) XXX_DiscardUnknown added in v1.0.0

func (m *ScopeSpecificationWrapper) XXX_DiscardUnknown()

func (*ScopeSpecificationWrapper) XXX_Marshal added in v1.0.0

func (m *ScopeSpecificationWrapper) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ScopeSpecificationWrapper) XXX_Merge added in v1.0.0

func (m *ScopeSpecificationWrapper) XXX_Merge(src proto.Message)

func (*ScopeSpecificationWrapper) XXX_Size added in v1.0.0

func (m *ScopeSpecificationWrapper) XXX_Size() int

func (*ScopeSpecificationWrapper) XXX_Unmarshal added in v1.0.0

func (m *ScopeSpecificationWrapper) XXX_Unmarshal(b []byte) error

type ScopeSpecificationsAllRequest added in v1.0.0

type ScopeSpecificationsAllRequest struct {
	// exclude_id_info is a flag for whether to exclude the id info from the response.
	ExcludeIdInfo bool `protobuf:"varint,12,opt,name=exclude_id_info,json=excludeIdInfo,proto3" json:"exclude_id_info,omitempty"`
	// include_request is a flag for whether to include this request in your result.
	IncludeRequest bool `protobuf:"varint,98,opt,name=include_request,json=includeRequest,proto3" json:"include_request,omitempty"`
	// pagination defines optional pagination parameters for the request.
	Pagination *query.PageRequest `protobuf:"bytes,99,opt,name=pagination,proto3" json:"pagination,omitempty"`
}

ScopeSpecificationsAllRequest is the request type for the Query/ScopeSpecificationsAll RPC method.

func (*ScopeSpecificationsAllRequest) Descriptor added in v1.0.0

func (*ScopeSpecificationsAllRequest) Descriptor() ([]byte, []int)

func (*ScopeSpecificationsAllRequest) GetExcludeIdInfo added in v1.17.0

func (m *ScopeSpecificationsAllRequest) GetExcludeIdInfo() bool

func (*ScopeSpecificationsAllRequest) GetIncludeRequest added in v1.17.0

func (m *ScopeSpecificationsAllRequest) GetIncludeRequest() bool

func (*ScopeSpecificationsAllRequest) GetPagination added in v1.0.0

func (m *ScopeSpecificationsAllRequest) GetPagination() *query.PageRequest

func (*ScopeSpecificationsAllRequest) Marshal added in v1.0.0

func (m *ScopeSpecificationsAllRequest) Marshal() (dAtA []byte, err error)

func (*ScopeSpecificationsAllRequest) MarshalTo added in v1.0.0

func (m *ScopeSpecificationsAllRequest) MarshalTo(dAtA []byte) (int, error)

func (*ScopeSpecificationsAllRequest) MarshalToSizedBuffer added in v1.0.0

func (m *ScopeSpecificationsAllRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*ScopeSpecificationsAllRequest) ProtoMessage added in v1.0.0

func (*ScopeSpecificationsAllRequest) ProtoMessage()

func (*ScopeSpecificationsAllRequest) Reset added in v1.0.0

func (m *ScopeSpecificationsAllRequest) Reset()

func (*ScopeSpecificationsAllRequest) Size added in v1.0.0

func (m *ScopeSpecificationsAllRequest) Size() (n int)

func (*ScopeSpecificationsAllRequest) String added in v1.0.0

func (*ScopeSpecificationsAllRequest) Unmarshal added in v1.0.0

func (m *ScopeSpecificationsAllRequest) Unmarshal(dAtA []byte) error

func (*ScopeSpecificationsAllRequest) XXX_DiscardUnknown added in v1.0.0

func (m *ScopeSpecificationsAllRequest) XXX_DiscardUnknown()

func (*ScopeSpecificationsAllRequest) XXX_Marshal added in v1.0.0

func (m *ScopeSpecificationsAllRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ScopeSpecificationsAllRequest) XXX_Merge added in v1.0.0

func (m *ScopeSpecificationsAllRequest) XXX_Merge(src proto.Message)

func (*ScopeSpecificationsAllRequest) XXX_Size added in v1.0.0

func (m *ScopeSpecificationsAllRequest) XXX_Size() int

func (*ScopeSpecificationsAllRequest) XXX_Unmarshal added in v1.0.0

func (m *ScopeSpecificationsAllRequest) XXX_Unmarshal(b []byte) error

type ScopeSpecificationsAllResponse added in v1.0.0

type ScopeSpecificationsAllResponse struct {
	// scope_specifications are the wrapped scope specifications.
	ScopeSpecifications []*ScopeSpecificationWrapper `protobuf:"bytes,1,rep,name=scope_specifications,json=scopeSpecifications,proto3" json:"scope_specifications,omitempty"`
	// request is a copy of the request that generated these results.
	Request *ScopeSpecificationsAllRequest `protobuf:"bytes,98,opt,name=request,proto3" json:"request,omitempty"`
	// pagination provides the pagination information of this response.
	Pagination *query.PageResponse `protobuf:"bytes,99,opt,name=pagination,proto3" json:"pagination,omitempty"`
}

ScopeSpecificationsAllResponse is the response type for the Query/ScopeSpecificationsAll RPC method.

func (*ScopeSpecificationsAllResponse) Descriptor added in v1.0.0

func (*ScopeSpecificationsAllResponse) Descriptor() ([]byte, []int)

func (*ScopeSpecificationsAllResponse) GetPagination added in v1.0.0

func (*ScopeSpecificationsAllResponse) GetRequest added in v1.0.0

func (*ScopeSpecificationsAllResponse) GetScopeSpecifications added in v1.0.0

func (m *ScopeSpecificationsAllResponse) GetScopeSpecifications() []*ScopeSpecificationWrapper

func (*ScopeSpecificationsAllResponse) Marshal added in v1.0.0

func (m *ScopeSpecificationsAllResponse) Marshal() (dAtA []byte, err error)

func (*ScopeSpecificationsAllResponse) MarshalTo added in v1.0.0

func (m *ScopeSpecificationsAllResponse) MarshalTo(dAtA []byte) (int, error)

func (*ScopeSpecificationsAllResponse) MarshalToSizedBuffer added in v1.0.0

func (m *ScopeSpecificationsAllResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*ScopeSpecificationsAllResponse) ProtoMessage added in v1.0.0

func (*ScopeSpecificationsAllResponse) ProtoMessage()

func (*ScopeSpecificationsAllResponse) Reset added in v1.0.0

func (m *ScopeSpecificationsAllResponse) Reset()

func (*ScopeSpecificationsAllResponse) Size added in v1.0.0

func (m *ScopeSpecificationsAllResponse) Size() (n int)

func (*ScopeSpecificationsAllResponse) String added in v1.0.0

func (*ScopeSpecificationsAllResponse) Unmarshal added in v1.0.0

func (m *ScopeSpecificationsAllResponse) Unmarshal(dAtA []byte) error

func (*ScopeSpecificationsAllResponse) XXX_DiscardUnknown added in v1.0.0

func (m *ScopeSpecificationsAllResponse) XXX_DiscardUnknown()

func (*ScopeSpecificationsAllResponse) XXX_Marshal added in v1.0.0

func (m *ScopeSpecificationsAllResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ScopeSpecificationsAllResponse) XXX_Merge added in v1.0.0

func (m *ScopeSpecificationsAllResponse) XXX_Merge(src proto.Message)

func (*ScopeSpecificationsAllResponse) XXX_Size added in v1.0.0

func (m *ScopeSpecificationsAllResponse) XXX_Size() int

func (*ScopeSpecificationsAllResponse) XXX_Unmarshal added in v1.0.0

func (m *ScopeSpecificationsAllResponse) XXX_Unmarshal(b []byte) error

type ScopeWrapper added in v1.0.0

type ScopeWrapper struct {
	// scope is the on-chain scope message.
	Scope *Scope `protobuf:"bytes,1,opt,name=scope,proto3" json:"scope,omitempty"`
	// scope_id_info contains information about the id/address of the scope.
	ScopeIdInfo *ScopeIdInfo `protobuf:"bytes,2,opt,name=scope_id_info,json=scopeIdInfo,proto3" json:"scope_id_info,omitempty"`
	// scope_spec_id_info contains information about the id/address of the scope specification.
	ScopeSpecIdInfo *ScopeSpecIdInfo `protobuf:"bytes,3,opt,name=scope_spec_id_info,json=scopeSpecIdInfo,proto3" json:"scope_spec_id_info,omitempty"`
}

SessionWrapper contains a single scope and its uuid.

func WrapScope added in v1.0.0

func WrapScope(scope *Scope, includeIDInfo bool) *ScopeWrapper

WrapScope wraps a scope in a ScopeWrapper and populates the _addr and _uuid fields.

func WrapScopeNotFound added in v1.0.0

func WrapScopeNotFound(scopeAddr MetadataAddress) *ScopeWrapper

WrapScopeNotFound creates a ScopeWrapper with the _addr and _uuid fields set using the provided MetadataAddress.

func (*ScopeWrapper) Descriptor added in v1.0.0

func (*ScopeWrapper) Descriptor() ([]byte, []int)

func (*ScopeWrapper) GetScope added in v1.0.0

func (m *ScopeWrapper) GetScope() *Scope

func (*ScopeWrapper) GetScopeIdInfo added in v1.0.0

func (m *ScopeWrapper) GetScopeIdInfo() *ScopeIdInfo

func (*ScopeWrapper) GetScopeSpecIdInfo added in v1.0.0

func (m *ScopeWrapper) GetScopeSpecIdInfo() *ScopeSpecIdInfo

func (*ScopeWrapper) Marshal added in v1.0.0

func (m *ScopeWrapper) Marshal() (dAtA []byte, err error)

func (*ScopeWrapper) MarshalTo added in v1.0.0

func (m *ScopeWrapper) MarshalTo(dAtA []byte) (int, error)

func (*ScopeWrapper) MarshalToSizedBuffer added in v1.0.0

func (m *ScopeWrapper) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*ScopeWrapper) ProtoMessage added in v1.0.0

func (*ScopeWrapper) ProtoMessage()

func (*ScopeWrapper) Reset added in v1.0.0

func (m *ScopeWrapper) Reset()

func (*ScopeWrapper) Size added in v1.0.0

func (m *ScopeWrapper) Size() (n int)

func (*ScopeWrapper) String added in v1.0.0

func (m *ScopeWrapper) String() string

func (*ScopeWrapper) Unmarshal added in v1.0.0

func (m *ScopeWrapper) Unmarshal(dAtA []byte) error

func (*ScopeWrapper) XXX_DiscardUnknown added in v1.0.0

func (m *ScopeWrapper) XXX_DiscardUnknown()

func (*ScopeWrapper) XXX_Marshal added in v1.0.0

func (m *ScopeWrapper) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ScopeWrapper) XXX_Merge added in v1.0.0

func (m *ScopeWrapper) XXX_Merge(src proto.Message)

func (*ScopeWrapper) XXX_Size added in v1.0.0

func (m *ScopeWrapper) XXX_Size() int

func (*ScopeWrapper) XXX_Unmarshal added in v1.0.0

func (m *ScopeWrapper) XXX_Unmarshal(b []byte) error

type ScopesAllRequest added in v1.0.0

type ScopesAllRequest struct {
	// exclude_id_info is a flag for whether to exclude the id info from the response.
	ExcludeIdInfo bool `protobuf:"varint,12,opt,name=exclude_id_info,json=excludeIdInfo,proto3" json:"exclude_id_info,omitempty"`
	// include_request is a flag for whether to include this request in your result.
	IncludeRequest bool `protobuf:"varint,98,opt,name=include_request,json=includeRequest,proto3" json:"include_request,omitempty"`
	// pagination defines optional pagination parameters for the request.
	Pagination *query.PageRequest `protobuf:"bytes,99,opt,name=pagination,proto3" json:"pagination,omitempty"`
}

ScopesAllRequest is the request type for the Query/ScopesAll RPC method.

func (*ScopesAllRequest) Descriptor added in v1.0.0

func (*ScopesAllRequest) Descriptor() ([]byte, []int)

func (*ScopesAllRequest) GetExcludeIdInfo added in v1.17.0

func (m *ScopesAllRequest) GetExcludeIdInfo() bool

func (*ScopesAllRequest) GetIncludeRequest added in v1.17.0

func (m *ScopesAllRequest) GetIncludeRequest() bool

func (*ScopesAllRequest) GetPagination added in v1.0.0

func (m *ScopesAllRequest) GetPagination() *query.PageRequest

func (*ScopesAllRequest) Marshal added in v1.0.0

func (m *ScopesAllRequest) Marshal() (dAtA []byte, err error)

func (*ScopesAllRequest) MarshalTo added in v1.0.0

func (m *ScopesAllRequest) MarshalTo(dAtA []byte) (int, error)

func (*ScopesAllRequest) MarshalToSizedBuffer added in v1.0.0

func (m *ScopesAllRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*ScopesAllRequest) ProtoMessage added in v1.0.0

func (*ScopesAllRequest) ProtoMessage()

func (*ScopesAllRequest) Reset added in v1.0.0

func (m *ScopesAllRequest) Reset()

func (*ScopesAllRequest) Size added in v1.0.0

func (m *ScopesAllRequest) Size() (n int)

func (*ScopesAllRequest) String added in v1.0.0

func (m *ScopesAllRequest) String() string

func (*ScopesAllRequest) Unmarshal added in v1.0.0

func (m *ScopesAllRequest) Unmarshal(dAtA []byte) error

func (*ScopesAllRequest) XXX_DiscardUnknown added in v1.0.0

func (m *ScopesAllRequest) XXX_DiscardUnknown()

func (*ScopesAllRequest) XXX_Marshal added in v1.0.0

func (m *ScopesAllRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ScopesAllRequest) XXX_Merge added in v1.0.0

func (m *ScopesAllRequest) XXX_Merge(src proto.Message)

func (*ScopesAllRequest) XXX_Size added in v1.0.0

func (m *ScopesAllRequest) XXX_Size() int

func (*ScopesAllRequest) XXX_Unmarshal added in v1.0.0

func (m *ScopesAllRequest) XXX_Unmarshal(b []byte) error

type ScopesAllResponse added in v1.0.0

type ScopesAllResponse struct {
	// scopes are the wrapped scopes.
	Scopes []*ScopeWrapper `protobuf:"bytes,1,rep,name=scopes,proto3" json:"scopes,omitempty"`
	// request is a copy of the request that generated these results.
	Request *ScopesAllRequest `protobuf:"bytes,98,opt,name=request,proto3" json:"request,omitempty"`
	// pagination provides the pagination information of this response.
	Pagination *query.PageResponse `protobuf:"bytes,99,opt,name=pagination,proto3" json:"pagination,omitempty"`
}

ScopesAllResponse is the response type for the Query/ScopesAll RPC method.

func (*ScopesAllResponse) Descriptor added in v1.0.0

func (*ScopesAllResponse) Descriptor() ([]byte, []int)

func (*ScopesAllResponse) GetPagination added in v1.0.0

func (m *ScopesAllResponse) GetPagination() *query.PageResponse

func (*ScopesAllResponse) GetRequest added in v1.0.0

func (m *ScopesAllResponse) GetRequest() *ScopesAllRequest

func (*ScopesAllResponse) GetScopes added in v1.0.0

func (m *ScopesAllResponse) GetScopes() []*ScopeWrapper

func (*ScopesAllResponse) Marshal added in v1.0.0

func (m *ScopesAllResponse) Marshal() (dAtA []byte, err error)

func (*ScopesAllResponse) MarshalTo added in v1.0.0

func (m *ScopesAllResponse) MarshalTo(dAtA []byte) (int, error)

func (*ScopesAllResponse) MarshalToSizedBuffer added in v1.0.0

func (m *ScopesAllResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*ScopesAllResponse) ProtoMessage added in v1.0.0

func (*ScopesAllResponse) ProtoMessage()

func (*ScopesAllResponse) Reset added in v1.0.0

func (m *ScopesAllResponse) Reset()

func (*ScopesAllResponse) Size added in v1.0.0

func (m *ScopesAllResponse) Size() (n int)

func (*ScopesAllResponse) String added in v1.0.0

func (m *ScopesAllResponse) String() string

func (*ScopesAllResponse) Unmarshal added in v1.0.0

func (m *ScopesAllResponse) Unmarshal(dAtA []byte) error

func (*ScopesAllResponse) XXX_DiscardUnknown added in v1.0.0

func (m *ScopesAllResponse) XXX_DiscardUnknown()

func (*ScopesAllResponse) XXX_Marshal added in v1.0.0

func (m *ScopesAllResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ScopesAllResponse) XXX_Merge added in v1.0.0

func (m *ScopesAllResponse) XXX_Merge(src proto.Message)

func (*ScopesAllResponse) XXX_Size added in v1.0.0

func (m *ScopesAllResponse) XXX_Size() int

func (*ScopesAllResponse) XXX_Unmarshal added in v1.0.0

func (m *ScopesAllResponse) XXX_Unmarshal(b []byte) error

type Session added in v0.2.0

type Session struct {
	SessionId MetadataAddress `protobuf:"bytes,1,opt,name=session_id,json=sessionId,proto3,customtype=MetadataAddress" json:"session_id"`
	// unique id of the contract specification that was used to create this session.
	SpecificationId MetadataAddress `protobuf:"bytes,2,opt,name=specification_id,json=specificationId,proto3,customtype=MetadataAddress" json:"specification_id"`
	// parties is the 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:"name,omitempty"`
	// context is a field for storing client specific data associated with a session.
	Context []byte `protobuf:"bytes,5,opt,name=context,proto3" json:"context,omitempty"`
	// Created by, updated by, timestamps, version number, and related info.
	Audit *AuditFields `protobuf:"bytes,99,opt,name=audit,proto3" json:"audit,omitempty"`
}

Session defines an execution context against a specific specification instance. The context will have a specification and set of parties involved.

NOTE: When there are no more Records within a Scope that reference a Session, the Session 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) GetAllPartyAddresses added in v1.15.0

func (s Session) GetAllPartyAddresses() []string

GetAllPartyAddresses gets the addresses of all of the parties. Each address can only appear once in the return value.

func (*Session) GetAudit added in v0.2.0

func (m *Session) GetAudit() *AuditFields

func (*Session) GetContext added in v1.3.0

func (m *Session) GetContext() []byte

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 (this *Session) String() string

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 SessionIdComponents added in v1.0.0

type SessionIdComponents struct {
	// scope is used to define the scope this session belongs to.
	//
	// Types that are valid to be assigned to ScopeIdentifier:
	//	*SessionIdComponents_ScopeUuid
	//	*SessionIdComponents_ScopeAddr
	ScopeIdentifier isSessionIdComponents_ScopeIdentifier `protobuf_oneof:"scope_identifier"`
	// session_uuid is a uuid string for identifying this session, e.g. "5803f8bc-6067-4eb5-951f-2121671c2ec0"
	SessionUuid string `protobuf:"bytes,3,opt,name=session_uuid,json=sessionUuid,proto3" json:"session_uuid,omitempty"`
}

SessionIDComponents contains fields for the components that make up a session id.

func (*SessionIdComponents) Descriptor added in v1.0.0

func (*SessionIdComponents) Descriptor() ([]byte, []int)

func (*SessionIdComponents) GetScopeAddr added in v1.0.0

func (m *SessionIdComponents) GetScopeAddr() string

func (*SessionIdComponents) GetScopeIdentifier added in v1.0.0

func (m *SessionIdComponents) GetScopeIdentifier() isSessionIdComponents_ScopeIdentifier

func (*SessionIdComponents) GetScopeUuid added in v1.0.0

func (m *SessionIdComponents) GetScopeUuid() string

func (*SessionIdComponents) GetSessionAddr added in v1.0.0

func (msg *SessionIdComponents) GetSessionAddr() (MetadataAddress, error)

func (*SessionIdComponents) GetSessionUuid added in v1.0.0

func (m *SessionIdComponents) GetSessionUuid() string

func (*SessionIdComponents) Marshal added in v1.0.0

func (m *SessionIdComponents) Marshal() (dAtA []byte, err error)

func (*SessionIdComponents) MarshalTo added in v1.0.0

func (m *SessionIdComponents) MarshalTo(dAtA []byte) (int, error)

func (*SessionIdComponents) MarshalToSizedBuffer added in v1.0.0

func (m *SessionIdComponents) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*SessionIdComponents) ProtoMessage added in v1.0.0

func (*SessionIdComponents) ProtoMessage()

func (*SessionIdComponents) Reset added in v1.0.0

func (m *SessionIdComponents) Reset()

func (*SessionIdComponents) Size added in v1.0.0

func (m *SessionIdComponents) Size() (n int)

func (*SessionIdComponents) String added in v1.0.0

func (m *SessionIdComponents) String() string

func (*SessionIdComponents) Unmarshal added in v1.0.0

func (m *SessionIdComponents) Unmarshal(dAtA []byte) error

func (*SessionIdComponents) XXX_DiscardUnknown added in v1.0.0

func (m *SessionIdComponents) XXX_DiscardUnknown()

func (*SessionIdComponents) XXX_Marshal added in v1.0.0

func (m *SessionIdComponents) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*SessionIdComponents) XXX_Merge added in v1.0.0

func (m *SessionIdComponents) XXX_Merge(src proto.Message)

func (*SessionIdComponents) XXX_OneofWrappers added in v1.0.0

func (*SessionIdComponents) XXX_OneofWrappers() []interface{}

XXX_OneofWrappers is for the internal use of the proto package.

func (*SessionIdComponents) XXX_Size added in v1.0.0

func (m *SessionIdComponents) XXX_Size() int

func (*SessionIdComponents) XXX_Unmarshal added in v1.0.0

func (m *SessionIdComponents) XXX_Unmarshal(b []byte) error

type SessionIdComponents_ScopeAddr added in v1.0.0

type SessionIdComponents_ScopeAddr struct {
	ScopeAddr string `protobuf:"bytes,2,opt,name=scope_addr,json=scopeAddr,proto3,oneof" json:"scope_addr,omitempty"`
}

func (*SessionIdComponents_ScopeAddr) MarshalTo added in v1.0.0

func (m *SessionIdComponents_ScopeAddr) MarshalTo(dAtA []byte) (int, error)

func (*SessionIdComponents_ScopeAddr) MarshalToSizedBuffer added in v1.0.0

func (m *SessionIdComponents_ScopeAddr) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*SessionIdComponents_ScopeAddr) Size added in v1.0.0

func (m *SessionIdComponents_ScopeAddr) Size() (n int)

type SessionIdComponents_ScopeUuid added in v1.0.0

type SessionIdComponents_ScopeUuid struct {
	ScopeUuid string `protobuf:"bytes,1,opt,name=scope_uuid,json=scopeUuid,proto3,oneof" json:"scope_uuid,omitempty"`
}

func (*SessionIdComponents_ScopeUuid) MarshalTo added in v1.0.0

func (m *SessionIdComponents_ScopeUuid) MarshalTo(dAtA []byte) (int, error)

func (*SessionIdComponents_ScopeUuid) MarshalToSizedBuffer added in v1.0.0

func (m *SessionIdComponents_ScopeUuid) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*SessionIdComponents_ScopeUuid) Size added in v1.0.0

func (m *SessionIdComponents_ScopeUuid) Size() (n int)

type SessionIdInfo added in v1.0.0

type SessionIdInfo struct {
	// session_id is the raw bytes of the session address.
	SessionId MetadataAddress `protobuf:"bytes,1,opt,name=session_id,json=sessionId,proto3,customtype=MetadataAddress" json:"session_id"`
	// session_id_prefix is the prefix portion of the session_id.
	SessionIdPrefix []byte `protobuf:"bytes,2,opt,name=session_id_prefix,json=sessionIdPrefix,proto3" json:"session_id_prefix,omitempty"`
	// session_id_scope_uuid is the scope_uuid portion of the session_id.
	SessionIdScopeUuid []byte `protobuf:"bytes,3,opt,name=session_id_scope_uuid,json=sessionIdScopeUuid,proto3" json:"session_id_scope_uuid,omitempty"`
	// session_id_session_uuid is the session_uuid portion of the session_id.
	SessionIdSessionUuid []byte `protobuf:"bytes,4,opt,name=session_id_session_uuid,json=sessionIdSessionUuid,proto3" json:"session_id_session_uuid,omitempty"`
	// session_addr is the bech32 string version of the session_id.
	SessionAddr string `protobuf:"bytes,5,opt,name=session_addr,json=sessionAddr,proto3" json:"session_addr,omitempty"`
	// session_uuid is the uuid hex string of the session_id_session_uuid.
	SessionUuid string `protobuf:"bytes,6,opt,name=session_uuid,json=sessionUuid,proto3" json:"session_uuid,omitempty"`
	// scope_id_info is information about the scope id referenced in the session_id.
	ScopeIdInfo *ScopeIdInfo `protobuf:"bytes,7,opt,name=scope_id_info,json=scopeIdInfo,proto3" json:"scope_id_info,omitempty"`
}

SessionIdInfo contains various info regarding a session id.

func GetSessionIDInfo added in v1.0.0

func GetSessionIDInfo(sessionID MetadataAddress) *SessionIdInfo

GetSessionIDInfo creates a SessionIdInfo populated with info about the provided MetadataAddress.

func (*SessionIdInfo) Descriptor added in v1.0.0

func (*SessionIdInfo) Descriptor() ([]byte, []int)

func (*SessionIdInfo) GetScopeIdInfo added in v1.0.0

func (m *SessionIdInfo) GetScopeIdInfo() *ScopeIdInfo

func (*SessionIdInfo) GetSessionAddr added in v1.0.0

func (m *SessionIdInfo) GetSessionAddr() string

func (*SessionIdInfo) GetSessionIdPrefix added in v1.0.0

func (m *SessionIdInfo) GetSessionIdPrefix() []byte

func (*SessionIdInfo) GetSessionIdScopeUuid added in v1.0.0

func (m *SessionIdInfo) GetSessionIdScopeUuid() []byte

func (*SessionIdInfo) GetSessionIdSessionUuid added in v1.0.0

func (m *SessionIdInfo) GetSessionIdSessionUuid() []byte

func (*SessionIdInfo) GetSessionUuid added in v1.0.0

func (m *SessionIdInfo) GetSessionUuid() string

func (*SessionIdInfo) Marshal added in v1.0.0

func (m *SessionIdInfo) Marshal() (dAtA []byte, err error)

func (*SessionIdInfo) MarshalTo added in v1.0.0

func (m *SessionIdInfo) MarshalTo(dAtA []byte) (int, error)

func (*SessionIdInfo) MarshalToSizedBuffer added in v1.0.0

func (m *SessionIdInfo) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*SessionIdInfo) ProtoMessage added in v1.0.0

func (*SessionIdInfo) ProtoMessage()

func (*SessionIdInfo) Reset added in v1.0.0

func (m *SessionIdInfo) Reset()

func (*SessionIdInfo) Size added in v1.0.0

func (m *SessionIdInfo) Size() (n int)

func (*SessionIdInfo) String added in v1.0.0

func (m *SessionIdInfo) String() string

func (*SessionIdInfo) Unmarshal added in v1.0.0

func (m *SessionIdInfo) Unmarshal(dAtA []byte) error

func (*SessionIdInfo) XXX_DiscardUnknown added in v1.0.0

func (m *SessionIdInfo) XXX_DiscardUnknown()

func (*SessionIdInfo) XXX_Marshal added in v1.0.0

func (m *SessionIdInfo) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*SessionIdInfo) XXX_Merge added in v1.0.0

func (m *SessionIdInfo) XXX_Merge(src proto.Message)

func (*SessionIdInfo) XXX_Size added in v1.0.0

func (m *SessionIdInfo) XXX_Size() int

func (*SessionIdInfo) XXX_Unmarshal added in v1.0.0

func (m *SessionIdInfo) XXX_Unmarshal(b []byte) error

type SessionWrapper added in v1.0.0

type SessionWrapper struct {
	// session is the on-chain session message.
	Session *Session `protobuf:"bytes,1,opt,name=session,proto3" json:"session,omitempty"`
	// session_id_info contains information about the id/address of the session.
	SessionIdInfo *SessionIdInfo `protobuf:"bytes,2,opt,name=session_id_info,json=sessionIdInfo,proto3" json:"session_id_info,omitempty"`
	// contract_spec_id_info contains information about the id/address of the contract specification.
	ContractSpecIdInfo *ContractSpecIdInfo `protobuf:"bytes,3,opt,name=contract_spec_id_info,json=contractSpecIdInfo,proto3" json:"contract_spec_id_info,omitempty"`
}

SessionWrapper contains a single session and some extra identifiers for it.

func WrapSession added in v1.0.0

func WrapSession(session *Session, includeIDInfo bool) *SessionWrapper

WrapSession wraps a session in a SessionWrapper and populates the _addr and _uuid fields.

func WrapSessionNotFound added in v1.0.0

func WrapSessionNotFound(sessionAddr MetadataAddress) *SessionWrapper

WrapSessionNotFound creates a SessionWrapper with the _addr and _uuid fields set using the provided MetadataAddress.

func (*SessionWrapper) Descriptor added in v1.0.0

func (*SessionWrapper) Descriptor() ([]byte, []int)

func (*SessionWrapper) GetContractSpecIdInfo added in v1.0.0

func (m *SessionWrapper) GetContractSpecIdInfo() *ContractSpecIdInfo

func (*SessionWrapper) GetSession added in v1.0.0

func (m *SessionWrapper) GetSession() *Session

func (*SessionWrapper) GetSessionIdInfo added in v1.0.0

func (m *SessionWrapper) GetSessionIdInfo() *SessionIdInfo

func (*SessionWrapper) Marshal added in v1.0.0

func (m *SessionWrapper) Marshal() (dAtA []byte, err error)

func (*SessionWrapper) MarshalTo added in v1.0.0

func (m *SessionWrapper) MarshalTo(dAtA []byte) (int, error)

func (*SessionWrapper) MarshalToSizedBuffer added in v1.0.0

func (m *SessionWrapper) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*SessionWrapper) ProtoMessage added in v1.0.0

func (*SessionWrapper) ProtoMessage()

func (*SessionWrapper) Reset added in v1.0.0

func (m *SessionWrapper) Reset()

func (*SessionWrapper) Size added in v1.0.0

func (m *SessionWrapper) Size() (n int)

func (*SessionWrapper) String added in v1.0.0

func (m *SessionWrapper) String() string

func (*SessionWrapper) Unmarshal added in v1.0.0

func (m *SessionWrapper) Unmarshal(dAtA []byte) error

func (*SessionWrapper) XXX_DiscardUnknown added in v1.0.0

func (m *SessionWrapper) XXX_DiscardUnknown()

func (*SessionWrapper) XXX_Marshal added in v1.0.0

func (m *SessionWrapper) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*SessionWrapper) XXX_Merge added in v1.0.0

func (m *SessionWrapper) XXX_Merge(src proto.Message)

func (*SessionWrapper) XXX_Size added in v1.0.0

func (m *SessionWrapper) XXX_Size() int

func (*SessionWrapper) XXX_Unmarshal added in v1.0.0

func (m *SessionWrapper) XXX_Unmarshal(b []byte) error

type SessionsAllRequest added in v1.0.0

type SessionsAllRequest struct {
	// exclude_id_info is a flag for whether to exclude the id info from the response.
	ExcludeIdInfo bool `protobuf:"varint,12,opt,name=exclude_id_info,json=excludeIdInfo,proto3" json:"exclude_id_info,omitempty"`
	// include_request is a flag for whether to include this request in your result.
	IncludeRequest bool `protobuf:"varint,98,opt,name=include_request,json=includeRequest,proto3" json:"include_request,omitempty"`
	// pagination defines optional pagination parameters for the request.
	Pagination *query.PageRequest `protobuf:"bytes,99,opt,name=pagination,proto3" json:"pagination,omitempty"`
}

SessionsAllRequest is the request type for the Query/SessionsAll RPC method.

func (*SessionsAllRequest) Descriptor added in v1.0.0

func (*SessionsAllRequest) Descriptor() ([]byte, []int)

func (*SessionsAllRequest) GetExcludeIdInfo added in v1.17.0

func (m *SessionsAllRequest) GetExcludeIdInfo() bool

func (*SessionsAllRequest) GetIncludeRequest added in v1.17.0

func (m *SessionsAllRequest) GetIncludeRequest() bool

func (*SessionsAllRequest) GetPagination added in v1.0.0

func (m *SessionsAllRequest) GetPagination() *query.PageRequest

func (*SessionsAllRequest) Marshal added in v1.0.0

func (m *SessionsAllRequest) Marshal() (dAtA []byte, err error)

func (*SessionsAllRequest) MarshalTo added in v1.0.0

func (m *SessionsAllRequest) MarshalTo(dAtA []byte) (int, error)

func (*SessionsAllRequest) MarshalToSizedBuffer added in v1.0.0

func (m *SessionsAllRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*SessionsAllRequest) ProtoMessage added in v1.0.0

func (*SessionsAllRequest) ProtoMessage()

func (*SessionsAllRequest) Reset added in v1.0.0

func (m *SessionsAllRequest) Reset()

func (*SessionsAllRequest) Size added in v1.0.0

func (m *SessionsAllRequest) Size() (n int)

func (*SessionsAllRequest) String added in v1.0.0

func (m *SessionsAllRequest) String() string

func (*SessionsAllRequest) Unmarshal added in v1.0.0

func (m *SessionsAllRequest) Unmarshal(dAtA []byte) error

func (*SessionsAllRequest) XXX_DiscardUnknown added in v1.0.0

func (m *SessionsAllRequest) XXX_DiscardUnknown()

func (*SessionsAllRequest) XXX_Marshal added in v1.0.0

func (m *SessionsAllRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*SessionsAllRequest) XXX_Merge added in v1.0.0

func (m *SessionsAllRequest) XXX_Merge(src proto.Message)

func (*SessionsAllRequest) XXX_Size added in v1.0.0

func (m *SessionsAllRequest) XXX_Size() int

func (*SessionsAllRequest) XXX_Unmarshal added in v1.0.0

func (m *SessionsAllRequest) XXX_Unmarshal(b []byte) error

type SessionsAllResponse added in v1.0.0

type SessionsAllResponse struct {
	// sessions are the wrapped sessions.
	Sessions []*SessionWrapper `protobuf:"bytes,1,rep,name=sessions,proto3" json:"sessions,omitempty"`
	// request is a copy of the request that generated these results.
	Request *SessionsAllRequest `protobuf:"bytes,98,opt,name=request,proto3" json:"request,omitempty"`
	// pagination provides the pagination information of this response.
	Pagination *query.PageResponse `protobuf:"bytes,99,opt,name=pagination,proto3" json:"pagination,omitempty"`
}

SessionsAllResponse is the response type for the Query/SessionsAll RPC method.

func (*SessionsAllResponse) Descriptor added in v1.0.0

func (*SessionsAllResponse) Descriptor() ([]byte, []int)

func (*SessionsAllResponse) GetPagination added in v1.0.0

func (m *SessionsAllResponse) GetPagination() *query.PageResponse

func (*SessionsAllResponse) GetRequest added in v1.0.0

func (m *SessionsAllResponse) GetRequest() *SessionsAllRequest

func (*SessionsAllResponse) GetSessions added in v1.0.0

func (m *SessionsAllResponse) GetSessions() []*SessionWrapper

func (*SessionsAllResponse) Marshal added in v1.0.0

func (m *SessionsAllResponse) Marshal() (dAtA []byte, err error)

func (*SessionsAllResponse) MarshalTo added in v1.0.0

func (m *SessionsAllResponse) MarshalTo(dAtA []byte) (int, error)

func (*SessionsAllResponse) MarshalToSizedBuffer added in v1.0.0

func (m *SessionsAllResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*SessionsAllResponse) ProtoMessage added in v1.0.0

func (*SessionsAllResponse) ProtoMessage()

func (*SessionsAllResponse) Reset added in v1.0.0

func (m *SessionsAllResponse) Reset()

func (*SessionsAllResponse) Size added in v1.0.0

func (m *SessionsAllResponse) Size() (n int)

func (*SessionsAllResponse) String added in v1.0.0

func (m *SessionsAllResponse) String() string

func (*SessionsAllResponse) Unmarshal added in v1.0.0

func (m *SessionsAllResponse) Unmarshal(dAtA []byte) error

func (*SessionsAllResponse) XXX_DiscardUnknown added in v1.0.0

func (m *SessionsAllResponse) XXX_DiscardUnknown()

func (*SessionsAllResponse) XXX_Marshal added in v1.0.0

func (m *SessionsAllResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*SessionsAllResponse) XXX_Merge added in v1.0.0

func (m *SessionsAllResponse) XXX_Merge(src proto.Message)

func (*SessionsAllResponse) XXX_Size added in v1.0.0

func (m *SessionsAllResponse) XXX_Size() int

func (*SessionsAllResponse) XXX_Unmarshal added in v1.0.0

func (m *SessionsAllResponse) XXX_Unmarshal(b []byte) error

type SessionsRequest added in v1.0.0

type SessionsRequest struct {
	// scope_id can either be a uuid, e.g. 91978ba2-5f35-459a-86a7-feca1b0512e0 or a bech32 scope address, e.g.
	// scope1qzge0zaztu65tx5x5llv5xc9ztsqxlkwel.
	ScopeId string `protobuf:"bytes,1,opt,name=scope_id,json=scopeId,proto3" json:"scope_id,omitempty"`
	// session_id can either be a uuid, e.g. 5803f8bc-6067-4eb5-951f-2121671c2ec0 or a bech32 session address, e.g.
	// session1qxge0zaztu65tx5x5llv5xc9zts9sqlch3sxwn44j50jzgt8rshvqyfrjcr. This can only be a uuid if a scope_id is also
	// provided.
	SessionId string `protobuf:"bytes,2,opt,name=session_id,json=sessionId,proto3" json:"session_id,omitempty"`
	// record_addr is a bech32 record address, e.g. record1q2ge0zaztu65tx5x5llv5xc9ztsw42dq2jdvmdazuwzcaddhh8gmu3mcze3.
	RecordAddr string `protobuf:"bytes,3,opt,name=record_addr,json=recordAddr,proto3" json:"record_addr,omitempty"`
	// record_name is the name of the record to find the session for in the provided scope.
	RecordName string `protobuf:"bytes,4,opt,name=record_name,json=recordName,proto3" json:"record_name,omitempty"`
	// include_scope is a flag for whether to include the scope containing these sessions in the response.
	IncludeScope bool `protobuf:"varint,10,opt,name=include_scope,json=includeScope,proto3" json:"include_scope,omitempty"`
	// include_records is a flag for whether to include the records of these sessions in the response.
	IncludeRecords bool `protobuf:"varint,11,opt,name=include_records,json=includeRecords,proto3" json:"include_records,omitempty"`
	// exclude_id_info is a flag for whether to exclude the id info from the response.
	ExcludeIdInfo bool `protobuf:"varint,12,opt,name=exclude_id_info,json=excludeIdInfo,proto3" json:"exclude_id_info,omitempty"`
	// include_request is a flag for whether to include this request in your result.
	IncludeRequest bool `protobuf:"varint,98,opt,name=include_request,json=includeRequest,proto3" json:"include_request,omitempty"`
}

SessionsRequest is the request type for the Query/Sessions RPC method.

func (*SessionsRequest) Descriptor added in v1.0.0

func (*SessionsRequest) Descriptor() ([]byte, []int)

func (*SessionsRequest) GetExcludeIdInfo added in v1.17.0

func (m *SessionsRequest) GetExcludeIdInfo() bool

func (*SessionsRequest) GetIncludeRecords added in v1.0.0

func (m *SessionsRequest) GetIncludeRecords() bool

func (*SessionsRequest) GetIncludeRequest added in v1.17.0

func (m *SessionsRequest) GetIncludeRequest() bool

func (*SessionsRequest) GetIncludeScope added in v1.0.0

func (m *SessionsRequest) GetIncludeScope() bool

func (*SessionsRequest) GetRecordAddr added in v1.7.0

func (m *SessionsRequest) GetRecordAddr() string

func (*SessionsRequest) GetRecordName added in v1.7.0

func (m *SessionsRequest) GetRecordName() string

func (*SessionsRequest) GetScopeId added in v1.0.0

func (m *SessionsRequest) GetScopeId() string

func (*SessionsRequest) GetSessionId added in v1.0.0

func (m *SessionsRequest) GetSessionId() string

func (*SessionsRequest) Marshal added in v1.0.0

func (m *SessionsRequest) Marshal() (dAtA []byte, err error)

func (*SessionsRequest) MarshalTo added in v1.0.0

func (m *SessionsRequest) MarshalTo(dAtA []byte) (int, error)

func (*SessionsRequest) MarshalToSizedBuffer added in v1.0.0

func (m *SessionsRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*SessionsRequest) ProtoMessage added in v1.0.0

func (*SessionsRequest) ProtoMessage()

func (*SessionsRequest) Reset added in v1.0.0

func (m *SessionsRequest) Reset()

func (*SessionsRequest) Size added in v1.0.0

func (m *SessionsRequest) Size() (n int)

func (*SessionsRequest) String added in v1.0.0

func (m *SessionsRequest) String() string

func (*SessionsRequest) Unmarshal added in v1.0.0

func (m *SessionsRequest) Unmarshal(dAtA []byte) error

func (*SessionsRequest) XXX_DiscardUnknown added in v1.0.0

func (m *SessionsRequest) XXX_DiscardUnknown()

func (*SessionsRequest) XXX_Marshal added in v1.0.0

func (m *SessionsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*SessionsRequest) XXX_Merge added in v1.0.0

func (m *SessionsRequest) XXX_Merge(src proto.Message)

func (*SessionsRequest) XXX_Size added in v1.0.0

func (m *SessionsRequest) XXX_Size() int

func (*SessionsRequest) XXX_Unmarshal added in v1.0.0

func (m *SessionsRequest) XXX_Unmarshal(b []byte) error

type SessionsResponse added in v1.0.0

type SessionsResponse struct {
	// scope is the wrapped scope that holds these sessions (if requested).
	Scope *ScopeWrapper `protobuf:"bytes,1,opt,name=scope,proto3" json:"scope,omitempty"`
	// sessions is any number of wrapped session results.
	Sessions []*SessionWrapper `protobuf:"bytes,2,rep,name=sessions,proto3" json:"sessions,omitempty"`
	// records is any number of wrapped records contained in these sessions (if requested).
	Records []*RecordWrapper `protobuf:"bytes,3,rep,name=records,proto3" json:"records,omitempty"`
	// request is a copy of the request that generated these results.
	Request *SessionsRequest `protobuf:"bytes,98,opt,name=request,proto3" json:"request,omitempty"`
}

SessionsResponse is the response type for the Query/Sessions RPC method.

func (*SessionsResponse) Descriptor added in v1.0.0

func (*SessionsResponse) Descriptor() ([]byte, []int)

func (*SessionsResponse) GetRecords added in v1.0.0

func (m *SessionsResponse) GetRecords() []*RecordWrapper

func (*SessionsResponse) GetRequest added in v1.0.0

func (m *SessionsResponse) GetRequest() *SessionsRequest

func (*SessionsResponse) GetScope added in v1.0.0

func (m *SessionsResponse) GetScope() *ScopeWrapper

func (*SessionsResponse) GetSessions added in v1.0.0

func (m *SessionsResponse) GetSessions() []*SessionWrapper

func (*SessionsResponse) Marshal added in v1.0.0

func (m *SessionsResponse) Marshal() (dAtA []byte, err error)

func (*SessionsResponse) MarshalTo added in v1.0.0

func (m *SessionsResponse) MarshalTo(dAtA []byte) (int, error)

func (*SessionsResponse) MarshalToSizedBuffer added in v1.0.0

func (m *SessionsResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*SessionsResponse) ProtoMessage added in v1.0.0

func (*SessionsResponse) ProtoMessage()

func (*SessionsResponse) Reset added in v1.0.0

func (m *SessionsResponse) Reset()

func (*SessionsResponse) Size added in v1.0.0

func (m *SessionsResponse) Size() (n int)

func (*SessionsResponse) String added in v1.0.0

func (m *SessionsResponse) String() string

func (*SessionsResponse) Unmarshal added in v1.0.0

func (m *SessionsResponse) Unmarshal(dAtA []byte) error

func (*SessionsResponse) XXX_DiscardUnknown added in v1.0.0

func (m *SessionsResponse) XXX_DiscardUnknown()

func (*SessionsResponse) XXX_Marshal added in v1.0.0

func (m *SessionsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*SessionsResponse) XXX_Merge added in v1.0.0

func (m *SessionsResponse) XXX_Merge(src proto.Message)

func (*SessionsResponse) XXX_Size added in v1.0.0

func (m *SessionsResponse) XXX_Size() int

func (*SessionsResponse) XXX_Unmarshal added in v1.0.0

func (m *SessionsResponse) XXX_Unmarshal(b []byte) error

type TelemetryAction added in v1.3.0

type TelemetryAction string

TelemetryAction is an enum for metadata telemetry actions.

func (TelemetryAction) AsLabel added in v1.3.0

func (t TelemetryAction) AsLabel() metrics.Label

AsLabel Returns this TelemetryAction as a label.

type TelemetryCategory added in v1.3.0

type TelemetryCategory string

TelemetryCategory is an enum for metadata telemetry categories.

func (TelemetryCategory) AsLabel added in v1.3.0

func (t TelemetryCategory) AsLabel() metrics.Label

AsLabel Returns this TelemetryCategory as a label.

type TelemetryObjectType added in v1.3.0

type TelemetryObjectType string

TelemetryObjectType is an enum for metadata telemetry object types.

func (TelemetryObjectType) AsLabel added in v1.3.0

func (t TelemetryObjectType) AsLabel() metrics.Label

AsLabel Returns this TelemetryObjectType as a label.

type TxEndpoint added in v1.3.0

type TxEndpoint string

TxEndpoint is an enum for metadata TX endpoints.

const (
	TxEndpoint_WriteScope            TxEndpoint = "WriteScope"
	TxEndpoint_DeleteScope           TxEndpoint = "DeleteScope"
	TxEndpoint_AddScopeDataAccess    TxEndpoint = "AddScopeDataAccess"
	TxEndpoint_DeleteScopeDataAccess TxEndpoint = "DeleteScopeDataAccess"
	TxEndpoint_AddScopeOwner         TxEndpoint = "AddScopeOwner"
	TxEndpoint_DeleteScopeOwner      TxEndpoint = "DeleteScopeOwner"
	TxEndpoint_UpdateValueOwners     TxEndpoint = "UpdateValueOwners"
	TxEndpoint_MigrateValueOwner     TxEndpoint = "MigrateValueOwner"

	TxEndpoint_WriteSession TxEndpoint = "WriteSession"

	TxEndpoint_WriteRecord  TxEndpoint = "WriteRecord"
	TxEndpoint_DeleteRecord TxEndpoint = "DeleteRecord"

	TxEndpoint_WriteScopeSpecification  TxEndpoint = "WriteScopeSpecification"
	TxEndpoint_DeleteScopeSpecification TxEndpoint = "DeleteScopeSpecification"

	TxEndpoint_WriteContractSpecification  TxEndpoint = "WriteContractSpecification"
	TxEndpoint_DeleteContractSpecification TxEndpoint = "DeleteContractSpecification"

	TxEndpoint_AddContractSpecToScopeSpec      TxEndpoint = "AddContractSpecToScopeSpec"
	TxEndpoint_DeleteContractSpecFromScopeSpec TxEndpoint = "DeleteContractSpecFromScopeSpec"

	TxEndpoint_WriteRecordSpecification  TxEndpoint = "WriteRecordSpecification"
	TxEndpoint_DeleteRecordSpecification TxEndpoint = "DeleteRecordSpecification"

	TxEndpoint_BindOSLocator   TxEndpoint = "BindOSLocator"
	TxEndpoint_DeleteOSLocator TxEndpoint = "DeleteOSLocator"
	TxEndpoint_ModifyOSLocator TxEndpoint = "ModifyOSLocator"
)

type UnimplementedMsgServer

type UnimplementedMsgServer struct {
}

UnimplementedMsgServer can be embedded to have forward compatible implementations.

func (*UnimplementedMsgServer) AddContractSpecToScopeSpec added in v1.5.0

func (*UnimplementedMsgServer) AddNetAssetValues added in v1.18.0

func (*UnimplementedMsgServer) AddScopeDataAccess added in v1.3.0

func (*UnimplementedMsgServer) AddScopeOwner added in v1.3.0

func (*UnimplementedMsgServer) BindOSLocator added in v0.3.0

func (*UnimplementedMsgServer) DeleteContractSpecFromScopeSpec added in v1.5.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) DeleteScopeDataAccess added in v1.3.0

func (*UnimplementedMsgServer) DeleteScopeOwner added in v1.3.0

func (*UnimplementedMsgServer) DeleteScopeSpecification added in v0.1.5

func (*UnimplementedMsgServer) MigrateValueOwner added in v1.16.0

func (*UnimplementedMsgServer) ModifyOSLocator added in v0.3.0

func (*UnimplementedMsgServer) SetAccountData added in v1.16.0

func (*UnimplementedMsgServer) UpdateValueOwners added in v1.16.0

func (*UnimplementedMsgServer) WriteContractSpecification added in v1.0.0

func (*UnimplementedMsgServer) WriteRecord added in v1.0.0

func (*UnimplementedMsgServer) WriteRecordSpecification added in v1.0.0

func (*UnimplementedMsgServer) WriteScope added in v1.0.0

func (*UnimplementedMsgServer) WriteScopeSpecification added in v1.0.0

func (*UnimplementedMsgServer) WriteSession added in v1.0.0

type UnimplementedQueryServer

type UnimplementedQueryServer struct {
}

UnimplementedQueryServer can be embedded to have forward compatible implementations.

func (*UnimplementedQueryServer) AccountData added in v1.16.0

func (*UnimplementedQueryServer) ContractSpecification added in v0.1.5

func (*UnimplementedQueryServer) ContractSpecificationsAll added in v1.0.0

func (*UnimplementedQueryServer) GetByAddr added in v1.17.0

func (*UnimplementedQueryServer) OSAllLocators added in v0.3.0

func (*UnimplementedQueryServer) OSLocator added in v0.3.0

func (*UnimplementedQueryServer) OSLocatorParams added in v0.3.0

func (*UnimplementedQueryServer) OSLocatorsByScope added in v1.0.0

func (*UnimplementedQueryServer) OSLocatorsByURI added in v1.0.0

func (*UnimplementedQueryServer) Ownership

func (*UnimplementedQueryServer) Params

func (*UnimplementedQueryServer) RecordSpecification added in v0.2.0

func (*UnimplementedQueryServer) RecordSpecificationsAll added in v1.0.0

func (*UnimplementedQueryServer) Records added in v1.0.0

func (*UnimplementedQueryServer) RecordsAll added in v1.0.0

func (*UnimplementedQueryServer) Scope

func (*UnimplementedQueryServer) ScopeNetAssetValues added in v1.18.0

func (*UnimplementedQueryServer) ScopeSpecification added in v0.1.5

func (*UnimplementedQueryServer) ScopeSpecificationsAll added in v1.0.0

func (*UnimplementedQueryServer) ScopesAll added in v1.0.0

func (*UnimplementedQueryServer) Sessions added in v1.0.0

func (*UnimplementedQueryServer) SessionsAll added in v1.0.0

func (*UnimplementedQueryServer) ValueOwnership

type ValueOwnershipRequest

type ValueOwnershipRequest struct {
	Address string `protobuf:"bytes,1,opt,name=address,proto3" json:"address,omitempty"`
	// include_request is a flag for whether to include this request in your result.
	IncludeRequest bool `protobuf:"varint,98,opt,name=include_request,json=includeRequest,proto3" json:"include_request,omitempty"`
	// pagination defines optional pagination parameters for the request.
	Pagination *query.PageRequest `protobuf:"bytes,99,opt,name=pagination,proto3" json:"pagination,omitempty"`
}

ValueOwnershipRequest is the request type for the Query/ValueOwnership RPC method.

func (*ValueOwnershipRequest) Descriptor

func (*ValueOwnershipRequest) Descriptor() ([]byte, []int)

func (*ValueOwnershipRequest) GetAddress

func (m *ValueOwnershipRequest) GetAddress() string

func (*ValueOwnershipRequest) GetIncludeRequest added in v1.17.0

func (m *ValueOwnershipRequest) GetIncludeRequest() bool

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"`
	// request is a copy of the request that generated these results.
	Request *ValueOwnershipRequest `protobuf:"bytes,98,opt,name=request,proto3" json:"request,omitempty"`
	// pagination provides the pagination information of this response.
	Pagination *query.PageResponse `protobuf:"bytes,99,opt,name=pagination,proto3" json:"pagination,omitempty"`
}

ValueOwnershipResponse is the response type for the Query/ValueOwnership RPC method.

func (*ValueOwnershipResponse) Descriptor

func (*ValueOwnershipResponse) Descriptor() ([]byte, []int)

func (*ValueOwnershipResponse) GetPagination

func (m *ValueOwnershipResponse) GetPagination() *query.PageResponse

func (*ValueOwnershipResponse) GetRequest added in v1.0.0

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