package pubsub.v1

Mouse Melon logoGet desktop application:
View/edit binary Protocol Buffers messages

service Msg

tx.proto:11

service Query

query.proto:13

message AddDefaultSubscriptionProposal

pubsub.proto:141

set the default publisher for a given subscription ID these can be overridden by the client

message AddDefaultSubscriptionProposalWithDeposit

pubsub.proto:148

message AddPublisherProposal

pubsub.proto:104

governance proposal to add a publisher, with domain, adress, and ca_cert the same as the Publisher type proof URL expected in the format: https://<domain>/<address>/cacert.pem and serving cacert.pem matching ca_cert

message AddPublisherProposalWithDeposit

pubsub.proto:113

enum AllowedSubscribers

pubsub.proto:44

for a given PublisherIntent, determines what types of subscribers may subscribe

Used in: PublisherIntent

message DefaultSubscription

pubsub.proto:94

represents a default subscription voted in by governance that can be overridden by a subscriber

Used in: GenesisState, QueryDefaultSubscriptionResponse, QueryDefaultSubscriptionsResponse

message GenesisState

genesis.proto:11

GenesisState defines the pubsub module's genesis state.

message Params

params.proto:9

Params defines the parameters for the module.

Used in: GenesisState, QueryParamsResponse

(message has no fields)

enum PublishMethod

pubsub.proto:35

for a given PublisherIntent, whether or not it is pulled or pushed

Used in: PublisherIntent

message Publisher

pubsub.proto:9

represents a publisher, which are added via governance

Used in: GenesisState, QueryPublisherResponse, QueryPublishersResponse

message PublisherIntent

pubsub.proto:56

represents a publisher committing to sending messages for a specific subscription ID

unique key is subscription_id and publisher_domain tuple

Used in: GenesisState, MsgAddPublisherIntentRequest, QueryPublisherIntentResponse, QueryPublisherIntentsByPublisherDomainResponse, QueryPublisherIntentsBySubscriptionIDResponse, QueryPublisherIntentsResponse

message RemoveDefaultSubscriptionProposal

pubsub.proto:157

remove a default subscription

message RemoveDefaultSubscriptionProposalWithDeposit

pubsub.proto:163

message RemovePublisherProposal

pubsub.proto:126

governance proposal to remove a publisher (publishers can remove themselves, but this might be necessary in the event of a malicious publisher or a key compromise), since Publishers are unique by domain, it's the only necessary information to remove one

message RemovePublisherProposalWithDeposit

pubsub.proto:132

message Subscriber

pubsub.proto:21

represents a subscriber, can be set or modified by the owner of the subscriber address

Used in: GenesisState, MsgAddSubscriberRequest, QuerySubscriberResponse, QuerySubscribersResponse, QueryValidatorSubscribersResponse

message SubscriberIntent

pubsub.proto:79

represents a subscriber requesting messages for a specific subscription ID and publisher

unique key is subscription_id and subscriber_address tuple, a given subscriber can only subscribe to one publisher per subscription_id at a time

Used in: GenesisState, MsgAddSubscriberIntentRequest, QuerySubscriberIntentResponse, QuerySubscriberIntentsByPublisherDomainResponse, QuerySubscriberIntentsBySubscriberAddressResponse, QuerySubscriberIntentsBySubscriptionIDResponse, QuerySubscriberIntentsResponse