types

package
v2.2.0-testnet Latest Latest
Warning

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

Go to latest
Published: Oct 26, 2021 License: Apache-2.0 Imports: 48 Imported by: 1

Documentation

Overview

Package types nolint: interfacer

Package types is a reverse proxy.

It translates gRPC into RESTful JSON APIs.

Index

Constants

View Source
const (
	ErrIBCTimeout         = "ibc connection timeout"
	ErrRequestExpired     = "oracle request expired"
	ErrRequestFailed      = "oracle request failed"
	ErrInvalidSignature   = "invalid signature"
	ErrInvalidAppUsername = "invalid application username"
)
View Source
const (
	EventTypeProfileSaved        = "profile_saved"
	EventTypeProfileDeleted      = "profile_deleted"
	EventTypeDTagTransferRequest = "dtag_transfer_request"
	EventTypeDTagTransferAccept  = "dtag_transfer_accept"
	EventTypeDTagTransferRefuse  = "dtag_transfer_refuse"
	EventTypeDTagTransferCancel  = "dtag_transfer_cancel"

	AttributeProfileDTag         = "profile_dtag"
	AttributeProfileCreator      = "profile_creator"
	AttributeProfileCreationTime = "profile_creation_time"

	AttributeRequestReceiver = "request_receiver"
	AttributeRequestSender   = "request_sender"
	AttributeDTagToTrade     = "dtag_to_trade"
	AttributeNewDTag         = "new_dtag"

	EventTypeRelationshipCreated  = "relationship_created"
	EventTypeRelationshipsDeleted = "relationships_deleted"

	AttributeRelationshipSender   = "sender"
	AttributeRelationshipReceiver = "receiver"
	AttributeRelationshipSubspace = "subspace"

	EventTypeBlockUser   = "block_user"
	EventTypeUnblockUser = "unblock_user"

	AttributeKeyUserBlockBlocker = "blocker"
	AttributeKeyUserBlockBlocked = "blocked"
	AttributeKeyUserBlockReason  = "reason"
	AttributeKeySubspace         = "subspace"

	EventTypeLinkChainAccount   = "link_chain_account"
	EventTypeUnlinkChainAccount = "unlink_chain_account"

	AttributeChainLinkSourceAddress      = "chain_link_account_target"
	AttributeChainLinkDestinationAddress = "chain_link_account_owner"
	AttributeChainLinkSourceChainName    = "chain_link_source_chain_name"
	AttributeChainLinkCreationTime       = "chain_link_creation_time"

	AttributeKeyAckSuccess          = "success"
	EventTypeLinkChainAccountPacket = "link_chain_account_packet"

	EventTypePacket                  = "profiles_verification_packet"
	EventTypeTimeout                 = "timeout"
	EventTypesApplicationLinkCreated = "application_link_created"
	EventTypesApplicationLinkSaved   = "application_link_saved"
	EventTypeApplicationLinkDeleted  = "application_link_deleted"

	AttributeKeyUser                        = "user"
	AttributeKeyApplicationName             = "application_name"
	AttributeKeyApplicationUsername         = "application_username"
	AttributeKeyApplicationLinkCreationTime = "application_link_creation_time"
	AttributeKeyOracleID                    = "oracle_id"
	AttributeKeyClientID                    = "client_id"
	AttributeKeyRequestID                   = "request_id"
	AttributeKeyRequestKey                  = "request_key"
	AttributeKeyResolveStatus               = "resolve_status"
	AttributeKeyAck                         = "acknowledgement"
	AttributeKeyAckError                    = "error"
)
View Source
const (
	ModuleName = "profiles"
	RouterKey  = ModuleName
	StoreKey   = ModuleName

	ActionSaveProfile               = "save_profile"
	ActionDeleteProfile             = "delete_profile"
	ActionRequestDTag               = "request_dtag_transfer"
	ActionAcceptDTagTransfer        = "accept_dtag_transfer_request"
	ActionRefuseDTagTransferRequest = "refuse_dtag_transfer_request"
	ActionCancelDTagTransferRequest = "cancel_dtag_transfer_request"
	ActionCreateRelationship        = "create_relationship"
	ActionDeleteRelationship        = "delete_relationship"
	ActionBlockUser                 = "block_user"
	ActionUnblockUser               = "unblock_user"
	ActionLinkChainAccount          = "link_chain_account"
	ActionUnlinkChainAccount        = "unlink_chain_account"
	ActionLinkApplication           = "link_application"
	ActionUnlinkApplication         = "unlink_application"

	DoNotModify = "[do-not-modify]"

	IBCPortID = "ibc-profiles"
)
View Source
const (
	// DefaultParamsSpace represents the default paramspace for the Params keeper
	DefaultParamsSpace = ModuleName
)

Variables

View Source
var (

	// AminoCdc references the global x/relationships module codec. Note, the codec should
	// ONLY be used in certain instances of tests and for JSON encoding as Amino is
	// still used for that purpose.
	//
	// The actual codec used for serialization should be provided to x/relationships and
	// defined at the application level.
	AminoCdc = codec.NewAminoCodec(amino)

	ModuleCdc = codec.NewProtoCodec(types.NewInterfaceRegistry())
)
View Source
var (
	ErrInvalidVersion      = sdkerrors.Register(ModuleName, 1, "invalid version")
	ErrMaxProfilesChannels = sdkerrors.Register(ModuleName, 2, "max profiles channels")

	ErrProfileNotFound = sdkerrors.Register(ModuleName, 10, "profile not found")

	ErrInvalidPacketData   = sdkerrors.Register(ModuleName, 31, "invalid packet data type")
	ErrInvalidChainLink    = sdkerrors.Register(ModuleName, 35, "invalid chain link")
	ErrDuplicatedChainLink = sdkerrors.Register(ModuleName, 36, "chain link already exists")
	ErrInvalidAddressData  = sdkerrors.Register(ModuleName, 37, "invalid address data")
	ErrInvalidProof        = sdkerrors.Register(ModuleName, 38, "invalid proof")
)
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 (
	DTagPrefix                    = []byte("dtag")
	DTagTransferRequestPrefix     = []byte("transfer_request")
	RelationshipsStorePrefix      = []byte("relationships")
	UsersBlocksStorePrefix        = []byte("users_blocks")
	ChainLinksPrefix              = []byte("chain_links")
	UserApplicationLinkPrefix     = []byte("user_application_link")
	ApplicationLinkClientIDPrefix = []byte("client_id")

	// IBCPortKey defines the key to store the port ID in store
	IBCPortKey = []byte{0x01}
)
View Source
var (
	ErrInvalidLengthModelsAppLinks        = fmt.Errorf("proto: negative length found during unmarshaling")
	ErrIntOverflowModelsAppLinks          = fmt.Errorf("proto: integer overflow")
	ErrUnexpectedEndOfGroupModelsAppLinks = fmt.Errorf("proto: unexpected end of group")
)
View Source
var (
	ErrInvalidLengthModelsChainLinks        = fmt.Errorf("proto: negative length found during unmarshaling")
	ErrIntOverflowModelsChainLinks          = fmt.Errorf("proto: integer overflow")
	ErrUnexpectedEndOfGroupModelsChainLinks = fmt.Errorf("proto: unexpected end of group")
)
View Source
var (
	ErrInvalidLengthModelsDtagRequests        = fmt.Errorf("proto: negative length found during unmarshaling")
	ErrIntOverflowModelsDtagRequests          = fmt.Errorf("proto: integer overflow")
	ErrUnexpectedEndOfGroupModelsDtagRequests = fmt.Errorf("proto: unexpected end of group")
)
View Source
var (
	ErrInvalidLengthModelsPackets        = fmt.Errorf("proto: negative length found during unmarshaling")
	ErrIntOverflowModelsPackets          = fmt.Errorf("proto: integer overflow")
	ErrUnexpectedEndOfGroupModelsPackets = fmt.Errorf("proto: unexpected end of group")
)
View Source
var (
	DefaultMinNicknameLength = sdk.NewInt(2)
	DefaultMaxNicknameLength = sdk.NewInt(1000) //longest name on earth count 954 chars
	DefaultRegEx             = `^[A-Za-z0-9_]+$`
	DefaultMinDTagLength     = sdk.NewInt(3)
	DefaultMaxDTagLength     = sdk.NewInt(30)
	DefaultMaxBioLength      = sdk.NewInt(1000)
)

Default profile paramsModule

View Source
var (
	NicknameParamsKey = []byte("NicknameParams")
	DTagParamsKey     = []byte("DTagParams")
	BioParamsKey      = []byte("MaxBioLen")
	OracleParamsKey   = []byte("OracleParams")
)

Parameters store keys

View Source
var (
	ErrInvalidLengthModelsParams        = fmt.Errorf("proto: negative length found during unmarshaling")
	ErrIntOverflowModelsParams          = fmt.Errorf("proto: integer overflow")
	ErrUnexpectedEndOfGroupModelsParams = fmt.Errorf("proto: unexpected end of group")
)
View Source
var (
	ErrInvalidLengthModelsProfile        = fmt.Errorf("proto: negative length found during unmarshaling")
	ErrIntOverflowModelsProfile          = fmt.Errorf("proto: integer overflow")
	ErrUnexpectedEndOfGroupModelsProfile = fmt.Errorf("proto: unexpected end of group")
)
View Source
var (
	ErrInvalidLengthModelsRelationships        = fmt.Errorf("proto: negative length found during unmarshaling")
	ErrIntOverflowModelsRelationships          = fmt.Errorf("proto: integer overflow")
	ErrUnexpectedEndOfGroupModelsRelationships = fmt.Errorf("proto: unexpected end of group")
)
View Source
var (
	ErrInvalidLengthMsgsAppLinks        = fmt.Errorf("proto: negative length found during unmarshaling")
	ErrIntOverflowMsgsAppLinks          = fmt.Errorf("proto: integer overflow")
	ErrUnexpectedEndOfGroupMsgsAppLinks = fmt.Errorf("proto: unexpected end of group")
)
View Source
var (
	ErrInvalidLengthMsgsChainLinks        = fmt.Errorf("proto: negative length found during unmarshaling")
	ErrIntOverflowMsgsChainLinks          = fmt.Errorf("proto: integer overflow")
	ErrUnexpectedEndOfGroupMsgsChainLinks = fmt.Errorf("proto: unexpected end of group")
)
View Source
var (
	ErrInvalidLengthMsgsDtagRequests        = fmt.Errorf("proto: negative length found during unmarshaling")
	ErrIntOverflowMsgsDtagRequests          = fmt.Errorf("proto: integer overflow")
	ErrUnexpectedEndOfGroupMsgsDtagRequests = fmt.Errorf("proto: unexpected end of group")
)
View Source
var (
	ErrInvalidLengthMsgsProfile        = fmt.Errorf("proto: negative length found during unmarshaling")
	ErrIntOverflowMsgsProfile          = fmt.Errorf("proto: integer overflow")
	ErrUnexpectedEndOfGroupMsgsProfile = fmt.Errorf("proto: unexpected end of group")
)
View Source
var (
	ErrInvalidLengthMsgsRelationships        = fmt.Errorf("proto: negative length found during unmarshaling")
	ErrIntOverflowMsgsRelationships          = fmt.Errorf("proto: integer overflow")
	ErrUnexpectedEndOfGroupMsgsRelationships = fmt.Errorf("proto: unexpected end of group")
)
View Source
var (
	// DefaultRelativePacketTimeoutHeight is the default packet timeout height (in blocks) relative
	// to the current block height of the counterparty chain provided by the client state. The
	// timeout is disabled when set to 0.
	DefaultRelativePacketTimeoutHeight = "0-1000"

	// DefaultRelativePacketTimeoutTimestamp is the default packet timeout timestamp (in nanoseconds)
	// relative to the current block timestamp of the counterparty chain provided by the client
	// state. The timeout is disabled when set to 0. The default is currently set to a 10 minute
	// timeout.
	DefaultRelativePacketTimeoutTimestamp = uint64((time.Duration(10) * time.Minute).Nanoseconds())
)
View Source
var (
	ErrInvalidLengthQueryAppLinks        = fmt.Errorf("proto: negative length found during unmarshaling")
	ErrIntOverflowQueryAppLinks          = fmt.Errorf("proto: integer overflow")
	ErrUnexpectedEndOfGroupQueryAppLinks = fmt.Errorf("proto: unexpected end of group")
)
View Source
var (
	ErrInvalidLengthQueryChainLinks        = fmt.Errorf("proto: negative length found during unmarshaling")
	ErrIntOverflowQueryChainLinks          = fmt.Errorf("proto: integer overflow")
	ErrUnexpectedEndOfGroupQueryChainLinks = fmt.Errorf("proto: unexpected end of group")
)
View Source
var (
	ErrInvalidLengthQueryDtagRequests        = fmt.Errorf("proto: negative length found during unmarshaling")
	ErrIntOverflowQueryDtagRequests          = fmt.Errorf("proto: integer overflow")
	ErrUnexpectedEndOfGroupQueryDtagRequests = fmt.Errorf("proto: unexpected end of group")
)
View Source
var (
	ErrInvalidLengthQueryParams        = fmt.Errorf("proto: negative length found during unmarshaling")
	ErrIntOverflowQueryParams          = fmt.Errorf("proto: integer overflow")
	ErrUnexpectedEndOfGroupQueryParams = fmt.Errorf("proto: unexpected end of group")
)
View Source
var (
	ErrInvalidLengthQueryProfile        = fmt.Errorf("proto: negative length found during unmarshaling")
	ErrIntOverflowQueryProfile          = fmt.Errorf("proto: integer overflow")
	ErrUnexpectedEndOfGroupQueryProfile = fmt.Errorf("proto: unexpected end of group")
)
View Source
var (
	ErrInvalidLengthQueryRelationships        = fmt.Errorf("proto: negative length found during unmarshaling")
	ErrIntOverflowQueryRelationships          = fmt.Errorf("proto: integer overflow")
	ErrUnexpectedEndOfGroupQueryRelationships = fmt.Errorf("proto: unexpected end of group")
)
View Source
var ApplicationLinkState_name = map[int32]string{
	0: "APPLICATION_LINK_STATE_INITIALIZED_UNSPECIFIED",
	1: "APPLICATION_LINK_STATE_VERIFICATION_STARTED",
	2: "APPLICATION_LINK_STATE_VERIFICATION_ERROR",
	3: "APPLICATION_LINK_STATE_VERIFICATION_SUCCESS",
	4: "APPLICATION_LINK_STATE_TIMED_OUT",
}
View Source
var ApplicationLinkState_value = map[string]int32{
	"APPLICATION_LINK_STATE_INITIALIZED_UNSPECIFIED": 0,
	"APPLICATION_LINK_STATE_VERIFICATION_STARTED":    1,
	"APPLICATION_LINK_STATE_VERIFICATION_ERROR":      2,
	"APPLICATION_LINK_STATE_VERIFICATION_SUCCESS":    3,
	"APPLICATION_LINK_STATE_TIMED_OUT":               4,
}

Functions

func ApplicationLinkClientIDKey

func ApplicationLinkClientIDKey(clientID string) []byte

ApplicationLinkClientIDKey returns the key used to store the reference to the application link associated with the specified client id

func BlockerPrefix

func BlockerPrefix(blocker string) []byte

BlockerPrefix returns the store prefix used to store the blocks created by the given blocker

func BlockerSubspacePrefix

func BlockerSubspacePrefix(blocker string, subspace string) []byte

BlockerSubspacePrefix returns the store prefix used to store the blocks that the given blocker has created inside the specified subspace

func ChainLinksStoreKey

func ChainLinksStoreKey(user, chainName, address string) []byte

ChainLinksStoreKey returns the store key used to store the chain links containing the given data

func DTagStoreKey

func DTagStoreKey(dTag string) []byte

DTagStoreKey turns a DTag into the key used to store the address associated with it into the store

func DTagTransferRequestStoreKey

func DTagTransferRequestStoreKey(sender, recipient string) []byte

DTagTransferRequestStoreKey returns the store key used to save the DTag transfer request made from the sender towards the recipient

func IncomingDTagTransferRequestsPrefix

func IncomingDTagTransferRequestsPrefix(recipient string) []byte

IncomingDTagTransferRequestsPrefix returns the prefix used to store all the DTag transfer requests that have been made towards the given recipient

func MustMarshalApplicationLink(cdc codec.BinaryCodec, link ApplicationLink) []byte

MustMarshalApplicationLink serializes the given application link using the provided BinaryCodec

func MustMarshalChainLink(cdc codec.BinaryCodec, link ChainLink) []byte

MustMarshalChainLink serializes the given chain link using the provided BinaryCodec

func MustMarshalRelationship

func MustMarshalRelationship(cdc codec.BinaryCodec, relationship Relationship) []byte

MustMarshalRelationship serializes the given relationship using the provided BinaryCodec

func ParamKeyTable

func ParamKeyTable() paramstypes.KeyTable

ParamKeyTable Key declaration for parameters

func RegisterInterfaces

func RegisterInterfaces(registry types.InterfaceRegistry)

func RegisterLegacyAminoCodec

func RegisterLegacyAminoCodec(cdc *codec.LegacyAmino)

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 (such as grpc.SendHeader, etc) to stop working. Consider using RegisterQueryHandlerFromEndpoint instead.

func RegisterQueryServer

func RegisterQueryServer(s grpc1.Server, srv QueryServer)

func RelationshipsStoreKey

func RelationshipsStoreKey(user, subspace, recipient string) []byte

RelationshipsStoreKey returns the store key used to store the relationships containing the given data

func UserApplicationLinkKey

func UserApplicationLinkKey(user, application, username string) []byte

UserApplicationLinkKey returns the key used to store the data about the application link of the given user for the specified application and username

func UserApplicationLinksPrefix

func UserApplicationLinksPrefix(user string) []byte

UserApplicationLinksPrefix returns the store prefix used to identify all the application links for the given user

func UserBlockStoreKey

func UserBlockStoreKey(blocker string, subspace string, blockedUser string) []byte

UserBlockStoreKey returns the store key used to save the block made by the given blocker, inside the specified subspace and towards the given blocked user

func UserChainLinksPrefix

func UserChainLinksPrefix(user string) []byte

UserChainLinksPrefix returns the store prefix used to identify all the chain links for the given user

func UserRelationshipsPrefix

func UserRelationshipsPrefix(user string) []byte

UserRelationshipsPrefix returns the prefix used to store all relationships created by the user with the given address

func UserRelationshipsSubspacePrefix

func UserRelationshipsSubspacePrefix(user, subspace string) []byte

UserRelationshipsSubspacePrefix returns the prefix used to store all the relationships created by the user with the given address for the subspace having the given id

func ValidateBioParams

func ValidateBioParams(i interface{}) error

func ValidateDTagParams

func ValidateDTagParams(i interface{}) error

func ValidateGenesis

func ValidateGenesis(data *GenesisState) error

ValidateGenesis validates the given genesis state and returns an error if something is invalid

func ValidateNicknameParams

func ValidateNicknameParams(i interface{}) error

func ValidateOracleParams

func ValidateOracleParams(i interface{}) error

ValidateOracleParams returns an error if interface does not represent a valid OracleParams instance

Types

type AddressData

type AddressData interface {
	proto.Message

	// Validate checks the validity of the AddressData
	Validate() error

	// GetValue returns the address value
	GetValue() string

	// VerifyPubKey verifies that the given public key is associated with this address data
	VerifyPubKey(key cryptotypes.PubKey) (bool, error)
}

AddressData is an interface representing a generic external chain address

func UnpackAddressData

func UnpackAddressData(unpacker codectypes.AnyUnpacker, addressAny *codectypes.Any) (AddressData, error)

UnpackAddressData deserializes the given any type value as an address data using the provided unpacker

type ApplicationLink struct {
	//  User to which the link is associated
	User string `protobuf:"bytes,1,opt,name=user,proto3" json:"user,omitempty" yaml:"user"`
	// Data contains the details of this specific link
	Data Data `protobuf:"bytes,2,opt,name=data,proto3" json:"data" yaml:"data"`
	// State of the link
	State ApplicationLinkState `` /* 127-byte string literal not displayed */
	// OracleRequest represents the request that has been made to the oracle
	OracleRequest OracleRequest `protobuf:"bytes,4,opt,name=oracle_request,json=oracleRequest,proto3" json:"oracle_request" yaml:"oracle_request"`
	// Data coming from the result of the verification.
	// Only available when the state is STATE_SUCCESS
	Result *Result `protobuf:"bytes,5,opt,name=result,proto3" json:"result,omitempty" yaml:"result"`
	// CreationTime represents the time in which the link was created
	CreationTime time.Time `protobuf:"bytes,6,opt,name=creation_time,json=creationTime,proto3,stdtime" json:"creation_time" yaml:"creation_time"`
}

ApplicationLink contains the data of a link to a centralized application

func MustUnmarshalApplicationLink(cdc codec.BinaryCodec, bz []byte) ApplicationLink

MustUnmarshalApplicationLink deserializes the given byte array as an application link using the provided BinaryCodec

func NewApplicationLink(
	user string, data Data, state ApplicationLinkState, oracleRequest OracleRequest, result *Result, creationTime time.Time,
) ApplicationLink

NewApplicationLink allows to build a new ApplicationLink instance

func (*ApplicationLink) Descriptor

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

func (*ApplicationLink) Equal

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

func (*ApplicationLink) IsVerificationOngoing

func (l *ApplicationLink) IsVerificationOngoing() bool

IsVerificationOngoing tells whether the verification for the link is still ongoing

func (*ApplicationLink) Marshal

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

func (*ApplicationLink) MarshalTo

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

func (*ApplicationLink) MarshalToSizedBuffer

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

func (*ApplicationLink) ProtoMessage

func (*ApplicationLink) ProtoMessage()

func (*ApplicationLink) Reset

func (m *ApplicationLink) Reset()

func (*ApplicationLink) Size

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

func (*ApplicationLink) String

func (m *ApplicationLink) String() string

func (*ApplicationLink) Unmarshal

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

func (ApplicationLink) Validate

func (l ApplicationLink) Validate() error

Validate returns an error if the instance does not contain valid data

func (*ApplicationLink) XXX_DiscardUnknown

func (m *ApplicationLink) XXX_DiscardUnknown()

func (*ApplicationLink) XXX_Marshal

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

func (*ApplicationLink) XXX_Merge

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

func (*ApplicationLink) XXX_Size

func (m *ApplicationLink) XXX_Size() int

func (*ApplicationLink) XXX_Unmarshal

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

type ApplicationLinkState

type ApplicationLinkState int32

ApplicationLinkState defines if an application link is in the following states: STARTED, ERRORED, SUCCESSFUL, TIMED_OUT

const (
	// A link has just been initialized
	ApplicationLinkStateInitialized ApplicationLinkState = 0
	// A link has just started being verified
	AppLinkStateVerificationStarted ApplicationLinkState = 1
	// A link has errored during the verification process
	AppLinkStateVerificationError ApplicationLinkState = 2
	// A link has being verified successfully
	AppLinkStateVerificationSuccess ApplicationLinkState = 3
	// A link has timed out while waiting for the verification
	AppLinkStateVerificationTimedOut ApplicationLinkState = 4
)

func (ApplicationLinkState) EnumDescriptor

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

func (ApplicationLinkState) String

func (x ApplicationLinkState) String() string

type Base58Address

type Base58Address struct {
	// Value contains the Base58-encoded address
	Value string `protobuf:"bytes,1,opt,name=value,proto3" json:"value,omitempty" yaml:"value"`
}

Base58Address represents a Base58-encoded address

func NewBase58Address

func NewBase58Address(value string) *Base58Address

NewBase58Address returns a new Base58Address instance

func (*Base58Address) Descriptor

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

func (*Base58Address) Equal

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

func (Base58Address) GetValue

func (b Base58Address) GetValue() string

GetValue implements AddressData

func (*Base58Address) Marshal

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

func (*Base58Address) MarshalTo

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

func (*Base58Address) MarshalToSizedBuffer

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

func (*Base58Address) ProtoMessage

func (*Base58Address) ProtoMessage()

func (*Base58Address) Reset

func (m *Base58Address) Reset()

func (*Base58Address) Size

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

func (*Base58Address) String

func (m *Base58Address) String() string

func (*Base58Address) Unmarshal

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

func (Base58Address) Validate

func (b Base58Address) Validate() error

Validate implements AddressData

func (Base58Address) VerifyPubKey

func (b Base58Address) VerifyPubKey(key cryptotypes.PubKey) (bool, error)

VerifyPubKey implements AddressData

func (*Base58Address) XXX_DiscardUnknown

func (m *Base58Address) XXX_DiscardUnknown()

func (*Base58Address) XXX_Marshal

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

func (*Base58Address) XXX_Merge

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

func (*Base58Address) XXX_Size

func (m *Base58Address) XXX_Size() int

func (*Base58Address) XXX_Unmarshal

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

type Bech32Address

type Bech32Address struct {
	// Value represents the Bech-32 encoded address value
	Value string `protobuf:"bytes,1,opt,name=value,proto3" json:"value,omitempty" yaml:"value"`
	// Prefix represents the HRP of the Bech32 address
	Prefix string `protobuf:"bytes,2,opt,name=prefix,proto3" json:"prefix,omitempty" yaml:"prefix"`
}

Bech32Address represents a Bech32-encoded address

func NewBech32Address

func NewBech32Address(value, prefix string) *Bech32Address

NewBech32Address returns a new Bech32Address instance

func (*Bech32Address) Descriptor

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

func (*Bech32Address) Equal

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

func (Bech32Address) GetValue

func (b Bech32Address) GetValue() string

GetValue implements AddressData

func (*Bech32Address) Marshal

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

func (*Bech32Address) MarshalTo

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

func (*Bech32Address) MarshalToSizedBuffer

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

func (*Bech32Address) ProtoMessage

func (*Bech32Address) ProtoMessage()

func (*Bech32Address) Reset

func (m *Bech32Address) Reset()

func (*Bech32Address) Size

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

func (*Bech32Address) String

func (m *Bech32Address) String() string

func (*Bech32Address) Unmarshal

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

func (Bech32Address) Validate

func (b Bech32Address) Validate() error

Validate implements AddressData

func (Bech32Address) VerifyPubKey

func (b Bech32Address) VerifyPubKey(key cryptotypes.PubKey) (bool, error)

VerifyPubKey implements AddressData

func (*Bech32Address) XXX_DiscardUnknown

func (m *Bech32Address) XXX_DiscardUnknown()

func (*Bech32Address) XXX_Marshal

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

func (*Bech32Address) XXX_Merge

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

func (*Bech32Address) XXX_Size

func (m *Bech32Address) XXX_Size() int

func (*Bech32Address) XXX_Unmarshal

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

type BioParams

type BioParams struct {
	MaxLength github_com_cosmos_cosmos_sdk_types.Int `` /* 146-byte string literal not displayed */
}

BioParams defines the parameters related to profile biography

func DefaultBioParams

func DefaultBioParams() BioParams

DefaultBioParams returns default params module

func NewBioParams

func NewBioParams(maxLength sdk.Int) BioParams

NewBioParams creates a new BioParams obj

func (*BioParams) Descriptor

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

func (*BioParams) Marshal

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

func (*BioParams) MarshalTo

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

func (*BioParams) MarshalToSizedBuffer

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

func (*BioParams) ProtoMessage

func (*BioParams) ProtoMessage()

func (*BioParams) Reset

func (m *BioParams) Reset()

func (*BioParams) Size

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

func (*BioParams) String

func (m *BioParams) String() string

func (*BioParams) Unmarshal

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

func (*BioParams) XXX_DiscardUnknown

func (m *BioParams) XXX_DiscardUnknown()

func (*BioParams) XXX_Marshal

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

func (*BioParams) XXX_Merge

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

func (*BioParams) XXX_Size

func (m *BioParams) XXX_Size() int

func (*BioParams) XXX_Unmarshal

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

type ChainConfig

type ChainConfig struct {
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty" yaml:"name"`
}

ChainConfig contains the data of the chain with which the link is made.

func NewChainConfig

func NewChainConfig(name string) ChainConfig

NewChainConfig allows to build a new ChainConfig instance

func (*ChainConfig) Descriptor

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

func (*ChainConfig) Equal

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

func (*ChainConfig) Marshal

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

func (*ChainConfig) MarshalTo

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

func (*ChainConfig) MarshalToSizedBuffer

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

func (*ChainConfig) ProtoMessage

func (*ChainConfig) ProtoMessage()

func (*ChainConfig) Reset

func (m *ChainConfig) Reset()

func (*ChainConfig) Size

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

func (*ChainConfig) String

func (m *ChainConfig) String() string

func (*ChainConfig) Unmarshal

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

func (ChainConfig) Validate

func (c ChainConfig) Validate() error

Validate checks the validity of the ChainConfig

func (*ChainConfig) XXX_DiscardUnknown

func (m *ChainConfig) XXX_DiscardUnknown()

func (*ChainConfig) XXX_Marshal

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

func (*ChainConfig) XXX_Merge

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

func (*ChainConfig) XXX_Size

func (m *ChainConfig) XXX_Size() int

func (*ChainConfig) XXX_Unmarshal

func (m *ChainConfig) XXX_Unmarshal(b []byte) error
type ChainLink struct {
	// User defines the destination profile address to link
	User string `protobuf:"bytes,1,opt,name=user,proto3" json:"user,omitempty" yaml:"user"`
	// Address contains the data of the external chain address to be connected
	// with the Desmos profile
	Address *types.Any `protobuf:"bytes,2,opt,name=address,proto3" json:"address,omitempty" yaml:"address"`
	// Proof contains the ownership proof of the external chain address
	Proof Proof `protobuf:"bytes,3,opt,name=proof,proto3" json:"proof" yaml:"proof"`
	// ChainConfig contains the configuration of the external chain
	ChainConfig ChainConfig `protobuf:"bytes,4,opt,name=chain_config,json=chainConfig,proto3" json:"chain_config" yaml:"chain_config"`
	// CreationTime represents the time in which the link has been created
	CreationTime time.Time `protobuf:"bytes,5,opt,name=creation_time,json=creationTime,proto3,stdtime" json:"creation_time" yaml:"creation_time"`
}

ChainLink contains the data representing either an inter- or cross- chain link

func MustUnmarshalChainLink(codec codec.BinaryCodec, bz []byte) ChainLink

MustUnmarshalChainLink deserializes the given byte array as a chain link using the provided BinaryCodec

func NewChainLink(user string, address AddressData, proof Proof, chainConfig ChainConfig, creationTime time.Time) ChainLink

NewChainLink returns a new ChainLink instance nolint:interfacer

func (*ChainLink) Descriptor

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

func (*ChainLink) Equal

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

func (ChainLink) GetAddressData

func (link ChainLink) GetAddressData() AddressData

GetAddressData returns the AddressData associated with this chain link

func (*ChainLink) Marshal

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

func (*ChainLink) MarshalTo

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

func (*ChainLink) MarshalToSizedBuffer

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

func (*ChainLink) ProtoMessage

func (*ChainLink) ProtoMessage()

func (*ChainLink) Reset

func (m *ChainLink) Reset()

func (*ChainLink) Size

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

func (*ChainLink) String

func (m *ChainLink) String() string

func (*ChainLink) Unmarshal

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

func (*ChainLink) UnpackInterfaces

func (link *ChainLink) UnpackInterfaces(unpacker codectypes.AnyUnpacker) error

UnpackInterfaces implements codectypes.UnpackInterfacesMessage

func (ChainLink) Validate

func (link ChainLink) Validate() error

Validate checks the validity of the ChainLink

func (*ChainLink) XXX_DiscardUnknown

func (m *ChainLink) XXX_DiscardUnknown()

func (*ChainLink) XXX_Marshal

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

func (*ChainLink) XXX_Merge

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

func (*ChainLink) XXX_Size

func (m *ChainLink) XXX_Size() int

func (*ChainLink) XXX_Unmarshal

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

type ChannelKeeper

type ChannelKeeper interface {
	GetChannel(ctx sdk.Context, srcPort, srcChan string) (channel channeltypes.Channel, found bool)
	GetNextSequenceSend(ctx sdk.Context, portID, channelID string) (uint64, bool)
	SendPacket(ctx sdk.Context, channelCap *capabilitytypes.Capability, packet ibcexported.PacketI) error
	ChanCloseInit(ctx sdk.Context, portID, channelID string, chanCap *capabilitytypes.Capability) error
}

ChannelKeeper defines the expected IBC channel keeper

type ClientKeeper

type ClientKeeper interface {
	GetClientConsensusState(ctx sdk.Context, clientID string) (connection ibcexported.ConsensusState, found bool)
}

ClientKeeper defines the expected IBC client keeper

type ConnectionKeeper

type ConnectionKeeper interface {
	GetConnection(ctx sdk.Context, connectionID string) (connection connectiontypes.ConnectionEnd, found bool)
}

ConnectionKeeper defines the expected IBC connection keeper

type DTagParams

type DTagParams struct {
	RegEx     string                                 `protobuf:"bytes,1,opt,name=reg_ex,json=regEx,proto3" json:"reg_ex,omitempty" yaml:"reg_ex"`
	MinLength github_com_cosmos_cosmos_sdk_types.Int `` /* 146-byte string literal not displayed */
	MaxLength github_com_cosmos_cosmos_sdk_types.Int `` /* 146-byte string literal not displayed */
}

DTagParams defines the parameters related to profile DTags

func DefaultDTagParams

func DefaultDTagParams() DTagParams

DefaultDTagParams return default paramsModule

func NewDTagParams

func NewDTagParams(regEx string, minLen, maxLen sdk.Int) DTagParams

NewDTagParams creates a new DTagParams obj

func (*DTagParams) Descriptor

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

func (*DTagParams) Marshal

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

func (*DTagParams) MarshalTo

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

func (*DTagParams) MarshalToSizedBuffer

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

func (*DTagParams) ProtoMessage

func (*DTagParams) ProtoMessage()

func (*DTagParams) Reset

func (m *DTagParams) Reset()

func (*DTagParams) Size

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

func (*DTagParams) String

func (m *DTagParams) String() string

func (*DTagParams) Unmarshal

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

func (*DTagParams) XXX_DiscardUnknown

func (m *DTagParams) XXX_DiscardUnknown()

func (*DTagParams) XXX_Marshal

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

func (*DTagParams) XXX_Merge

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

func (*DTagParams) XXX_Size

func (m *DTagParams) XXX_Size() int

func (*DTagParams) XXX_Unmarshal

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

type DTagTransferRequest

type DTagTransferRequest struct {
	// DTagToTrade contains the value of the DTag that should be transferred from
	// the receiver of the request to the sender
	DTagToTrade string `protobuf:"bytes,1,opt,name=dtag_to_trade,json=dtagToTrade,proto3" json:"dtag_to_trade,omitempty" yaml:"dtag_to_trade"`
	// Sender represents the address of the account that sent the request
	Sender string `protobuf:"bytes,2,opt,name=sender,proto3" json:"sender,omitempty" yaml:"sender"`
	// Receiver represents the receiver of the request that, if accepted, will
	// give to the sender their DTag
	Receiver string `protobuf:"bytes,3,opt,name=receiver,proto3" json:"receiver,omitempty" yaml:"receiver"`
}

DTagTransferRequest represent a DTag transfer request between two users

func MustUnmarshalDTagTransferRequest

func MustUnmarshalDTagTransferRequest(cdc codec.BinaryCodec, bz []byte) DTagTransferRequest

MustUnmarshalDTagTransferRequest unmarshalls the given byte array as a DTagTransferRequest using the provided marshaller

func NewDTagTransferRequest

func NewDTagTransferRequest(dTagToTrade string, sender, receiver string) DTagTransferRequest

func (*DTagTransferRequest) Descriptor

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

func (*DTagTransferRequest) Equal

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

func (*DTagTransferRequest) Marshal

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

func (*DTagTransferRequest) MarshalTo

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

func (*DTagTransferRequest) MarshalToSizedBuffer

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

func (*DTagTransferRequest) ProtoMessage

func (*DTagTransferRequest) ProtoMessage()

func (*DTagTransferRequest) Reset

func (m *DTagTransferRequest) Reset()

func (*DTagTransferRequest) Size

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

func (*DTagTransferRequest) String

func (m *DTagTransferRequest) String() string

func (*DTagTransferRequest) Unmarshal

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

func (DTagTransferRequest) Validate

func (request DTagTransferRequest) Validate() error

Validate checks the request validity

func (*DTagTransferRequest) XXX_DiscardUnknown

func (m *DTagTransferRequest) XXX_DiscardUnknown()

func (*DTagTransferRequest) XXX_Marshal

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

func (*DTagTransferRequest) XXX_Merge

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

func (*DTagTransferRequest) XXX_Size

func (m *DTagTransferRequest) XXX_Size() int

func (*DTagTransferRequest) XXX_Unmarshal

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

type Data

type Data struct {
	// The application name (eg. Twitter, GitHub, etc)
	Application string `protobuf:"bytes,1,opt,name=application,proto3" json:"application,omitempty" yaml:"application"`
	// Username on the application (eg. Twitter tag, GitHub profile, etc)
	Username string `protobuf:"bytes,2,opt,name=username,proto3" json:"username,omitempty" yaml:"username"`
}

Data contains the data associated to a specific user of a generic centralized application

func NewData

func NewData(application, username string) Data

NewData allows to build a new Data instance

func (*Data) Descriptor

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

func (*Data) Equal

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

func (*Data) Marshal

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

func (*Data) MarshalTo

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

func (*Data) MarshalToSizedBuffer

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

func (*Data) ProtoMessage

func (*Data) ProtoMessage()

func (*Data) Reset

func (m *Data) Reset()

func (*Data) Size

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

func (*Data) String

func (m *Data) String() string

func (*Data) Unmarshal

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

func (Data) Validate

func (d Data) Validate() error

Validate returns an error if the instance does not contain valid data

func (*Data) XXX_DiscardUnknown

func (m *Data) XXX_DiscardUnknown()

func (*Data) XXX_Marshal

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

func (*Data) XXX_Merge

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

func (*Data) XXX_Size

func (m *Data) XXX_Size() int

func (*Data) XXX_Unmarshal

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

type GenesisState

type GenesisState struct {
	DTagTransferRequests []DTagTransferRequest `` /* 143-byte string literal not displayed */
	Relationships        []Relationship        `protobuf:"bytes,2,rep,name=relationships,proto3" json:"relationships" yaml:"relationships"`
	Blocks               []UserBlock           `protobuf:"bytes,3,rep,name=blocks,proto3" json:"blocks" yaml:"blocks"`
	Params               Params                `protobuf:"bytes,4,opt,name=params,proto3" json:"params" yaml:"params"`
	IBCPortID            string                `protobuf:"bytes,5,opt,name=ibc_port_id,json=ibcPortId,proto3" json:"ibc_port_id,omitempty" yaml:"ibc_port_id"`
	ChainLinks           []ChainLink           `protobuf:"bytes,6,rep,name=chain_links,json=chainLinks,proto3" json:"chain_links" yaml:"chain_links"`
	ApplicationLinks     []ApplicationLink     `protobuf:"bytes,7,rep,name=application_links,json=applicationLinks,proto3" json:"application_links" yaml:"application_links"`
}

GenesisState defines the profiles module's genesis state.

func DefaultGenesisState

func DefaultGenesisState() *GenesisState

DefaultGenesisState returns a default GenesisState

func NewGenesisState

func NewGenesisState(
	requests []DTagTransferRequest, relationships []Relationship, blocks []UserBlock,
	params Params, portID string,
	chainLinks []ChainLink, applicationLinks []ApplicationLink,
) *GenesisState

NewGenesisState creates a new genesis state

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

type LinkChainAccountPacketAck struct {
	// SourceAddress contains the external address that has been linked properly
	// with the profile
	SourceAddress string `protobuf:"bytes,1,opt,name=source_address,json=sourceAddress,proto3" json:"source_address,omitempty"`
}

LinkChainAccountPacketAck defines a struct for the packet acknowledgment

func (*LinkChainAccountPacketAck) Descriptor

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

func (*LinkChainAccountPacketAck) Marshal

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

func (*LinkChainAccountPacketAck) MarshalTo

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

func (*LinkChainAccountPacketAck) MarshalToSizedBuffer

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

func (*LinkChainAccountPacketAck) ProtoMessage

func (*LinkChainAccountPacketAck) ProtoMessage()

func (*LinkChainAccountPacketAck) Reset

func (m *LinkChainAccountPacketAck) Reset()

func (*LinkChainAccountPacketAck) Size

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

func (*LinkChainAccountPacketAck) String

func (m *LinkChainAccountPacketAck) String() string

func (*LinkChainAccountPacketAck) Unmarshal

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

func (*LinkChainAccountPacketAck) XXX_DiscardUnknown

func (m *LinkChainAccountPacketAck) XXX_DiscardUnknown()

func (*LinkChainAccountPacketAck) XXX_Marshal

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

func (*LinkChainAccountPacketAck) XXX_Merge

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

func (*LinkChainAccountPacketAck) XXX_Size

func (m *LinkChainAccountPacketAck) XXX_Size() int

func (*LinkChainAccountPacketAck) XXX_Unmarshal

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

type LinkChainAccountPacketData

type LinkChainAccountPacketData struct {
	// SourceAddress contains the details of the external chain address
	SourceAddress *types.Any `protobuf:"bytes,1,opt,name=source_address,json=sourceAddress,proto3" json:"source_address,omitempty" yaml:"source_address"`
	// SourceProof represents the proof of ownership of the source address
	SourceProof Proof `protobuf:"bytes,2,opt,name=source_proof,json=sourceProof,proto3" json:"source_proof" yaml:"source_proof"`
	// SourceChainConfig contains the details of the source chain
	SourceChainConfig ChainConfig `` /* 131-byte string literal not displayed */
	// DestinationAddress represents the Desmos address of the profile that should
	// be linked with the external account
	DestinationAddress string `` /* 142-byte string literal not displayed */
	// DestinationProof contains the proof of ownership of the DestinationAddress
	DestinationProof Proof `protobuf:"bytes,5,opt,name=destination_proof,json=destinationProof,proto3" json:"destination_proof" yaml:"destination_proof"`
}

LinkChainAccountPacketData defines the object that should be sent inside a MsgSendPacket when wanting to link an external chain to a Desmos profile using IBC

func NewLinkChainAccountPacketData

func NewLinkChainAccountPacketData(
	sourceAddress AddressData,
	sourceProof Proof,
	sourceChainConfig ChainConfig,
	destinationAddress string,
	destinationProof Proof,
) LinkChainAccountPacketData

NewLinkChainAccountPacketData returns a new LinkChainAccountPacketData instance

func (*LinkChainAccountPacketData) Descriptor

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

func (LinkChainAccountPacketData) GetBytes

func (p LinkChainAccountPacketData) GetBytes() ([]byte, error)

GetBytes is a helper for serialising

func (*LinkChainAccountPacketData) Marshal

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

func (*LinkChainAccountPacketData) MarshalTo

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

func (*LinkChainAccountPacketData) MarshalToSizedBuffer

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

func (*LinkChainAccountPacketData) ProtoMessage

func (*LinkChainAccountPacketData) ProtoMessage()

func (*LinkChainAccountPacketData) Reset

func (m *LinkChainAccountPacketData) Reset()

func (*LinkChainAccountPacketData) Size

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

func (*LinkChainAccountPacketData) String

func (m *LinkChainAccountPacketData) String() string

func (*LinkChainAccountPacketData) Unmarshal

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

func (LinkChainAccountPacketData) Validate

func (p LinkChainAccountPacketData) Validate() error

Validate validates the LinkChainAccountPacketData

func (*LinkChainAccountPacketData) XXX_DiscardUnknown

func (m *LinkChainAccountPacketData) XXX_DiscardUnknown()

func (*LinkChainAccountPacketData) XXX_Marshal

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

func (*LinkChainAccountPacketData) XXX_Merge

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

func (*LinkChainAccountPacketData) XXX_Size

func (m *LinkChainAccountPacketData) XXX_Size() int

func (*LinkChainAccountPacketData) XXX_Unmarshal

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

type MsgAcceptDTagTransferRequest

type MsgAcceptDTagTransferRequest struct {
	// NewDTag represents the DTag that the request receiver will obtain if they
	// accept the request
	NewDTag string `protobuf:"bytes,1,opt,name=new_dtag,json=newDtag,proto3" json:"new_dtag,omitempty" yaml:"new_dtag"`
	// Sender represents the request sender
	Sender string `protobuf:"bytes,2,opt,name=sender,proto3" json:"sender,omitempty" yaml:"sender"`
	// Receiver represents the request receiver
	Receiver string `protobuf:"bytes,3,opt,name=receiver,proto3" json:"receiver,omitempty" yaml:"receiver"`
}

MsgAcceptDTagTransferRequest represents the message used to accept a DTag transfer request.

func NewMsgAcceptDTagTransferRequest

func NewMsgAcceptDTagTransferRequest(newDTag string, sender, receiver string) *MsgAcceptDTagTransferRequest

NewMsgAcceptDTagTransferRequest is a constructor for MsgAcceptDTagTransferRequest

func (*MsgAcceptDTagTransferRequest) Descriptor

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

func (MsgAcceptDTagTransferRequest) GetSignBytes

func (msg MsgAcceptDTagTransferRequest) GetSignBytes() []byte

GetSignBytes encodes the message for signing

func (MsgAcceptDTagTransferRequest) GetSigners

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

GetSigners defines whose signature is required

func (*MsgAcceptDTagTransferRequest) Marshal

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

func (*MsgAcceptDTagTransferRequest) MarshalTo

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

func (*MsgAcceptDTagTransferRequest) MarshalToSizedBuffer

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

func (*MsgAcceptDTagTransferRequest) ProtoMessage

func (*MsgAcceptDTagTransferRequest) ProtoMessage()

func (*MsgAcceptDTagTransferRequest) Reset

func (m *MsgAcceptDTagTransferRequest) Reset()

func (MsgAcceptDTagTransferRequest) Route

Route should return the name of the module

func (*MsgAcceptDTagTransferRequest) Size

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

func (*MsgAcceptDTagTransferRequest) String

func (MsgAcceptDTagTransferRequest) Type

Type should return the action

func (*MsgAcceptDTagTransferRequest) Unmarshal

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

func (MsgAcceptDTagTransferRequest) ValidateBasic

func (msg MsgAcceptDTagTransferRequest) ValidateBasic() error

func (*MsgAcceptDTagTransferRequest) XXX_DiscardUnknown

func (m *MsgAcceptDTagTransferRequest) XXX_DiscardUnknown()

func (*MsgAcceptDTagTransferRequest) XXX_Marshal

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

func (*MsgAcceptDTagTransferRequest) XXX_Merge

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

func (*MsgAcceptDTagTransferRequest) XXX_Size

func (m *MsgAcceptDTagTransferRequest) XXX_Size() int

func (*MsgAcceptDTagTransferRequest) XXX_Unmarshal

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

type MsgAcceptDTagTransferRequestResponse

type MsgAcceptDTagTransferRequestResponse struct {
}

MsgAcceptDTagTransferRequestResponse defines the Msg/AcceptDTagTransferRequest response.

func (*MsgAcceptDTagTransferRequestResponse) Descriptor

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

func (*MsgAcceptDTagTransferRequestResponse) Marshal

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

func (*MsgAcceptDTagTransferRequestResponse) MarshalTo

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

func (*MsgAcceptDTagTransferRequestResponse) MarshalToSizedBuffer

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

func (*MsgAcceptDTagTransferRequestResponse) ProtoMessage

func (*MsgAcceptDTagTransferRequestResponse) ProtoMessage()

func (*MsgAcceptDTagTransferRequestResponse) Reset

func (*MsgAcceptDTagTransferRequestResponse) Size

func (*MsgAcceptDTagTransferRequestResponse) String

func (*MsgAcceptDTagTransferRequestResponse) Unmarshal

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

func (*MsgAcceptDTagTransferRequestResponse) XXX_DiscardUnknown

func (m *MsgAcceptDTagTransferRequestResponse) XXX_DiscardUnknown()

func (*MsgAcceptDTagTransferRequestResponse) XXX_Marshal

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

func (*MsgAcceptDTagTransferRequestResponse) XXX_Merge

func (*MsgAcceptDTagTransferRequestResponse) XXX_Size

func (*MsgAcceptDTagTransferRequestResponse) XXX_Unmarshal

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

type MsgBlockUser

type MsgBlockUser struct {
	Blocker  string `protobuf:"bytes,1,opt,name=blocker,proto3" json:"blocker,omitempty" yaml:"blocker"`
	Blocked  string `protobuf:"bytes,2,opt,name=blocked,proto3" json:"blocked,omitempty" yaml:"blocked"`
	Reason   string `protobuf:"bytes,3,opt,name=reason,proto3" json:"reason,omitempty" yaml:"reason"`
	Subspace string `protobuf:"bytes,4,opt,name=subspace,proto3" json:"subspace,omitempty" yaml:"subspace"`
}

MsgBlockUser represents a message to block another user specifying an optional reason.

func NewMsgBlockUser

func NewMsgBlockUser(blocker, blocked, reason, subspace string) *MsgBlockUser

func (*MsgBlockUser) Descriptor

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

func (*MsgBlockUser) GetBlocked

func (m *MsgBlockUser) GetBlocked() string

func (*MsgBlockUser) GetBlocker

func (m *MsgBlockUser) GetBlocker() string

func (*MsgBlockUser) GetReason

func (m *MsgBlockUser) GetReason() string

func (MsgBlockUser) GetSignBytes

func (msg MsgBlockUser) GetSignBytes() []byte

GetSignBytes encodes the message for signing

func (MsgBlockUser) GetSigners

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

GetSigners defines whose signature is required

func (*MsgBlockUser) GetSubspace

func (m *MsgBlockUser) GetSubspace() string

func (*MsgBlockUser) Marshal

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

func (*MsgBlockUser) MarshalTo

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

func (*MsgBlockUser) MarshalToSizedBuffer

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

func (*MsgBlockUser) ProtoMessage

func (*MsgBlockUser) ProtoMessage()

func (*MsgBlockUser) Reset

func (m *MsgBlockUser) Reset()

func (MsgBlockUser) Route

func (msg MsgBlockUser) Route() string

Route should return the name of the module

func (*MsgBlockUser) Size

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

func (*MsgBlockUser) String

func (m *MsgBlockUser) String() string

func (MsgBlockUser) Type

func (msg MsgBlockUser) Type() string

Type should return the action

func (*MsgBlockUser) Unmarshal

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

func (MsgBlockUser) ValidateBasic

func (msg MsgBlockUser) ValidateBasic() error

ValidateBasic runs stateless checks on the message

func (*MsgBlockUser) XXX_DiscardUnknown

func (m *MsgBlockUser) XXX_DiscardUnknown()

func (*MsgBlockUser) XXX_Marshal

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

func (*MsgBlockUser) XXX_Merge

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

func (*MsgBlockUser) XXX_Size

func (m *MsgBlockUser) XXX_Size() int

func (*MsgBlockUser) XXX_Unmarshal

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

type MsgBlockUserResponse

type MsgBlockUserResponse struct {
}

MsgBlockUserResponse defines the Msg/BlockUser response type.

func (*MsgBlockUserResponse) Descriptor

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

func (*MsgBlockUserResponse) Marshal

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

func (*MsgBlockUserResponse) MarshalTo

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

func (*MsgBlockUserResponse) MarshalToSizedBuffer

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

func (*MsgBlockUserResponse) ProtoMessage

func (*MsgBlockUserResponse) ProtoMessage()

func (*MsgBlockUserResponse) Reset

func (m *MsgBlockUserResponse) Reset()

func (*MsgBlockUserResponse) Size

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

func (*MsgBlockUserResponse) String

func (m *MsgBlockUserResponse) String() string

func (*MsgBlockUserResponse) Unmarshal

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

func (*MsgBlockUserResponse) XXX_DiscardUnknown

func (m *MsgBlockUserResponse) XXX_DiscardUnknown()

func (*MsgBlockUserResponse) XXX_Marshal

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

func (*MsgBlockUserResponse) XXX_Merge

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

func (*MsgBlockUserResponse) XXX_Size

func (m *MsgBlockUserResponse) XXX_Size() int

func (*MsgBlockUserResponse) XXX_Unmarshal

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

type MsgCancelDTagTransferRequest

type MsgCancelDTagTransferRequest struct {
	// Receiver contains the address of the request receiver
	Receiver string `protobuf:"bytes,1,opt,name=receiver,proto3" json:"receiver,omitempty" yaml:"receiver"`
	// Sender contains the address of the requets sender
	Sender string `protobuf:"bytes,2,opt,name=sender,proto3" json:"sender,omitempty" yaml:"sender"`
}

MsgCancelDTagTransferRequest represents the message used to cancel a DTag transfer request.

func NewMsgCancelDTagTransferRequest

func NewMsgCancelDTagTransferRequest(sender, receiver string) *MsgCancelDTagTransferRequest

NewMsgCancelDTagTransferRequest is a constructor for MsgCancelDTagTransferRequest

func (*MsgCancelDTagTransferRequest) Descriptor

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

func (MsgCancelDTagTransferRequest) GetSignBytes

func (msg MsgCancelDTagTransferRequest) GetSignBytes() []byte

GetSignBytes encodes the message for signing

func (MsgCancelDTagTransferRequest) GetSigners

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

GetSigners defines whose signature is required

func (*MsgCancelDTagTransferRequest) Marshal

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

func (*MsgCancelDTagTransferRequest) MarshalTo

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

func (*MsgCancelDTagTransferRequest) MarshalToSizedBuffer

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

func (*MsgCancelDTagTransferRequest) ProtoMessage

func (*MsgCancelDTagTransferRequest) ProtoMessage()

func (*MsgCancelDTagTransferRequest) Reset

func (m *MsgCancelDTagTransferRequest) Reset()

func (MsgCancelDTagTransferRequest) Route

Route should return the name of the module

func (*MsgCancelDTagTransferRequest) Size

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

func (*MsgCancelDTagTransferRequest) String

func (MsgCancelDTagTransferRequest) Type

Type should return the action

func (*MsgCancelDTagTransferRequest) Unmarshal

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

func (MsgCancelDTagTransferRequest) ValidateBasic

func (msg MsgCancelDTagTransferRequest) ValidateBasic() error

func (*MsgCancelDTagTransferRequest) XXX_DiscardUnknown

func (m *MsgCancelDTagTransferRequest) XXX_DiscardUnknown()

func (*MsgCancelDTagTransferRequest) XXX_Marshal

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

func (*MsgCancelDTagTransferRequest) XXX_Merge

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

func (*MsgCancelDTagTransferRequest) XXX_Size

func (m *MsgCancelDTagTransferRequest) XXX_Size() int

func (*MsgCancelDTagTransferRequest) XXX_Unmarshal

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

type MsgCancelDTagTransferRequestResponse

type MsgCancelDTagTransferRequestResponse struct {
}

MsgCancelDTagTransferRequestResponse represents the Msg/CancelDTagTransferRequest response type.

func (*MsgCancelDTagTransferRequestResponse) Descriptor

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

func (*MsgCancelDTagTransferRequestResponse) Marshal

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

func (*MsgCancelDTagTransferRequestResponse) MarshalTo

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

func (*MsgCancelDTagTransferRequestResponse) MarshalToSizedBuffer

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

func (*MsgCancelDTagTransferRequestResponse) ProtoMessage

func (*MsgCancelDTagTransferRequestResponse) ProtoMessage()

func (*MsgCancelDTagTransferRequestResponse) Reset

func (*MsgCancelDTagTransferRequestResponse) Size

func (*MsgCancelDTagTransferRequestResponse) String

func (*MsgCancelDTagTransferRequestResponse) Unmarshal

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

func (*MsgCancelDTagTransferRequestResponse) XXX_DiscardUnknown

func (m *MsgCancelDTagTransferRequestResponse) XXX_DiscardUnknown()

func (*MsgCancelDTagTransferRequestResponse) XXX_Marshal

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

func (*MsgCancelDTagTransferRequestResponse) XXX_Merge

func (*MsgCancelDTagTransferRequestResponse) XXX_Size

func (*MsgCancelDTagTransferRequestResponse) XXX_Unmarshal

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

type MsgClient

type MsgClient interface {
	// SaveProfile defines the method to save a profile
	SaveProfile(ctx context.Context, in *MsgSaveProfile, opts ...grpc.CallOption) (*MsgSaveProfileResponse, error)
	// DeleteProfile defines the method to delete an existing profile
	DeleteProfile(ctx context.Context, in *MsgDeleteProfile, opts ...grpc.CallOption) (*MsgDeleteProfileResponse, error)
	// RequestDTagTransfer defines the method to request another user to transfer
	// their DTag to you
	RequestDTagTransfer(ctx context.Context, in *MsgRequestDTagTransfer, opts ...grpc.CallOption) (*MsgRequestDTagTransferResponse, error)
	// CancelDTagTransferRequest defines the method to cancel an outgoing DTag
	// transfer request
	CancelDTagTransferRequest(ctx context.Context, in *MsgCancelDTagTransferRequest, opts ...grpc.CallOption) (*MsgCancelDTagTransferRequestResponse, error)
	// AcceptDTagTransferRequest defines the method to accept an incoming DTag
	// transfer request
	AcceptDTagTransferRequest(ctx context.Context, in *MsgAcceptDTagTransferRequest, opts ...grpc.CallOption) (*MsgAcceptDTagTransferRequestResponse, error)
	// RefuseDTagTransferRequest defines the method to refuse an incoming DTag
	// transfer request
	RefuseDTagTransferRequest(ctx context.Context, in *MsgRefuseDTagTransferRequest, opts ...grpc.CallOption) (*MsgRefuseDTagTransferRequestResponse, error)
	// CreateRelationship defines a method for creating a new relationship
	CreateRelationship(ctx context.Context, in *MsgCreateRelationship, opts ...grpc.CallOption) (*MsgCreateRelationshipResponse, error)
	// DeleteRelationship defines a method for deleting a relationship
	DeleteRelationship(ctx context.Context, in *MsgDeleteRelationship, opts ...grpc.CallOption) (*MsgDeleteRelationshipResponse, error)
	// BlockUser defines a method for blocking a user
	BlockUser(ctx context.Context, in *MsgBlockUser, opts ...grpc.CallOption) (*MsgBlockUserResponse, error)
	// UnblockUser defines a method for unblocking a user
	UnblockUser(ctx context.Context, in *MsgUnblockUser, opts ...grpc.CallOption) (*MsgUnblockUserResponse, error)
	// LinkChainAccount defines a method to link an external chain account to a
	// profile
	LinkChainAccount(ctx context.Context, in *MsgLinkChainAccount, opts ...grpc.CallOption) (*MsgLinkChainAccountResponse, error)
	// UnlinkChainAccount defines a method to unlink an external chain account
	// from a profile
	UnlinkChainAccount(ctx context.Context, in *MsgUnlinkChainAccount, opts ...grpc.CallOption) (*MsgUnlinkChainAccountResponse, error)
	// LinkApplication defines a method to create a centralized application
	// link
	LinkApplication(ctx context.Context, in *MsgLinkApplication, opts ...grpc.CallOption) (*MsgLinkApplicationResponse, error)
	// UnlinkApplication defines a method to remove a centralized application
	UnlinkApplication(ctx context.Context, in *MsgUnlinkApplication, opts ...grpc.CallOption) (*MsgUnlinkApplicationResponse, 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 MsgCreateRelationship

type MsgCreateRelationship struct {
	Sender   string `protobuf:"bytes,1,opt,name=sender,proto3" json:"sender,omitempty" yaml:"sender"`
	Receiver string `protobuf:"bytes,2,opt,name=receiver,proto3" json:"receiver,omitempty" yaml:"receiver"`
	Subspace string `protobuf:"bytes,3,opt,name=subspace,proto3" json:"subspace,omitempty" yaml:"subspace"`
}

MsgCreateRelationship represents a message to create a relationship between two users on a specific subspace.

func NewMsgCreateRelationship

func NewMsgCreateRelationship(creator, recipient, subspace string) *MsgCreateRelationship

func (*MsgCreateRelationship) Descriptor

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

func (MsgCreateRelationship) GetSignBytes

func (msg MsgCreateRelationship) GetSignBytes() []byte

GetSignBytes encodes the message for signing

func (MsgCreateRelationship) GetSigners

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

GetSigners defines whose signature is required

func (*MsgCreateRelationship) Marshal

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

func (*MsgCreateRelationship) MarshalTo

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

func (*MsgCreateRelationship) MarshalToSizedBuffer

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

func (*MsgCreateRelationship) ProtoMessage

func (*MsgCreateRelationship) ProtoMessage()

func (*MsgCreateRelationship) Reset

func (m *MsgCreateRelationship) Reset()

func (MsgCreateRelationship) Route

func (msg MsgCreateRelationship) Route() string

Route should return the name of the module

func (*MsgCreateRelationship) Size

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

func (*MsgCreateRelationship) String

func (m *MsgCreateRelationship) String() string

func (MsgCreateRelationship) Type

func (msg MsgCreateRelationship) Type() string

Type should return the action

func (*MsgCreateRelationship) Unmarshal

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

func (MsgCreateRelationship) ValidateBasic

func (msg MsgCreateRelationship) ValidateBasic() error

ValidateBasic runs stateless checks on the message

func (*MsgCreateRelationship) XXX_DiscardUnknown

func (m *MsgCreateRelationship) XXX_DiscardUnknown()

func (*MsgCreateRelationship) XXX_Marshal

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

func (*MsgCreateRelationship) XXX_Merge

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

func (*MsgCreateRelationship) XXX_Size

func (m *MsgCreateRelationship) XXX_Size() int

func (*MsgCreateRelationship) XXX_Unmarshal

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

type MsgCreateRelationshipResponse

type MsgCreateRelationshipResponse struct {
}

MsgCreateRelationshipResponse defines the Msg/CreateRelationship response type.

func (*MsgCreateRelationshipResponse) Descriptor

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

func (*MsgCreateRelationshipResponse) Marshal

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

func (*MsgCreateRelationshipResponse) MarshalTo

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

func (*MsgCreateRelationshipResponse) MarshalToSizedBuffer

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

func (*MsgCreateRelationshipResponse) ProtoMessage

func (*MsgCreateRelationshipResponse) ProtoMessage()

func (*MsgCreateRelationshipResponse) Reset

func (m *MsgCreateRelationshipResponse) Reset()

func (*MsgCreateRelationshipResponse) Size

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

func (*MsgCreateRelationshipResponse) String

func (*MsgCreateRelationshipResponse) Unmarshal

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

func (*MsgCreateRelationshipResponse) XXX_DiscardUnknown

func (m *MsgCreateRelationshipResponse) XXX_DiscardUnknown()

func (*MsgCreateRelationshipResponse) XXX_Marshal

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

func (*MsgCreateRelationshipResponse) XXX_Merge

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

func (*MsgCreateRelationshipResponse) XXX_Size

func (m *MsgCreateRelationshipResponse) XXX_Size() int

func (*MsgCreateRelationshipResponse) XXX_Unmarshal

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

type MsgDeleteProfile

type MsgDeleteProfile struct {
	Creator string `protobuf:"bytes,1,opt,name=creator,proto3" json:"creator,omitempty" yaml:"creator"`
}

MsgDeleteProfile represents the message used to delete an existing profile.

func NewMsgDeleteProfile

func NewMsgDeleteProfile(creator string) *MsgDeleteProfile

NewMsgDeleteProfile is a constructor function for MsgDeleteProfile

func (*MsgDeleteProfile) Descriptor

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

func (MsgDeleteProfile) GetSignBytes

func (msg MsgDeleteProfile) GetSignBytes() []byte

GetSignBytes encodes the message for signing

func (MsgDeleteProfile) GetSigners

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

GetSigners defines whose signature is required

func (*MsgDeleteProfile) Marshal

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

func (*MsgDeleteProfile) MarshalTo

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

func (*MsgDeleteProfile) MarshalToSizedBuffer

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

func (*MsgDeleteProfile) ProtoMessage

func (*MsgDeleteProfile) ProtoMessage()

func (*MsgDeleteProfile) Reset

func (m *MsgDeleteProfile) Reset()

func (MsgDeleteProfile) Route

func (msg MsgDeleteProfile) Route() string

Route should return the name of the module

func (*MsgDeleteProfile) Size

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

func (*MsgDeleteProfile) String

func (m *MsgDeleteProfile) String() string

func (MsgDeleteProfile) Type

func (msg MsgDeleteProfile) Type() string

Type should return the action

func (*MsgDeleteProfile) Unmarshal

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

func (MsgDeleteProfile) ValidateBasic

func (msg MsgDeleteProfile) ValidateBasic() error

ValidateBasic runs stateless checks on the message

func (*MsgDeleteProfile) XXX_DiscardUnknown

func (m *MsgDeleteProfile) XXX_DiscardUnknown()

func (*MsgDeleteProfile) XXX_Marshal

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

func (*MsgDeleteProfile) XXX_Merge

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

func (*MsgDeleteProfile) XXX_Size

func (m *MsgDeleteProfile) XXX_Size() int

func (*MsgDeleteProfile) XXX_Unmarshal

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

type MsgDeleteProfileResponse

type MsgDeleteProfileResponse struct {
}

MsgDeleteProfileResponse defines the Msg/DeleteProfile response type.

func (*MsgDeleteProfileResponse) Descriptor

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

func (*MsgDeleteProfileResponse) Marshal

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

func (*MsgDeleteProfileResponse) MarshalTo

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

func (*MsgDeleteProfileResponse) MarshalToSizedBuffer

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

func (*MsgDeleteProfileResponse) ProtoMessage

func (*MsgDeleteProfileResponse) ProtoMessage()

func (*MsgDeleteProfileResponse) Reset

func (m *MsgDeleteProfileResponse) Reset()

func (*MsgDeleteProfileResponse) Size

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

func (*MsgDeleteProfileResponse) String

func (m *MsgDeleteProfileResponse) String() string

func (*MsgDeleteProfileResponse) Unmarshal

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

func (*MsgDeleteProfileResponse) XXX_DiscardUnknown

func (m *MsgDeleteProfileResponse) XXX_DiscardUnknown()

func (*MsgDeleteProfileResponse) XXX_Marshal

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

func (*MsgDeleteProfileResponse) XXX_Merge

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

func (*MsgDeleteProfileResponse) XXX_Size

func (m *MsgDeleteProfileResponse) XXX_Size() int

func (*MsgDeleteProfileResponse) XXX_Unmarshal

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

type MsgDeleteRelationship

type MsgDeleteRelationship struct {
	User         string `protobuf:"bytes,1,opt,name=user,proto3" json:"user,omitempty" yaml:"user"`
	Counterparty string `protobuf:"bytes,2,opt,name=counterparty,proto3" json:"counterparty,omitempty" yaml:"counterparty"`
	Subspace     string `protobuf:"bytes,3,opt,name=subspace,proto3" json:"subspace,omitempty" yaml:"subspace"`
}

MsgDeleteRelationship represents a message to delete the relationship between two users.

func NewMsgDeleteRelationship

func NewMsgDeleteRelationship(user, counterparty, subspace string) *MsgDeleteRelationship

func (*MsgDeleteRelationship) Descriptor

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

func (*MsgDeleteRelationship) GetCounterparty

func (m *MsgDeleteRelationship) GetCounterparty() string

func (MsgDeleteRelationship) GetSignBytes

func (msg MsgDeleteRelationship) GetSignBytes() []byte

GetSignBytes encodes the message for signing

func (MsgDeleteRelationship) GetSigners

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

GetSigners defines whose signature is required

func (*MsgDeleteRelationship) GetSubspace

func (m *MsgDeleteRelationship) GetSubspace() string

func (*MsgDeleteRelationship) GetUser

func (m *MsgDeleteRelationship) GetUser() string

func (*MsgDeleteRelationship) Marshal

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

func (*MsgDeleteRelationship) MarshalTo

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

func (*MsgDeleteRelationship) MarshalToSizedBuffer

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

func (*MsgDeleteRelationship) ProtoMessage

func (*MsgDeleteRelationship) ProtoMessage()

func (*MsgDeleteRelationship) Reset

func (m *MsgDeleteRelationship) Reset()

func (MsgDeleteRelationship) Route

func (msg MsgDeleteRelationship) Route() string

Route should return the name of the module

func (*MsgDeleteRelationship) Size

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

func (*MsgDeleteRelationship) String

func (m *MsgDeleteRelationship) String() string

func (MsgDeleteRelationship) Type

func (msg MsgDeleteRelationship) Type() string

Type should return the action

func (*MsgDeleteRelationship) Unmarshal

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

func (MsgDeleteRelationship) ValidateBasic

func (msg MsgDeleteRelationship) ValidateBasic() error

ValidateBasic runs stateless checks on the message

func (*MsgDeleteRelationship) XXX_DiscardUnknown

func (m *MsgDeleteRelationship) XXX_DiscardUnknown()

func (*MsgDeleteRelationship) XXX_Marshal

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

func (*MsgDeleteRelationship) XXX_Merge

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

func (*MsgDeleteRelationship) XXX_Size

func (m *MsgDeleteRelationship) XXX_Size() int

func (*MsgDeleteRelationship) XXX_Unmarshal

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

type MsgDeleteRelationshipResponse

type MsgDeleteRelationshipResponse struct {
}

MsgDeleteRelationshipResponse defines the Msg/DeleteRelationship response type.

func (*MsgDeleteRelationshipResponse) Descriptor

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

func (*MsgDeleteRelationshipResponse) Marshal

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

func (*MsgDeleteRelationshipResponse) MarshalTo

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

func (*MsgDeleteRelationshipResponse) MarshalToSizedBuffer

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

func (*MsgDeleteRelationshipResponse) ProtoMessage

func (*MsgDeleteRelationshipResponse) ProtoMessage()

func (*MsgDeleteRelationshipResponse) Reset

func (m *MsgDeleteRelationshipResponse) Reset()

func (*MsgDeleteRelationshipResponse) Size

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

func (*MsgDeleteRelationshipResponse) String

func (*MsgDeleteRelationshipResponse) Unmarshal

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

func (*MsgDeleteRelationshipResponse) XXX_DiscardUnknown

func (m *MsgDeleteRelationshipResponse) XXX_DiscardUnknown()

func (*MsgDeleteRelationshipResponse) XXX_Marshal

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

func (*MsgDeleteRelationshipResponse) XXX_Merge

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

func (*MsgDeleteRelationshipResponse) XXX_Size

func (m *MsgDeleteRelationshipResponse) XXX_Size() int

func (*MsgDeleteRelationshipResponse) XXX_Unmarshal

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

type MsgLinkApplication

type MsgLinkApplication struct {
	// The sender of the connection request
	Sender string `protobuf:"bytes,1,opt,name=sender,proto3" json:"sender,omitempty" yaml:"sender"`
	// LinkData contains the data related to the application to which connect
	LinkData Data `protobuf:"bytes,2,opt,name=link_data,json=linkData,proto3" json:"link_data" yaml:"link_data"`
	// Hex encoded call data that will be sent to the data source in order to
	// verify the link
	CallData string `protobuf:"bytes,3,opt,name=call_data,json=callData,proto3" json:"call_data,omitempty" yaml:"call_data"`
	// The port on which the packet will be sent
	SourcePort string `protobuf:"bytes,4,opt,name=source_port,json=sourcePort,proto3" json:"source_port,omitempty" yaml:"source_port"`
	// The channel by which the packet will be sent
	SourceChannel string `protobuf:"bytes,5,opt,name=source_channel,json=sourceChannel,proto3" json:"source_channel,omitempty" yaml:"source_channel"`
	// Timeout height relative to the current block height.
	// The timeout is disabled when set to 0.
	TimeoutHeight types.Height `protobuf:"bytes,6,opt,name=timeout_height,json=timeoutHeight,proto3" json:"timeout_height" yaml:"timeout_height"`
	// Timeout timestamp (in nanoseconds) relative to the current block timestamp.
	// The timeout is disabled when set to 0.
	TimeoutTimestamp uint64 `` /* 135-byte string literal not displayed */
}

MsgLinkApplication defines a msg to connect a profile with a centralized application account (eg. Twitter, GitHub, etc).

func NewMsgLinkApplication

func NewMsgLinkApplication(
	linkData Data, callData string, sender string,
	sourcePort, sourceChannel string, timeoutHeight clienttypes.Height, timeoutTimestamp uint64,
) *MsgLinkApplication

NewMsgLinkApplication creates a new MsgLinkApplication instance nolint:interfacer

func (*MsgLinkApplication) Descriptor

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

func (MsgLinkApplication) GetSignBytes

func (msg MsgLinkApplication) GetSignBytes() []byte

GetSignBytes implements sdk.Msg.

func (MsgLinkApplication) GetSigners

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

GetSigners implements sdk.Msg

func (*MsgLinkApplication) Marshal

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

func (*MsgLinkApplication) MarshalTo

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

func (*MsgLinkApplication) MarshalToSizedBuffer

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

func (*MsgLinkApplication) ProtoMessage

func (*MsgLinkApplication) ProtoMessage()

func (*MsgLinkApplication) Reset

func (m *MsgLinkApplication) Reset()

func (MsgLinkApplication) Route

func (MsgLinkApplication) Route() string

Route implements sdk.Msg

func (*MsgLinkApplication) Size

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

func (*MsgLinkApplication) String

func (m *MsgLinkApplication) String() string

func (MsgLinkApplication) Type

func (MsgLinkApplication) Type() string

Type implements sdk.Msg

func (*MsgLinkApplication) Unmarshal

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

func (MsgLinkApplication) ValidateBasic

func (msg MsgLinkApplication) ValidateBasic() error

ValidateBasic performs a basic check of the MsgLinkApplication fields. NOTE: timeout height or timestamp values can be 0 to disable the timeout.

func (*MsgLinkApplication) XXX_DiscardUnknown

func (m *MsgLinkApplication) XXX_DiscardUnknown()

func (*MsgLinkApplication) XXX_Marshal

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

func (*MsgLinkApplication) XXX_Merge

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

func (*MsgLinkApplication) XXX_Size

func (m *MsgLinkApplication) XXX_Size() int

func (*MsgLinkApplication) XXX_Unmarshal

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

type MsgLinkApplicationResponse

type MsgLinkApplicationResponse struct {
}

MsgLinkApplicationResponse defines the Msg/LinkApplication response type.

func (*MsgLinkApplicationResponse) Descriptor

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

func (*MsgLinkApplicationResponse) Marshal

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

func (*MsgLinkApplicationResponse) MarshalTo

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

func (*MsgLinkApplicationResponse) MarshalToSizedBuffer

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

func (*MsgLinkApplicationResponse) ProtoMessage

func (*MsgLinkApplicationResponse) ProtoMessage()

func (*MsgLinkApplicationResponse) Reset

func (m *MsgLinkApplicationResponse) Reset()

func (*MsgLinkApplicationResponse) Size

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

func (*MsgLinkApplicationResponse) String

func (m *MsgLinkApplicationResponse) String() string

func (*MsgLinkApplicationResponse) Unmarshal

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

func (*MsgLinkApplicationResponse) XXX_DiscardUnknown

func (m *MsgLinkApplicationResponse) XXX_DiscardUnknown()

func (*MsgLinkApplicationResponse) XXX_Marshal

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

func (*MsgLinkApplicationResponse) XXX_Merge

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

func (*MsgLinkApplicationResponse) XXX_Size

func (m *MsgLinkApplicationResponse) XXX_Size() int

func (*MsgLinkApplicationResponse) XXX_Unmarshal

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

type MsgLinkChainAccount

type MsgLinkChainAccount struct {
	// ChainAddress contains the details of the external chain address to be
	// linked
	ChainAddress *types.Any `protobuf:"bytes,1,opt,name=chain_address,json=chainAddress,proto3" json:"chain_address,omitempty" yaml:"source_address"`
	// Proof contains the proof of ownership of the external chain address
	Proof Proof `protobuf:"bytes,2,opt,name=proof,proto3" json:"proof" yaml:"source_proof"`
	// ChainConfig contains the configuration of the external chain
	ChainConfig ChainConfig `protobuf:"bytes,3,opt,name=chain_config,json=chainConfig,proto3" json:"chain_config" yaml:"source_chain_config"`
	// Signer represents the Desmos address associated with the
	// profile to which link the external account
	Signer string `protobuf:"bytes,4,opt,name=signer,proto3" json:"signer,omitempty" yaml:"signer"`
}

MsgLinkChainAccount represents a message to link an account to a profile.

func NewMsgLinkChainAccount

func NewMsgLinkChainAccount(
	chainAddress AddressData,
	proof Proof,
	chainConfig ChainConfig,
	signer string,
) *MsgLinkChainAccount

nolint:interfacer

func (*MsgLinkChainAccount) Descriptor

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

func (*MsgLinkChainAccount) GetChainAddress

func (m *MsgLinkChainAccount) GetChainAddress() *types.Any

func (*MsgLinkChainAccount) GetChainConfig

func (m *MsgLinkChainAccount) GetChainConfig() ChainConfig

func (*MsgLinkChainAccount) GetProof

func (m *MsgLinkChainAccount) GetProof() Proof

func (MsgLinkChainAccount) GetSignBytes

func (msg MsgLinkChainAccount) GetSignBytes() []byte

GetSignBytes encodes the message for signing

func (*MsgLinkChainAccount) GetSigner

func (m *MsgLinkChainAccount) GetSigner() string

func (MsgLinkChainAccount) GetSigners

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

GetSigners defines whose signature is required

func (*MsgLinkChainAccount) Marshal

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

func (*MsgLinkChainAccount) MarshalTo

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

func (*MsgLinkChainAccount) MarshalToSizedBuffer

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

func (*MsgLinkChainAccount) ProtoMessage

func (*MsgLinkChainAccount) ProtoMessage()

func (*MsgLinkChainAccount) Reset

func (m *MsgLinkChainAccount) Reset()

func (MsgLinkChainAccount) Route

func (msg MsgLinkChainAccount) Route() string

Route should return the name of the module

func (*MsgLinkChainAccount) Size

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

func (*MsgLinkChainAccount) String

func (m *MsgLinkChainAccount) String() string

func (MsgLinkChainAccount) Type

func (msg MsgLinkChainAccount) Type() string

Type should return the action

func (*MsgLinkChainAccount) Unmarshal

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

func (*MsgLinkChainAccount) UnpackInterfaces

func (msg *MsgLinkChainAccount) UnpackInterfaces(unpacker codectypes.AnyUnpacker) error

UnpackInterfaces implements codectypes.UnpackInterfacesMessage

func (MsgLinkChainAccount) ValidateBasic

func (msg MsgLinkChainAccount) ValidateBasic() error

ValidateBasic runs stateless checks on the message

func (*MsgLinkChainAccount) XXX_DiscardUnknown

func (m *MsgLinkChainAccount) XXX_DiscardUnknown()

func (*MsgLinkChainAccount) XXX_Marshal

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

func (*MsgLinkChainAccount) XXX_Merge

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

func (*MsgLinkChainAccount) XXX_Size

func (m *MsgLinkChainAccount) XXX_Size() int

func (*MsgLinkChainAccount) XXX_Unmarshal

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

type MsgLinkChainAccountResponse

type MsgLinkChainAccountResponse struct {
}

MsgLinkChainAccountResponse defines the Msg/LinkAccount response type.

func (*MsgLinkChainAccountResponse) Descriptor

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

func (*MsgLinkChainAccountResponse) Marshal

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

func (*MsgLinkChainAccountResponse) MarshalTo

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

func (*MsgLinkChainAccountResponse) MarshalToSizedBuffer

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

func (*MsgLinkChainAccountResponse) ProtoMessage

func (*MsgLinkChainAccountResponse) ProtoMessage()

func (*MsgLinkChainAccountResponse) Reset

func (m *MsgLinkChainAccountResponse) Reset()

func (*MsgLinkChainAccountResponse) Size

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

func (*MsgLinkChainAccountResponse) String

func (m *MsgLinkChainAccountResponse) String() string

func (*MsgLinkChainAccountResponse) Unmarshal

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

func (*MsgLinkChainAccountResponse) XXX_DiscardUnknown

func (m *MsgLinkChainAccountResponse) XXX_DiscardUnknown()

func (*MsgLinkChainAccountResponse) XXX_Marshal

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

func (*MsgLinkChainAccountResponse) XXX_Merge

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

func (*MsgLinkChainAccountResponse) XXX_Size

func (m *MsgLinkChainAccountResponse) XXX_Size() int

func (*MsgLinkChainAccountResponse) XXX_Unmarshal

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

type MsgRefuseDTagTransferRequest

type MsgRefuseDTagTransferRequest struct {
	// Sender represents the request sender
	Sender string `protobuf:"bytes,1,opt,name=sender,proto3" json:"sender,omitempty" yaml:"sender"`
	// Receiver represents the request receiver
	Receiver string `protobuf:"bytes,2,opt,name=receiver,proto3" json:"receiver,omitempty" yaml:"receiver"`
}

MsgRefuseDTagTransferRequest represents the message used to refuse a DTag transfer request.

func NewMsgRefuseDTagTransferRequest

func NewMsgRefuseDTagTransferRequest(sender, receiver string) *MsgRefuseDTagTransferRequest

NewMsgRefuseDTagTransferRequest is a constructor for MsgRefuseDTagTransferRequest

func (*MsgRefuseDTagTransferRequest) Descriptor

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

func (MsgRefuseDTagTransferRequest) GetSignBytes

func (msg MsgRefuseDTagTransferRequest) GetSignBytes() []byte

GetSignBytes encodes the message for signing

func (MsgRefuseDTagTransferRequest) GetSigners

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

GetSigners defines whose signature is required

func (*MsgRefuseDTagTransferRequest) Marshal

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

func (*MsgRefuseDTagTransferRequest) MarshalTo

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

func (*MsgRefuseDTagTransferRequest) MarshalToSizedBuffer

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

func (*MsgRefuseDTagTransferRequest) ProtoMessage

func (*MsgRefuseDTagTransferRequest) ProtoMessage()

func (*MsgRefuseDTagTransferRequest) Reset

func (m *MsgRefuseDTagTransferRequest) Reset()

func (MsgRefuseDTagTransferRequest) Route

Route should return the name of the module

func (*MsgRefuseDTagTransferRequest) Size

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

func (*MsgRefuseDTagTransferRequest) String

func (MsgRefuseDTagTransferRequest) Type

Type should return the action

func (*MsgRefuseDTagTransferRequest) Unmarshal

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

func (MsgRefuseDTagTransferRequest) ValidateBasic

func (msg MsgRefuseDTagTransferRequest) ValidateBasic() error

func (*MsgRefuseDTagTransferRequest) XXX_DiscardUnknown

func (m *MsgRefuseDTagTransferRequest) XXX_DiscardUnknown()

func (*MsgRefuseDTagTransferRequest) XXX_Marshal

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

func (*MsgRefuseDTagTransferRequest) XXX_Merge

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

func (*MsgRefuseDTagTransferRequest) XXX_Size

func (m *MsgRefuseDTagTransferRequest) XXX_Size() int

func (*MsgRefuseDTagTransferRequest) XXX_Unmarshal

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

type MsgRefuseDTagTransferRequestResponse

type MsgRefuseDTagTransferRequestResponse struct {
}

MsgRefuseDTagTransferRequestResponse defines the Msg/RefuseDTagTransferRequest response.

func (*MsgRefuseDTagTransferRequestResponse) Descriptor

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

func (*MsgRefuseDTagTransferRequestResponse) Marshal

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

func (*MsgRefuseDTagTransferRequestResponse) MarshalTo

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

func (*MsgRefuseDTagTransferRequestResponse) MarshalToSizedBuffer

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

func (*MsgRefuseDTagTransferRequestResponse) ProtoMessage

func (*MsgRefuseDTagTransferRequestResponse) ProtoMessage()

func (*MsgRefuseDTagTransferRequestResponse) Reset

func (*MsgRefuseDTagTransferRequestResponse) Size

func (*MsgRefuseDTagTransferRequestResponse) String

func (*MsgRefuseDTagTransferRequestResponse) Unmarshal

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

func (*MsgRefuseDTagTransferRequestResponse) XXX_DiscardUnknown

func (m *MsgRefuseDTagTransferRequestResponse) XXX_DiscardUnknown()

func (*MsgRefuseDTagTransferRequestResponse) XXX_Marshal

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

func (*MsgRefuseDTagTransferRequestResponse) XXX_Merge

func (*MsgRefuseDTagTransferRequestResponse) XXX_Size

func (*MsgRefuseDTagTransferRequestResponse) XXX_Unmarshal

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

type MsgRequestDTagTransfer

type MsgRequestDTagTransfer struct {
	// Receiver contains the address of the request receiver that owns the DTag to
	// transfer if the request is accepted
	Receiver string `protobuf:"bytes,1,opt,name=receiver,proto3" json:"receiver,omitempty" yaml:"receiver"`
	// Sender contains the address of the request sender that will receive the
	// receiver DTag if the requet is accepted
	Sender string `protobuf:"bytes,2,opt,name=sender,proto3" json:"sender,omitempty" yaml:"sender"`
}

MsgRequestDTagTransfer represents the message used to request the DTag transfer to another user.

func NewMsgRequestDTagTransfer

func NewMsgRequestDTagTransfer(sender, receiver string) *MsgRequestDTagTransfer

NewMsgRequestDTagTransfer is a constructor function for MsgRequestDTagTransfer

func (*MsgRequestDTagTransfer) Descriptor

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

func (MsgRequestDTagTransfer) GetSignBytes

func (msg MsgRequestDTagTransfer) GetSignBytes() []byte

GetSignBytes encodes the message for signing

func (MsgRequestDTagTransfer) GetSigners

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

GetSigners defines whose signature is required

func (*MsgRequestDTagTransfer) Marshal

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

func (*MsgRequestDTagTransfer) MarshalTo

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

func (*MsgRequestDTagTransfer) MarshalToSizedBuffer

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

func (*MsgRequestDTagTransfer) ProtoMessage

func (*MsgRequestDTagTransfer) ProtoMessage()

func (*MsgRequestDTagTransfer) Reset

func (m *MsgRequestDTagTransfer) Reset()

func (MsgRequestDTagTransfer) Route

func (msg MsgRequestDTagTransfer) Route() string

Route should return the name of the module

func (*MsgRequestDTagTransfer) Size

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

func (*MsgRequestDTagTransfer) String

func (m *MsgRequestDTagTransfer) String() string

func (MsgRequestDTagTransfer) Type

func (msg MsgRequestDTagTransfer) Type() string

Type should return the action

func (*MsgRequestDTagTransfer) Unmarshal

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

func (MsgRequestDTagTransfer) ValidateBasic

func (msg MsgRequestDTagTransfer) ValidateBasic() error

func (*MsgRequestDTagTransfer) XXX_DiscardUnknown

func (m *MsgRequestDTagTransfer) XXX_DiscardUnknown()

func (*MsgRequestDTagTransfer) XXX_Marshal

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

func (*MsgRequestDTagTransfer) XXX_Merge

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

func (*MsgRequestDTagTransfer) XXX_Size

func (m *MsgRequestDTagTransfer) XXX_Size() int

func (*MsgRequestDTagTransfer) XXX_Unmarshal

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

type MsgRequestDTagTransferResponse

type MsgRequestDTagTransferResponse struct {
}

MsgRequestDTagTransferResponse defines the Msg/RequestDTagTransfer response type.

func (*MsgRequestDTagTransferResponse) Descriptor

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

func (*MsgRequestDTagTransferResponse) Marshal

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

func (*MsgRequestDTagTransferResponse) MarshalTo

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

func (*MsgRequestDTagTransferResponse) MarshalToSizedBuffer

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

func (*MsgRequestDTagTransferResponse) ProtoMessage

func (*MsgRequestDTagTransferResponse) ProtoMessage()

func (*MsgRequestDTagTransferResponse) Reset

func (m *MsgRequestDTagTransferResponse) Reset()

func (*MsgRequestDTagTransferResponse) Size

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

func (*MsgRequestDTagTransferResponse) String

func (*MsgRequestDTagTransferResponse) Unmarshal

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

func (*MsgRequestDTagTransferResponse) XXX_DiscardUnknown

func (m *MsgRequestDTagTransferResponse) XXX_DiscardUnknown()

func (*MsgRequestDTagTransferResponse) XXX_Marshal

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

func (*MsgRequestDTagTransferResponse) XXX_Merge

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

func (*MsgRequestDTagTransferResponse) XXX_Size

func (m *MsgRequestDTagTransferResponse) XXX_Size() int

func (*MsgRequestDTagTransferResponse) XXX_Unmarshal

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

type MsgSaveProfile

type MsgSaveProfile struct {
	DTag           string `protobuf:"bytes,1,opt,name=dtag,proto3" json:"dtag,omitempty" yaml:"dtag"`
	Nickname       string `protobuf:"bytes,2,opt,name=nickname,proto3" json:"nickname,omitempty" yaml:"nickname"`
	Bio            string `protobuf:"bytes,3,opt,name=bio,proto3" json:"bio,omitempty" yaml:"bio"`
	ProfilePicture string `` /* 126-byte string literal not displayed */
	CoverPicture   string `protobuf:"bytes,5,opt,name=cover_picture,json=coverPicture,proto3" json:"cover_picture,omitempty" yaml:"cover_picture"`
	Creator        string `protobuf:"bytes,6,opt,name=creator,proto3" json:"creator,omitempty" yaml:"creator"`
}

MsgSaveProfile represents a message to save a profile.

func NewMsgSaveProfile

func NewMsgSaveProfile(dTag string, nickname, bio, profilePic, coverPic string, creator string) *MsgSaveProfile

NewMsgSaveProfile returns a new MsgSaveProfile instance

func (*MsgSaveProfile) Descriptor

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

func (MsgSaveProfile) GetSignBytes

func (msg MsgSaveProfile) GetSignBytes() []byte

GetSignBytes encodes the message for signing

func (MsgSaveProfile) GetSigners

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

GetSigners defines whose signature is required

func (*MsgSaveProfile) Marshal

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

func (*MsgSaveProfile) MarshalTo

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

func (*MsgSaveProfile) MarshalToSizedBuffer

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

func (*MsgSaveProfile) ProtoMessage

func (*MsgSaveProfile) ProtoMessage()

func (*MsgSaveProfile) Reset

func (m *MsgSaveProfile) Reset()

func (MsgSaveProfile) Route

func (msg MsgSaveProfile) Route() string

Route should return the name of the module

func (*MsgSaveProfile) Size

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

func (*MsgSaveProfile) String

func (m *MsgSaveProfile) String() string

func (MsgSaveProfile) Type

func (msg MsgSaveProfile) Type() string

Type should return the action

func (*MsgSaveProfile) Unmarshal

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

func (MsgSaveProfile) ValidateBasic

func (msg MsgSaveProfile) ValidateBasic() error

ValidateBasic runs stateless checks on the message

func (*MsgSaveProfile) XXX_DiscardUnknown

func (m *MsgSaveProfile) XXX_DiscardUnknown()

func (*MsgSaveProfile) XXX_Marshal

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

func (*MsgSaveProfile) XXX_Merge

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

func (*MsgSaveProfile) XXX_Size

func (m *MsgSaveProfile) XXX_Size() int

func (*MsgSaveProfile) XXX_Unmarshal

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

type MsgSaveProfileResponse

type MsgSaveProfileResponse struct {
}

MsgSaveProfileResponse defines the Msg/SaveProfile response type.

func (*MsgSaveProfileResponse) Descriptor

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

func (*MsgSaveProfileResponse) Marshal

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

func (*MsgSaveProfileResponse) MarshalTo

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

func (*MsgSaveProfileResponse) MarshalToSizedBuffer

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

func (*MsgSaveProfileResponse) ProtoMessage

func (*MsgSaveProfileResponse) ProtoMessage()

func (*MsgSaveProfileResponse) Reset

func (m *MsgSaveProfileResponse) Reset()

func (*MsgSaveProfileResponse) Size

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

func (*MsgSaveProfileResponse) String

func (m *MsgSaveProfileResponse) String() string

func (*MsgSaveProfileResponse) Unmarshal

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

func (*MsgSaveProfileResponse) XXX_DiscardUnknown

func (m *MsgSaveProfileResponse) XXX_DiscardUnknown()

func (*MsgSaveProfileResponse) XXX_Marshal

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

func (*MsgSaveProfileResponse) XXX_Merge

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

func (*MsgSaveProfileResponse) XXX_Size

func (m *MsgSaveProfileResponse) XXX_Size() int

func (*MsgSaveProfileResponse) XXX_Unmarshal

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

type MsgServer

type MsgServer interface {
	// SaveProfile defines the method to save a profile
	SaveProfile(context.Context, *MsgSaveProfile) (*MsgSaveProfileResponse, error)
	// DeleteProfile defines the method to delete an existing profile
	DeleteProfile(context.Context, *MsgDeleteProfile) (*MsgDeleteProfileResponse, error)
	// RequestDTagTransfer defines the method to request another user to transfer
	// their DTag to you
	RequestDTagTransfer(context.Context, *MsgRequestDTagTransfer) (*MsgRequestDTagTransferResponse, error)
	// CancelDTagTransferRequest defines the method to cancel an outgoing DTag
	// transfer request
	CancelDTagTransferRequest(context.Context, *MsgCancelDTagTransferRequest) (*MsgCancelDTagTransferRequestResponse, error)
	// AcceptDTagTransferRequest defines the method to accept an incoming DTag
	// transfer request
	AcceptDTagTransferRequest(context.Context, *MsgAcceptDTagTransferRequest) (*MsgAcceptDTagTransferRequestResponse, error)
	// RefuseDTagTransferRequest defines the method to refuse an incoming DTag
	// transfer request
	RefuseDTagTransferRequest(context.Context, *MsgRefuseDTagTransferRequest) (*MsgRefuseDTagTransferRequestResponse, error)
	// CreateRelationship defines a method for creating a new relationship
	CreateRelationship(context.Context, *MsgCreateRelationship) (*MsgCreateRelationshipResponse, error)
	// DeleteRelationship defines a method for deleting a relationship
	DeleteRelationship(context.Context, *MsgDeleteRelationship) (*MsgDeleteRelationshipResponse, error)
	// BlockUser defines a method for blocking a user
	BlockUser(context.Context, *MsgBlockUser) (*MsgBlockUserResponse, error)
	// UnblockUser defines a method for unblocking a user
	UnblockUser(context.Context, *MsgUnblockUser) (*MsgUnblockUserResponse, error)
	// LinkChainAccount defines a method to link an external chain account to a
	// profile
	LinkChainAccount(context.Context, *MsgLinkChainAccount) (*MsgLinkChainAccountResponse, error)
	// UnlinkChainAccount defines a method to unlink an external chain account
	// from a profile
	UnlinkChainAccount(context.Context, *MsgUnlinkChainAccount) (*MsgUnlinkChainAccountResponse, error)
	// LinkApplication defines a method to create a centralized application
	// link
	LinkApplication(context.Context, *MsgLinkApplication) (*MsgLinkApplicationResponse, error)
	// UnlinkApplication defines a method to remove a centralized application
	UnlinkApplication(context.Context, *MsgUnlinkApplication) (*MsgUnlinkApplicationResponse, error)
}

MsgServer is the server API for Msg service.

type MsgUnblockUser

type MsgUnblockUser struct {
	Blocker  string `protobuf:"bytes,1,opt,name=blocker,proto3" json:"blocker,omitempty" yaml:"blocker"`
	Blocked  string `protobuf:"bytes,2,opt,name=blocked,proto3" json:"blocked,omitempty" yaml:"blocked"`
	Subspace string `protobuf:"bytes,4,opt,name=subspace,proto3" json:"subspace,omitempty" yaml:"subspace"`
}

MsgUnblockUser represents a message to unblock a previously blocked user.

func NewMsgUnblockUser

func NewMsgUnblockUser(blocker, blocked, subspace string) *MsgUnblockUser

func (*MsgUnblockUser) Descriptor

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

func (*MsgUnblockUser) GetBlocked

func (m *MsgUnblockUser) GetBlocked() string

func (*MsgUnblockUser) GetBlocker

func (m *MsgUnblockUser) GetBlocker() string

func (MsgUnblockUser) GetSignBytes

func (msg MsgUnblockUser) GetSignBytes() []byte

GetSignBytes encodes the message for signing

func (MsgUnblockUser) GetSigners

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

GetSigners defines whose signature is required

func (*MsgUnblockUser) GetSubspace

func (m *MsgUnblockUser) GetSubspace() string

func (*MsgUnblockUser) Marshal

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

func (*MsgUnblockUser) MarshalTo

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

func (*MsgUnblockUser) MarshalToSizedBuffer

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

func (*MsgUnblockUser) ProtoMessage

func (*MsgUnblockUser) ProtoMessage()

func (*MsgUnblockUser) Reset

func (m *MsgUnblockUser) Reset()

func (MsgUnblockUser) Route

func (msg MsgUnblockUser) Route() string

Route should return the name of the module

func (*MsgUnblockUser) Size

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

func (*MsgUnblockUser) String

func (m *MsgUnblockUser) String() string

func (MsgUnblockUser) Type

func (msg MsgUnblockUser) Type() string

Type should return the action

func (*MsgUnblockUser) Unmarshal

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

func (MsgUnblockUser) ValidateBasic

func (msg MsgUnblockUser) ValidateBasic() error

ValidateBasic runs stateless checks on the message

func (*MsgUnblockUser) XXX_DiscardUnknown

func (m *MsgUnblockUser) XXX_DiscardUnknown()

func (*MsgUnblockUser) XXX_Marshal

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

func (*MsgUnblockUser) XXX_Merge

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

func (*MsgUnblockUser) XXX_Size

func (m *MsgUnblockUser) XXX_Size() int

func (*MsgUnblockUser) XXX_Unmarshal

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

type MsgUnblockUserResponse

type MsgUnblockUserResponse struct {
}

MsgUnblockUserResponse defines the Msg/UnblockUser response type.

func (*MsgUnblockUserResponse) Descriptor

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

func (*MsgUnblockUserResponse) Marshal

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

func (*MsgUnblockUserResponse) MarshalTo

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

func (*MsgUnblockUserResponse) MarshalToSizedBuffer

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

func (*MsgUnblockUserResponse) ProtoMessage

func (*MsgUnblockUserResponse) ProtoMessage()

func (*MsgUnblockUserResponse) Reset

func (m *MsgUnblockUserResponse) Reset()

func (*MsgUnblockUserResponse) Size

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

func (*MsgUnblockUserResponse) String

func (m *MsgUnblockUserResponse) String() string

func (*MsgUnblockUserResponse) Unmarshal

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

func (*MsgUnblockUserResponse) XXX_DiscardUnknown

func (m *MsgUnblockUserResponse) XXX_DiscardUnknown()

func (*MsgUnblockUserResponse) XXX_Marshal

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

func (*MsgUnblockUserResponse) XXX_Merge

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

func (*MsgUnblockUserResponse) XXX_Size

func (m *MsgUnblockUserResponse) XXX_Size() int

func (*MsgUnblockUserResponse) XXX_Unmarshal

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

type MsgUnlinkApplication

type MsgUnlinkApplication struct {
	// Application represents the name of the application to unlink
	Application string `protobuf:"bytes,1,opt,name=application,proto3" json:"application,omitempty" yaml:"application"`
	// Username represents the username inside the application to unlink
	Username string `protobuf:"bytes,2,opt,name=username,proto3" json:"username,omitempty" yaml:"username"`
	// Signer represents the Desmos account to which the application should be
	// unlinked
	Signer string `protobuf:"bytes,3,opt,name=signer,proto3" json:"signer,omitempty" yaml:"signer"`
}

MsgUnlinkApplication defines a msg to delete an application link from a user profile

func NewMsgUnlinkApplication

func NewMsgUnlinkApplication(application, username string, signer string) *MsgUnlinkApplication

NewMsgUnlinkApplication creates a new MsgUnlinkApplication instance nolint:interfacer

func (*MsgUnlinkApplication) Descriptor

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

func (MsgUnlinkApplication) GetSignBytes

func (msg MsgUnlinkApplication) GetSignBytes() []byte

GetSignBytes implements sdk.Msg.

func (MsgUnlinkApplication) GetSigners

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

GetSigners implements sdk.Msg

func (*MsgUnlinkApplication) Marshal

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

func (*MsgUnlinkApplication) MarshalTo

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

func (*MsgUnlinkApplication) MarshalToSizedBuffer

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

func (*MsgUnlinkApplication) ProtoMessage

func (*MsgUnlinkApplication) ProtoMessage()

func (*MsgUnlinkApplication) Reset

func (m *MsgUnlinkApplication) Reset()

func (MsgUnlinkApplication) Route

func (MsgUnlinkApplication) Route() string

Route implements sdk.Msg

func (*MsgUnlinkApplication) Size

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

func (*MsgUnlinkApplication) String

func (m *MsgUnlinkApplication) String() string

func (MsgUnlinkApplication) Type

Type implements sdk.Msg

func (*MsgUnlinkApplication) Unmarshal

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

func (MsgUnlinkApplication) ValidateBasic

func (msg MsgUnlinkApplication) ValidateBasic() error

ValidateBasic performs a basic check of the MsgUnlinkApplication fields. NOTE: timeout height or timestamp values can be 0 to disable the timeout.

func (*MsgUnlinkApplication) XXX_DiscardUnknown

func (m *MsgUnlinkApplication) XXX_DiscardUnknown()

func (*MsgUnlinkApplication) XXX_Marshal

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

func (*MsgUnlinkApplication) XXX_Merge

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

func (*MsgUnlinkApplication) XXX_Size

func (m *MsgUnlinkApplication) XXX_Size() int

func (*MsgUnlinkApplication) XXX_Unmarshal

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

type MsgUnlinkApplicationResponse

type MsgUnlinkApplicationResponse struct {
}

MsgUnlinkApplicationResponse defines the Msg/UnlinkApplication response type.

func (*MsgUnlinkApplicationResponse) Descriptor

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

func (*MsgUnlinkApplicationResponse) Marshal

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

func (*MsgUnlinkApplicationResponse) MarshalTo

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

func (*MsgUnlinkApplicationResponse) MarshalToSizedBuffer

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

func (*MsgUnlinkApplicationResponse) ProtoMessage

func (*MsgUnlinkApplicationResponse) ProtoMessage()

func (*MsgUnlinkApplicationResponse) Reset

func (m *MsgUnlinkApplicationResponse) Reset()

func (*MsgUnlinkApplicationResponse) Size

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

func (*MsgUnlinkApplicationResponse) String

func (*MsgUnlinkApplicationResponse) Unmarshal

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

func (*MsgUnlinkApplicationResponse) XXX_DiscardUnknown

func (m *MsgUnlinkApplicationResponse) XXX_DiscardUnknown()

func (*MsgUnlinkApplicationResponse) XXX_Marshal

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

func (*MsgUnlinkApplicationResponse) XXX_Merge

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

func (*MsgUnlinkApplicationResponse) XXX_Size

func (m *MsgUnlinkApplicationResponse) XXX_Size() int

func (*MsgUnlinkApplicationResponse) XXX_Unmarshal

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

type MsgUnlinkChainAccount

type MsgUnlinkChainAccount struct {
	// Owner represents the Desmos profile from which to remove the link
	Owner string `protobuf:"bytes,1,opt,name=owner,proto3" json:"owner,omitempty" yaml:"owner"`
	// ChainName represents the name of the chain to which the link to remove is
	// associated
	ChainName string `protobuf:"bytes,2,opt,name=chain_name,json=chainName,proto3" json:"chain_name,omitempty" yaml:"chain_name"`
	// Target represents the external address to be removed
	Target string `protobuf:"bytes,3,opt,name=target,proto3" json:"target,omitempty" yaml:"target"`
}

MsgUnlinkChainAccount represents a message to unlink an account from a profile.

func NewMsgUnlinkChainAccount

func NewMsgUnlinkChainAccount(owner, chainName, target string) *MsgUnlinkChainAccount

func (*MsgUnlinkChainAccount) Descriptor

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

func (*MsgUnlinkChainAccount) GetChainName

func (m *MsgUnlinkChainAccount) GetChainName() string

func (*MsgUnlinkChainAccount) GetOwner

func (m *MsgUnlinkChainAccount) GetOwner() string

func (MsgUnlinkChainAccount) GetSignBytes

func (msg MsgUnlinkChainAccount) GetSignBytes() []byte

GetSignBytes encodes the message for signing

func (MsgUnlinkChainAccount) GetSigners

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

GetSigners defines whose signature is required

func (*MsgUnlinkChainAccount) GetTarget

func (m *MsgUnlinkChainAccount) GetTarget() string

func (*MsgUnlinkChainAccount) Marshal

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

func (*MsgUnlinkChainAccount) MarshalTo

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

func (*MsgUnlinkChainAccount) MarshalToSizedBuffer

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

func (*MsgUnlinkChainAccount) ProtoMessage

func (*MsgUnlinkChainAccount) ProtoMessage()

func (*MsgUnlinkChainAccount) Reset

func (m *MsgUnlinkChainAccount) Reset()

func (MsgUnlinkChainAccount) Route

func (msg MsgUnlinkChainAccount) Route() string

Route should return the name of the module

func (*MsgUnlinkChainAccount) Size

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

func (*MsgUnlinkChainAccount) String

func (m *MsgUnlinkChainAccount) String() string

func (MsgUnlinkChainAccount) Type

func (msg MsgUnlinkChainAccount) Type() string

Type should return the action

func (*MsgUnlinkChainAccount) Unmarshal

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

func (MsgUnlinkChainAccount) ValidateBasic

func (msg MsgUnlinkChainAccount) ValidateBasic() error

ValidateBasic runs stateless checks on the message

func (*MsgUnlinkChainAccount) XXX_DiscardUnknown

func (m *MsgUnlinkChainAccount) XXX_DiscardUnknown()

func (*MsgUnlinkChainAccount) XXX_Marshal

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

func (*MsgUnlinkChainAccount) XXX_Merge

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

func (*MsgUnlinkChainAccount) XXX_Size

func (m *MsgUnlinkChainAccount) XXX_Size() int

func (*MsgUnlinkChainAccount) XXX_Unmarshal

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

type MsgUnlinkChainAccountResponse

type MsgUnlinkChainAccountResponse struct {
}

MsgUnlinkChainAccountResponse defines the Msg/UnlinkAccount response type.

func (*MsgUnlinkChainAccountResponse) Descriptor

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

func (*MsgUnlinkChainAccountResponse) Marshal

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

func (*MsgUnlinkChainAccountResponse) MarshalTo

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

func (*MsgUnlinkChainAccountResponse) MarshalToSizedBuffer

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

func (*MsgUnlinkChainAccountResponse) ProtoMessage

func (*MsgUnlinkChainAccountResponse) ProtoMessage()

func (*MsgUnlinkChainAccountResponse) Reset

func (m *MsgUnlinkChainAccountResponse) Reset()

func (*MsgUnlinkChainAccountResponse) Size

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

func (*MsgUnlinkChainAccountResponse) String

func (*MsgUnlinkChainAccountResponse) Unmarshal

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

func (*MsgUnlinkChainAccountResponse) XXX_DiscardUnknown

func (m *MsgUnlinkChainAccountResponse) XXX_DiscardUnknown()

func (*MsgUnlinkChainAccountResponse) XXX_Marshal

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

func (*MsgUnlinkChainAccountResponse) XXX_Merge

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

func (*MsgUnlinkChainAccountResponse) XXX_Size

func (m *MsgUnlinkChainAccountResponse) XXX_Size() int

func (*MsgUnlinkChainAccountResponse) XXX_Unmarshal

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

type NicknameParams

type NicknameParams struct {
	MinLength github_com_cosmos_cosmos_sdk_types.Int `` /* 146-byte string literal not displayed */
	MaxLength github_com_cosmos_cosmos_sdk_types.Int `` /* 146-byte string literal not displayed */
}

NicknameParams defines the parameters related to the profiles nicknames

func DefaultNicknameParams

func DefaultNicknameParams() NicknameParams

DefaultNicknameParams return default nickname params

func NewNicknameParams

func NewNicknameParams(minLen, maxLen sdk.Int) NicknameParams

NewNicknameParams creates a new NicknameParams obj

func (*NicknameParams) Descriptor

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

func (*NicknameParams) Marshal

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

func (*NicknameParams) MarshalTo

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

func (*NicknameParams) MarshalToSizedBuffer

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

func (*NicknameParams) ProtoMessage

func (*NicknameParams) ProtoMessage()

func (*NicknameParams) Reset

func (m *NicknameParams) Reset()

func (*NicknameParams) Size

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

func (*NicknameParams) String

func (m *NicknameParams) String() string

func (*NicknameParams) Unmarshal

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

func (*NicknameParams) XXX_DiscardUnknown

func (m *NicknameParams) XXX_DiscardUnknown()

func (*NicknameParams) XXX_Marshal

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

func (*NicknameParams) XXX_Merge

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

func (*NicknameParams) XXX_Size

func (m *NicknameParams) XXX_Size() int

func (*NicknameParams) XXX_Unmarshal

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

type OracleParams

type OracleParams struct {
	// ScriptID represents the ID of the oracle script to be called to verify the
	// data
	ScriptID uint64 `protobuf:"varint,1,opt,name=script_id,json=scriptId,proto3" json:"script_id,omitempty" yaml:"script_id"`
	// AskCount represents the number of oracles to which ask to verify the data
	AskCount uint64 `protobuf:"varint,2,opt,name=ask_count,json=askCount,proto3" json:"ask_count,omitempty" yaml:"ask_count"`
	// MinCount represents the minimum count of oracles that should complete the
	// verification successfully
	MinCount uint64 `protobuf:"varint,3,opt,name=min_count,json=minCount,proto3" json:"min_count,omitempty" yaml:"min_count"`
	// PrepareGas represents the amount of gas to be used during the preparation
	// stage of the oracle script
	PrepareGas uint64 `protobuf:"varint,4,opt,name=prepare_gas,json=prepareGas,proto3" json:"prepare_gas,omitempty" yaml:"prepare_gas"`
	// ExecuteGas represents the amount of gas to be used during the execution of
	// the oracle script
	ExecuteGas uint64 `protobuf:"varint,5,opt,name=execute_gas,json=executeGas,proto3" json:"execute_gas,omitempty" yaml:"execute_gas"`
	// FeeAmount represents the amount of fees to be payed in order to execute the
	// oracle script
	FeeAmount github_com_cosmos_cosmos_sdk_types.Coins `` /* 150-byte string literal not displayed */
}

OracleParams defines the parameters related to the oracle that will be used to verify the ownership of a centralized application account by a Desmos profile

func DefaultOracleParams

func DefaultOracleParams() OracleParams

DefaultOracleParams returns the default instance of OracleParams

func NewOracleParams

func NewOracleParams(
	scriptID uint64,
	askCount,
	minCount,
	prepareGas,
	executeGas uint64,
	feeAmount ...sdk.Coin,
) OracleParams

NewOracleParams creates a new Oracle Params instance

func (*OracleParams) Descriptor

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

func (*OracleParams) Marshal

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

func (*OracleParams) MarshalTo

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

func (*OracleParams) MarshalToSizedBuffer

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

func (*OracleParams) ProtoMessage

func (*OracleParams) ProtoMessage()

func (*OracleParams) Reset

func (m *OracleParams) Reset()

func (*OracleParams) Size

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

func (*OracleParams) String

func (m *OracleParams) String() string

func (*OracleParams) Unmarshal

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

func (*OracleParams) XXX_DiscardUnknown

func (m *OracleParams) XXX_DiscardUnknown()

func (*OracleParams) XXX_Marshal

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

func (*OracleParams) XXX_Merge

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

func (*OracleParams) XXX_Size

func (m *OracleParams) XXX_Size() int

func (*OracleParams) XXX_Unmarshal

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

type OracleRequest

type OracleRequest struct {
	// ID is the ID of the request
	ID uint64 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty" yaml:"id"`
	// OracleScriptID is ID of an oracle script
	OracleScriptID uint64 `` /* 130-byte string literal not displayed */
	// CallData contains the data used to perform the oracle request
	CallData OracleRequest_CallData `protobuf:"bytes,3,opt,name=call_data,json=callData,proto3" json:"call_data" yaml:"call_data"`
	// ClientID represents the ID of the client that has called the oracle script
	ClientID string `protobuf:"bytes,4,opt,name=client_id,json=clientId,proto3" json:"client_id,omitempty" yaml:"client_id"`
}

OracleRequest represents a generic oracle request used to verify the ownership of a centralized application account

func NewOracleRequest

func NewOracleRequest(id uint64, scriptID uint64, callData OracleRequest_CallData, clientID string) OracleRequest

NewOracleRequest allows to build a new OracleRequest instance

func (*OracleRequest) Descriptor

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

func (*OracleRequest) Equal

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

func (*OracleRequest) Marshal

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

func (*OracleRequest) MarshalTo

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

func (*OracleRequest) MarshalToSizedBuffer

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

func (*OracleRequest) ProtoMessage

func (*OracleRequest) ProtoMessage()

func (*OracleRequest) Reset

func (m *OracleRequest) Reset()

func (*OracleRequest) Size

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

func (*OracleRequest) String

func (m *OracleRequest) String() string

func (*OracleRequest) Unmarshal

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

func (OracleRequest) Validate

func (o OracleRequest) Validate() error

Validate returns an error if the instance does not contain valid data

func (*OracleRequest) XXX_DiscardUnknown

func (m *OracleRequest) XXX_DiscardUnknown()

func (*OracleRequest) XXX_Marshal

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

func (*OracleRequest) XXX_Merge

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

func (*OracleRequest) XXX_Size

func (m *OracleRequest) XXX_Size() int

func (*OracleRequest) XXX_Unmarshal

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

type OracleRequest_CallData

type OracleRequest_CallData struct {
	// The application for which the ownership should be verified
	Application string `protobuf:"bytes,1,opt,name=application,proto3" json:"application,omitempty" yaml:"application"`
	// The hex encoded call data that should be used to verify the application
	// account ownership
	CallData string `protobuf:"bytes,2,opt,name=call_data,json=callData,proto3" json:"call_data,omitempty" yaml:"call_data"`
}

CallData contains the data sent to a single oracle request in order to verify the ownership of a centralized application by a Desmos profile

func NewOracleRequestCallData

func NewOracleRequestCallData(application, callData string) OracleRequest_CallData

NewOracleRequestCallData allows to build a new OracleRequest_CallData instance

func (*OracleRequest_CallData) Descriptor

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

func (*OracleRequest_CallData) Equal

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

func (*OracleRequest_CallData) GetApplication

func (m *OracleRequest_CallData) GetApplication() string

func (*OracleRequest_CallData) GetCallData

func (m *OracleRequest_CallData) GetCallData() string

func (*OracleRequest_CallData) Marshal

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

func (*OracleRequest_CallData) MarshalTo

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

func (*OracleRequest_CallData) MarshalToSizedBuffer

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

func (*OracleRequest_CallData) ProtoMessage

func (*OracleRequest_CallData) ProtoMessage()

func (*OracleRequest_CallData) Reset

func (m *OracleRequest_CallData) Reset()

func (*OracleRequest_CallData) Size

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

func (*OracleRequest_CallData) String

func (m *OracleRequest_CallData) String() string

func (*OracleRequest_CallData) Unmarshal

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

func (OracleRequest_CallData) Validate

func (c OracleRequest_CallData) Validate() error

Validate returns an error if the instance does not contain valid data

func (*OracleRequest_CallData) XXX_DiscardUnknown

func (m *OracleRequest_CallData) XXX_DiscardUnknown()

func (*OracleRequest_CallData) XXX_Marshal

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

func (*OracleRequest_CallData) XXX_Merge

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

func (*OracleRequest_CallData) XXX_Size

func (m *OracleRequest_CallData) XXX_Size() int

func (*OracleRequest_CallData) XXX_Unmarshal

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

type Params

type Params struct {
	Nickname NicknameParams `protobuf:"bytes,1,opt,name=nickname,proto3" json:"nickname" yaml:"nickname"`
	DTag     DTagParams     `protobuf:"bytes,2,opt,name=dtag,proto3" json:"dtag" yaml:"dtag"`
	Bio      BioParams      `protobuf:"bytes,3,opt,name=bio,proto3" json:"bio" yaml:"bio"`
	Oracle   OracleParams   `protobuf:"bytes,4,opt,name=oracle,proto3" json:"oracle" yaml:"oracle"`
}

Params contains the parameters for the profiles module

func DefaultParams

func DefaultParams() Params

DefaultParams return default paramsModule

func NewParams

func NewParams(nickname NicknameParams, dTag DTagParams, bio BioParams, oracle OracleParams) Params

NewParams creates a new ProfileParams obj

func (*Params) Descriptor

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

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 (params *Params) ParamSetPairs() paramstypes.ParamSetPairs

ParamSetPairs implements the ParamSet interface and returns the key/value pairs of profile 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) Validate

func (params Params) Validate() error

Validate perform basic checks on all parameters to ensure they are correct

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 Pictures

type Pictures struct {
	// Profile contains the URL to the profile picture
	Profile string `protobuf:"bytes,1,opt,name=profile,proto3" json:"profile,omitempty" yaml:"profile"`
	// Cover contains the URL to the cover picture
	Cover string `protobuf:"bytes,2,opt,name=cover,proto3" json:"cover,omitempty" yaml:"cover"`
}

Pictures contains the data of a user profile's related pictures

func NewPictures

func NewPictures(profile, cover string) Pictures

NewPictures is a constructor function for Pictures

func (*Pictures) Descriptor

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

func (*Pictures) Equal

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

func (*Pictures) GetCover

func (m *Pictures) GetCover() string

func (*Pictures) GetProfile

func (m *Pictures) GetProfile() string

func (*Pictures) Marshal

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

func (*Pictures) MarshalTo

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

func (*Pictures) MarshalToSizedBuffer

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

func (*Pictures) ProtoMessage

func (*Pictures) ProtoMessage()

func (*Pictures) Reset

func (m *Pictures) Reset()

func (*Pictures) Size

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

func (*Pictures) String

func (m *Pictures) String() string

func (*Pictures) Unmarshal

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

func (Pictures) Validate

func (pic Pictures) Validate() error

Validate check the validity of the Pictures

func (*Pictures) XXX_DiscardUnknown

func (m *Pictures) XXX_DiscardUnknown()

func (*Pictures) XXX_Marshal

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

func (*Pictures) XXX_Merge

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

func (*Pictures) XXX_Size

func (m *Pictures) XXX_Size() int

func (*Pictures) XXX_Unmarshal

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

type PortKeeper

type PortKeeper interface {
	BindPort(ctx sdk.Context, portID string) *capabilitytypes.Capability
}

PortKeeper defines the expected IBC port keeper

type Profile

type Profile struct {
	// Account represents the base Cosmos account associated with this profile
	Account *types.Any `protobuf:"bytes,1,opt,name=account,proto3" json:"account,omitempty"`
	// DTag represents the unique tag of this profile
	DTag string `protobuf:"bytes,2,opt,name=dtag,proto3" json:"dtag,omitempty" yaml:"dtag"`
	// Nickname contains the custom human readable name of the profile
	Nickname string `protobuf:"bytes,3,opt,name=nickname,proto3" json:"nickname,omitempty" yaml:"nickname"`
	// Bio contains the biography of the profile
	Bio string `protobuf:"bytes,4,opt,name=bio,proto3" json:"bio,omitempty" yaml:"bio"`
	// Pictures contains the data about the pictures associated with he profile
	Pictures Pictures `protobuf:"bytes,5,opt,name=pictures,proto3" json:"pictures" yaml:"pictures"`
	// CreationTime represents the time in which the profile has been created
	CreationDate time.Time `protobuf:"bytes,6,opt,name=creation_date,json=creationDate,proto3,stdtime" json:"creation_date" yaml:"creation_date"`
}

Profile represents a generic first on Desmos, containing the information of a single user

func NewProfile

func NewProfile(
	dTag string, nickname, bio string, pictures Pictures, creationDate time.Time,
	account authtypes.AccountI,
) (*Profile, error)

NewProfile builds a new profile having the given DTag, creator and creation date

func NewProfileFromAccount

func NewProfileFromAccount(dTag string, account authtypes.AccountI, creationTime time.Time) (*Profile, error)

NewProfileFromAccount allows to build a new Profile instance from a provided DTag, and account and a creation time

func (*Profile) Descriptor

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

func (*Profile) GetAccount

func (p *Profile) GetAccount() authtypes.AccountI

GetAccount returns the underlying account as an authtypes.AccountI instance

func (*Profile) GetAccountNumber

func (p *Profile) GetAccountNumber() uint64

GetAccountNumber implements authtypes.AccountI

func (*Profile) GetAddress

func (p *Profile) GetAddress() sdk.AccAddress

GetAddress implements authtypes.AccountI

func (*Profile) GetPubKey

func (p *Profile) GetPubKey() cryptotypes.PubKey

GetPubKey implements authtypes.AccountI

func (*Profile) GetSequence

func (p *Profile) GetSequence() uint64

GetSequence implements authtypes.AccountI

func (*Profile) Marshal

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

func (Profile) MarshalJSON

func (p Profile) MarshalJSON() ([]byte, error)

MarshalJSON returns the JSON representation of a Profile.

func (*Profile) MarshalTo

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

func (*Profile) MarshalToSizedBuffer

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

func (*Profile) MarshalYAML

func (p *Profile) MarshalYAML() (interface{}, error)

MarshalYAML returns the YAML representation of a Profile.

func (*Profile) ProtoMessage

func (*Profile) ProtoMessage()

func (*Profile) Reset

func (m *Profile) Reset()

func (*Profile) SetAccountNumber

func (p *Profile) SetAccountNumber(accountNumber uint64) error

SetAccountNumber implements authtypes.AccountI

func (*Profile) SetAddress

func (p *Profile) SetAddress(addr sdk.AccAddress) error

SetAddress implements authtypes.AccountI

func (*Profile) SetPubKey

func (p *Profile) SetPubKey(pubKey cryptotypes.PubKey) error

SetPubKey implements authtypes.AccountI

func (*Profile) SetSequence

func (p *Profile) SetSequence(sequence uint64) error

SetSequence implements authtypes.AccountI

func (*Profile) Size

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

func (*Profile) String

func (p *Profile) String() string

String implements authtypes.AccountI implements stringer

func (*Profile) Unmarshal

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

func (*Profile) UnpackInterfaces

func (p *Profile) UnpackInterfaces(unpacker codectypes.AnyUnpacker) error

UnpackInterfaces implements codectypes.UnpackInterfacesMessage

func (*Profile) Update

func (p *Profile) Update(update *ProfileUpdate) (*Profile, error)

Update updates the fields of a given profile without validating it. Before storing the updated profile, a validation with Validate() should be performed.

func (*Profile) Validate

func (p *Profile) Validate() error

Validate check the validity of the Profile

func (*Profile) XXX_DiscardUnknown

func (m *Profile) XXX_DiscardUnknown()

func (*Profile) XXX_Marshal

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

func (*Profile) XXX_Merge

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

func (*Profile) XXX_Size

func (m *Profile) XXX_Size() int

func (*Profile) XXX_Unmarshal

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

type ProfileUpdate

type ProfileUpdate struct {
	DTag     string
	Nickname string
	Bio      string
	Pictures Pictures
}

ProfileUpdate contains all the data that can be updated about a profile. When performing an update, if a field should not be edited then it must be set to types.DoNotModify

func NewProfileUpdate

func NewProfileUpdate(dTag, nickname, bio string, pictures Pictures) *ProfileUpdate

NewProfileUpdate builds a new ProfileUpdate instance containing the given data

type Proof

type Proof struct {
	// PubKey represents the public key associated with the address for which to
	// prove the ownership
	PubKey *types.Any `protobuf:"bytes,1,opt,name=pub_key,json=pubKey,proto3" json:"pub_key,omitempty" yaml:"pub_key"`
	// Signature represents the hex-encoded signature of the PlainText value
	Signature string `protobuf:"bytes,2,opt,name=signature,proto3" json:"signature,omitempty" yaml:"signature"`
	// PlainText represents the hex-encoded value signed in order to produce the Signature
	PlainText string `protobuf:"bytes,3,opt,name=plain_text,json=plainText,proto3" json:"plain_text,omitempty" yaml:"plain_text"`
}

Proof contains all the data used to verify a signature when linking an account to a profile

func NewProof

func NewProof(pubKey cryptotypes.PubKey, signature string, plainText string) Proof

NewProof is a constructor function for Proof nolint:interfacer

func (*Proof) Descriptor

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

func (*Proof) Equal

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

func (*Proof) Marshal

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

func (*Proof) MarshalTo

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

func (*Proof) MarshalToSizedBuffer

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

func (*Proof) ProtoMessage

func (*Proof) ProtoMessage()

func (*Proof) Reset

func (m *Proof) Reset()

func (*Proof) Size

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

func (*Proof) String

func (m *Proof) String() string

func (*Proof) Unmarshal

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

func (*Proof) UnpackInterfaces

func (p *Proof) UnpackInterfaces(unpacker codectypes.AnyUnpacker) error

UnpackInterfaces implements codectypes.UnpackInterfacesMessage

func (Proof) Validate

func (p Proof) Validate() error

Validate checks the validity of the Proof

func (Proof) Verify

func (p Proof) Verify(unpacker codectypes.AnyUnpacker, address AddressData) error

Verify verifies the signature using the given plain text and public key. It returns and error if something is invalid.

func (*Proof) XXX_DiscardUnknown

func (m *Proof) XXX_DiscardUnknown()

func (*Proof) XXX_Marshal

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

func (*Proof) XXX_Merge

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

func (*Proof) XXX_Size

func (m *Proof) XXX_Size() int

func (*Proof) XXX_Unmarshal

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

type QueryApplicationLinkByClientIDRequest

type QueryApplicationLinkByClientIDRequest struct {
	// ClientID represents the ID of the client to which search the link for
	ClientId string `protobuf:"bytes,1,opt,name=client_id,json=clientId,proto3" json:"client_id,omitempty"`
}

QueryApplicationLinkByClientIDRequest contains the data of the request that can be used to get an application link based on a client id

func NewQueryApplicationLinkByClientIDRequest

func NewQueryApplicationLinkByClientIDRequest(clientID string) *QueryApplicationLinkByClientIDRequest

NewQueryApplicationLinkByClientIDRequest returns a new QueryApplicationLinkByClientIDRequest instance

func (*QueryApplicationLinkByClientIDRequest) Descriptor

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

func (*QueryApplicationLinkByClientIDRequest) GetClientId

func (*QueryApplicationLinkByClientIDRequest) Marshal

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

func (*QueryApplicationLinkByClientIDRequest) MarshalTo

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

func (*QueryApplicationLinkByClientIDRequest) MarshalToSizedBuffer

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

func (*QueryApplicationLinkByClientIDRequest) ProtoMessage

func (*QueryApplicationLinkByClientIDRequest) ProtoMessage()

func (*QueryApplicationLinkByClientIDRequest) Reset

func (*QueryApplicationLinkByClientIDRequest) Size

func (*QueryApplicationLinkByClientIDRequest) String

func (*QueryApplicationLinkByClientIDRequest) Unmarshal

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

func (*QueryApplicationLinkByClientIDRequest) XXX_DiscardUnknown

func (m *QueryApplicationLinkByClientIDRequest) XXX_DiscardUnknown()

func (*QueryApplicationLinkByClientIDRequest) XXX_Marshal

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

func (*QueryApplicationLinkByClientIDRequest) XXX_Merge

func (*QueryApplicationLinkByClientIDRequest) XXX_Size

func (*QueryApplicationLinkByClientIDRequest) XXX_Unmarshal

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

type QueryApplicationLinkByClientIDResponse

type QueryApplicationLinkByClientIDResponse struct {
	Link ApplicationLink `protobuf:"bytes,1,opt,name=link,proto3" json:"link"`
}

QueryApplicationLinkByClientIDResponse contains the data returned by the request allowing to get an application link using a client id

func (*QueryApplicationLinkByClientIDResponse) Descriptor

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

func (*QueryApplicationLinkByClientIDResponse) Marshal

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

func (*QueryApplicationLinkByClientIDResponse) MarshalTo

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

func (*QueryApplicationLinkByClientIDResponse) MarshalToSizedBuffer

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

func (*QueryApplicationLinkByClientIDResponse) ProtoMessage

func (*QueryApplicationLinkByClientIDResponse) Reset

func (*QueryApplicationLinkByClientIDResponse) Size

func (*QueryApplicationLinkByClientIDResponse) String

func (*QueryApplicationLinkByClientIDResponse) Unmarshal

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

func (*QueryApplicationLinkByClientIDResponse) XXX_DiscardUnknown

func (m *QueryApplicationLinkByClientIDResponse) XXX_DiscardUnknown()

func (*QueryApplicationLinkByClientIDResponse) XXX_Marshal

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

func (*QueryApplicationLinkByClientIDResponse) XXX_Merge

func (*QueryApplicationLinkByClientIDResponse) XXX_Size

func (*QueryApplicationLinkByClientIDResponse) XXX_Unmarshal

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

type QueryApplicationLinksRequest

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

QueryApplicationLinksRequest represents the request used when querying the application links of a specific user

func NewQueryApplicationLinksRequest

func NewQueryApplicationLinksRequest(user string, pageReq *query.PageRequest) *QueryApplicationLinksRequest

NewQueryApplicationLinksRequest returns a new QueryApplicationLinksRequest instance

func (*QueryApplicationLinksRequest) Descriptor

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

func (*QueryApplicationLinksRequest) GetPagination

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

func (*QueryApplicationLinksRequest) GetUser

func (m *QueryApplicationLinksRequest) GetUser() string

func (*QueryApplicationLinksRequest) Marshal

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

func (*QueryApplicationLinksRequest) MarshalTo

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

func (*QueryApplicationLinksRequest) MarshalToSizedBuffer

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

func (*QueryApplicationLinksRequest) ProtoMessage

func (*QueryApplicationLinksRequest) ProtoMessage()

func (*QueryApplicationLinksRequest) Reset

func (m *QueryApplicationLinksRequest) Reset()

func (*QueryApplicationLinksRequest) Size

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

func (*QueryApplicationLinksRequest) String

func (*QueryApplicationLinksRequest) Unmarshal

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

func (*QueryApplicationLinksRequest) XXX_DiscardUnknown

func (m *QueryApplicationLinksRequest) XXX_DiscardUnknown()

func (*QueryApplicationLinksRequest) XXX_Marshal

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

func (*QueryApplicationLinksRequest) XXX_Merge

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

func (*QueryApplicationLinksRequest) XXX_Size

func (m *QueryApplicationLinksRequest) XXX_Size() int

func (*QueryApplicationLinksRequest) XXX_Unmarshal

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

type QueryApplicationLinksResponse

type QueryApplicationLinksResponse struct {
	Links []ApplicationLink `protobuf:"bytes,1,rep,name=links,proto3" json:"links"`
	// Pagination defines the pagination response
	Pagination *query.PageResponse `protobuf:"bytes,2,opt,name=pagination,proto3" json:"pagination,omitempty"`
}

QueryApplicationLinksResponse represents the response to the query used to get the application links for a specific user

func (*QueryApplicationLinksResponse) Descriptor

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

func (*QueryApplicationLinksResponse) GetPagination

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

func (*QueryApplicationLinksResponse) Marshal

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

func (*QueryApplicationLinksResponse) MarshalTo

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

func (*QueryApplicationLinksResponse) MarshalToSizedBuffer

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

func (*QueryApplicationLinksResponse) ProtoMessage

func (*QueryApplicationLinksResponse) ProtoMessage()

func (*QueryApplicationLinksResponse) Reset

func (m *QueryApplicationLinksResponse) Reset()

func (*QueryApplicationLinksResponse) Size

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

func (*QueryApplicationLinksResponse) String

func (*QueryApplicationLinksResponse) Unmarshal

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

func (*QueryApplicationLinksResponse) XXX_DiscardUnknown

func (m *QueryApplicationLinksResponse) XXX_DiscardUnknown()

func (*QueryApplicationLinksResponse) XXX_Marshal

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

func (*QueryApplicationLinksResponse) XXX_Merge

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

func (*QueryApplicationLinksResponse) XXX_Size

func (m *QueryApplicationLinksResponse) XXX_Size() int

func (*QueryApplicationLinksResponse) XXX_Unmarshal

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

type QueryBlocksRequest

type QueryBlocksRequest struct {
	// address of the user to query the blocks for
	User       string             `protobuf:"bytes,1,opt,name=user,proto3" json:"user,omitempty"`
	SubspaceId string             `protobuf:"bytes,2,opt,name=subspace_id,json=subspaceId,proto3" json:"subspace_id,omitempty"`
	Pagination *query.PageRequest `protobuf:"bytes,3,opt,name=pagination,proto3" json:"pagination,omitempty"`
}

QueryBlocksRequest is the request type for the Query/Blocks RPC endpoint

func (*QueryBlocksRequest) Descriptor

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

func (*QueryBlocksRequest) Marshal

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

func (*QueryBlocksRequest) MarshalTo

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

func (*QueryBlocksRequest) MarshalToSizedBuffer

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

func (*QueryBlocksRequest) ProtoMessage

func (*QueryBlocksRequest) ProtoMessage()

func (*QueryBlocksRequest) Reset

func (m *QueryBlocksRequest) Reset()

func (*QueryBlocksRequest) Size

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

func (*QueryBlocksRequest) String

func (m *QueryBlocksRequest) String() string

func (*QueryBlocksRequest) Unmarshal

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

func (*QueryBlocksRequest) XXX_DiscardUnknown

func (m *QueryBlocksRequest) XXX_DiscardUnknown()

func (*QueryBlocksRequest) XXX_Marshal

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

func (*QueryBlocksRequest) XXX_Merge

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

func (*QueryBlocksRequest) XXX_Size

func (m *QueryBlocksRequest) XXX_Size() int

func (*QueryBlocksRequest) XXX_Unmarshal

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

type QueryBlocksResponse

type QueryBlocksResponse struct {
	Blocks     []UserBlock         `protobuf:"bytes,1,rep,name=blocks,proto3" json:"blocks"`
	Pagination *query.PageResponse `protobuf:"bytes,2,opt,name=pagination,proto3" json:"pagination,omitempty"`
}

QueryBlocksResponse is the response type for the Query/Blocks RPC method.

func (*QueryBlocksResponse) Descriptor

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

func (*QueryBlocksResponse) GetBlocks

func (m *QueryBlocksResponse) GetBlocks() []UserBlock

func (*QueryBlocksResponse) GetPagination

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

func (*QueryBlocksResponse) Marshal

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

func (*QueryBlocksResponse) MarshalTo

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

func (*QueryBlocksResponse) MarshalToSizedBuffer

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

func (*QueryBlocksResponse) ProtoMessage

func (*QueryBlocksResponse) ProtoMessage()

func (*QueryBlocksResponse) Reset

func (m *QueryBlocksResponse) Reset()

func (*QueryBlocksResponse) Size

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

func (*QueryBlocksResponse) String

func (m *QueryBlocksResponse) String() string

func (*QueryBlocksResponse) Unmarshal

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

func (*QueryBlocksResponse) XXX_DiscardUnknown

func (m *QueryBlocksResponse) XXX_DiscardUnknown()

func (*QueryBlocksResponse) XXX_Marshal

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

func (*QueryBlocksResponse) XXX_Merge

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

func (*QueryBlocksResponse) XXX_Size

func (m *QueryBlocksResponse) XXX_Size() int

func (*QueryBlocksResponse) XXX_Unmarshal

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

type QueryChainLinksRequest

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

QueryChainLinksRequest is the request type for the Query/ChainLinks RPC endpoint

func (*QueryChainLinksRequest) Descriptor

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

func (*QueryChainLinksRequest) GetPagination

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

func (*QueryChainLinksRequest) GetUser

func (m *QueryChainLinksRequest) GetUser() string

func (*QueryChainLinksRequest) Marshal

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

func (*QueryChainLinksRequest) MarshalTo

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

func (*QueryChainLinksRequest) MarshalToSizedBuffer

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

func (*QueryChainLinksRequest) ProtoMessage

func (*QueryChainLinksRequest) ProtoMessage()

func (*QueryChainLinksRequest) Reset

func (m *QueryChainLinksRequest) Reset()

func (*QueryChainLinksRequest) Size

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

func (*QueryChainLinksRequest) String

func (m *QueryChainLinksRequest) String() string

func (*QueryChainLinksRequest) Unmarshal

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

func (*QueryChainLinksRequest) XXX_DiscardUnknown

func (m *QueryChainLinksRequest) XXX_DiscardUnknown()

func (*QueryChainLinksRequest) XXX_Marshal

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

func (*QueryChainLinksRequest) XXX_Merge

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

func (*QueryChainLinksRequest) XXX_Size

func (m *QueryChainLinksRequest) XXX_Size() int

func (*QueryChainLinksRequest) XXX_Unmarshal

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

type QueryChainLinksResponse

type QueryChainLinksResponse struct {
	Links []ChainLink `protobuf:"bytes,1,rep,name=links,proto3" json:"links"`
	// Pagination defines the pagination response
	Pagination *query.PageResponse `protobuf:"bytes,2,opt,name=pagination,proto3" json:"pagination,omitempty"`
}

QueryChainLinksResponse is the response type for the Query/ChainLinks RPC method.

func (*QueryChainLinksResponse) Descriptor

func (*QueryChainLinksResponse) Descriptor() ([]byte, []int)
func (m *QueryChainLinksResponse) GetLinks() []ChainLink

func (*QueryChainLinksResponse) GetPagination

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

func (*QueryChainLinksResponse) Marshal

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

func (*QueryChainLinksResponse) MarshalTo

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

func (*QueryChainLinksResponse) MarshalToSizedBuffer

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

func (*QueryChainLinksResponse) ProtoMessage

func (*QueryChainLinksResponse) ProtoMessage()

func (*QueryChainLinksResponse) Reset

func (m *QueryChainLinksResponse) Reset()

func (*QueryChainLinksResponse) Size

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

func (*QueryChainLinksResponse) String

func (m *QueryChainLinksResponse) String() string

func (*QueryChainLinksResponse) Unmarshal

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

func (*QueryChainLinksResponse) XXX_DiscardUnknown

func (m *QueryChainLinksResponse) XXX_DiscardUnknown()

func (*QueryChainLinksResponse) XXX_Marshal

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

func (*QueryChainLinksResponse) XXX_Merge

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

func (*QueryChainLinksResponse) XXX_Size

func (m *QueryChainLinksResponse) XXX_Size() int

func (*QueryChainLinksResponse) XXX_Unmarshal

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

type QueryClient

type QueryClient interface {
	// Profile queries the profile of a specific user given their DTag or address.
	// If the queried user does not have a profile, the returned response will
	// contain a null profile.
	Profile(ctx context.Context, in *QueryProfileRequest, opts ...grpc.CallOption) (*QueryProfileResponse, error)
	// IncomingDTagTransferRequests queries all the DTag transfers requests that
	// have been made towards the user with the given address
	IncomingDTagTransferRequests(ctx context.Context, in *QueryIncomingDTagTransferRequestsRequest, opts ...grpc.CallOption) (*QueryIncomingDTagTransferRequestsResponse, error)
	// Params queries the profiles module params
	Params(ctx context.Context, in *QueryParamsRequest, opts ...grpc.CallOption) (*QueryParamsResponse, error)
	// Relationships queries all relationships for the given user, if provided.
	// Otherwise, it queries all the relationships stored.
	Relationships(ctx context.Context, in *QueryRelationshipsRequest, opts ...grpc.CallOption) (*QueryRelationshipsResponse, error)
	// Blocks queries the blocks for the given user, if provided.
	// Otherwise, it queries all the stored blocks.
	Blocks(ctx context.Context, in *QueryBlocksRequest, opts ...grpc.CallOption) (*QueryBlocksResponse, error)
	// ChainLinks queries the chain links associated to the given user, if
	// provided. Otherwise it queries all the chain links stored.
	ChainLinks(ctx context.Context, in *QueryChainLinksRequest, opts ...grpc.CallOption) (*QueryChainLinksResponse, error)
	// UserChainLink queries the chain link for the given user, chain name and
	// target address
	UserChainLink(ctx context.Context, in *QueryUserChainLinkRequest, opts ...grpc.CallOption) (*QueryUserChainLinkResponse, error)
	// ApplicationLinks queries the applications links associated to the given
	// user, if provided. Otherwise, it queries all the application links stored.
	ApplicationLinks(ctx context.Context, in *QueryApplicationLinksRequest, opts ...grpc.CallOption) (*QueryApplicationLinksResponse, error)
	// UserApplicationLinks queries a single application link for a given user,
	// searching via the application name and username
	UserApplicationLink(ctx context.Context, in *QueryUserApplicationLinkRequest, opts ...grpc.CallOption) (*QueryUserApplicationLinkResponse, error)
	// ApplicationLinkByClientID queries a single application link for a given
	// client id.
	ApplicationLinkByClientID(ctx context.Context, in *QueryApplicationLinkByClientIDRequest, opts ...grpc.CallOption) (*QueryApplicationLinkByClientIDResponse, 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 QueryIncomingDTagTransferRequestsRequest

type QueryIncomingDTagTransferRequestsRequest struct {
	// Receiver represents the address of the user to which query the incoming
	// requests for
	Receiver string `protobuf:"bytes,1,opt,name=receiver,proto3" json:"receiver,omitempty"`
	// Pagination defines an optional pagination for the request
	Pagination *query.PageRequest `protobuf:"bytes,2,opt,name=pagination,proto3" json:"pagination,omitempty"`
}

QueryIncomingDTagTransferRequestsRequest is the request type for the Query/IncomingDTagTransferRequests RPC endpoint

func NewQueryIncomingDTagTransferRequestsRequest

func NewQueryIncomingDTagTransferRequestsRequest(
	receiver string, pagination *query.PageRequest) *QueryIncomingDTagTransferRequestsRequest

NewQueryIncomingDTagTransferRequestsRequest returns a new QueryIncomingDTagTransferRequestsRequest instance

func (*QueryIncomingDTagTransferRequestsRequest) Descriptor

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

func (*QueryIncomingDTagTransferRequestsRequest) Marshal

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

func (*QueryIncomingDTagTransferRequestsRequest) MarshalTo

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

func (*QueryIncomingDTagTransferRequestsRequest) MarshalToSizedBuffer

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

func (*QueryIncomingDTagTransferRequestsRequest) ProtoMessage

func (*QueryIncomingDTagTransferRequestsRequest) Reset

func (*QueryIncomingDTagTransferRequestsRequest) Size

func (*QueryIncomingDTagTransferRequestsRequest) String

func (*QueryIncomingDTagTransferRequestsRequest) Unmarshal

func (*QueryIncomingDTagTransferRequestsRequest) XXX_DiscardUnknown

func (m *QueryIncomingDTagTransferRequestsRequest) XXX_DiscardUnknown()

func (*QueryIncomingDTagTransferRequestsRequest) XXX_Marshal

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

func (*QueryIncomingDTagTransferRequestsRequest) XXX_Merge

func (*QueryIncomingDTagTransferRequestsRequest) XXX_Size

func (*QueryIncomingDTagTransferRequestsRequest) XXX_Unmarshal

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

type QueryIncomingDTagTransferRequestsResponse

type QueryIncomingDTagTransferRequestsResponse struct {
	// Requests represent the list of all the DTag transfer requests made towards
	// the user
	Requests []DTagTransferRequest `protobuf:"bytes,1,rep,name=requests,proto3" json:"requests"`
	// Pagination defines the pagination response
	Pagination *query.PageResponse `protobuf:"bytes,2,opt,name=pagination,proto3" json:"pagination,omitempty"`
}

QueryIncomingDTagTransferRequestsResponse is the response type for the Query/IncomingDTagTransferRequests RPC method.

func (*QueryIncomingDTagTransferRequestsResponse) Descriptor

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

func (*QueryIncomingDTagTransferRequestsResponse) GetPagination

func (*QueryIncomingDTagTransferRequestsResponse) GetRequests

func (*QueryIncomingDTagTransferRequestsResponse) Marshal

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

func (*QueryIncomingDTagTransferRequestsResponse) MarshalTo

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

func (*QueryIncomingDTagTransferRequestsResponse) MarshalToSizedBuffer

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

func (*QueryIncomingDTagTransferRequestsResponse) ProtoMessage

func (*QueryIncomingDTagTransferRequestsResponse) Reset

func (*QueryIncomingDTagTransferRequestsResponse) Size

func (*QueryIncomingDTagTransferRequestsResponse) String

func (*QueryIncomingDTagTransferRequestsResponse) Unmarshal

func (*QueryIncomingDTagTransferRequestsResponse) XXX_DiscardUnknown

func (m *QueryIncomingDTagTransferRequestsResponse) XXX_DiscardUnknown()

func (*QueryIncomingDTagTransferRequestsResponse) XXX_Marshal

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

func (*QueryIncomingDTagTransferRequestsResponse) XXX_Merge

func (*QueryIncomingDTagTransferRequestsResponse) XXX_Size

func (*QueryIncomingDTagTransferRequestsResponse) XXX_Unmarshal

type QueryParamsRequest

type QueryParamsRequest struct {
}

QueryParamsRequest is the request type for the Query/Params RPC endpoint

func (*QueryParamsRequest) Descriptor

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

func (*QueryParamsRequest) Marshal

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

func (*QueryParamsRequest) MarshalTo

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

func (*QueryParamsRequest) MarshalToSizedBuffer

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

func (*QueryParamsRequest) ProtoMessage

func (*QueryParamsRequest) ProtoMessage()

func (*QueryParamsRequest) Reset

func (m *QueryParamsRequest) Reset()

func (*QueryParamsRequest) Size

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

func (*QueryParamsRequest) String

func (m *QueryParamsRequest) String() string

func (*QueryParamsRequest) Unmarshal

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

func (*QueryParamsRequest) XXX_DiscardUnknown

func (m *QueryParamsRequest) XXX_DiscardUnknown()

func (*QueryParamsRequest) XXX_Marshal

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

func (*QueryParamsRequest) XXX_Merge

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

func (*QueryParamsRequest) XXX_Size

func (m *QueryParamsRequest) XXX_Size() int

func (*QueryParamsRequest) XXX_Unmarshal

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

type QueryParamsResponse

type QueryParamsResponse struct {
	Params Params `protobuf:"bytes,1,opt,name=params,proto3" json:"params"`
}

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

func (*QueryParamsResponse) Descriptor

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

func (*QueryParamsResponse) GetParams

func (m *QueryParamsResponse) GetParams() Params

func (*QueryParamsResponse) Marshal

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

func (*QueryParamsResponse) MarshalTo

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

func (*QueryParamsResponse) MarshalToSizedBuffer

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

func (*QueryParamsResponse) ProtoMessage

func (*QueryParamsResponse) ProtoMessage()

func (*QueryParamsResponse) Reset

func (m *QueryParamsResponse) Reset()

func (*QueryParamsResponse) Size

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

func (*QueryParamsResponse) String

func (m *QueryParamsResponse) String() string

func (*QueryParamsResponse) Unmarshal

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

func (*QueryParamsResponse) XXX_DiscardUnknown

func (m *QueryParamsResponse) XXX_DiscardUnknown()

func (*QueryParamsResponse) XXX_Marshal

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

func (*QueryParamsResponse) XXX_Merge

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

func (*QueryParamsResponse) XXX_Size

func (m *QueryParamsResponse) XXX_Size() int

func (*QueryParamsResponse) XXX_Unmarshal

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

type QueryProfileRequest

type QueryProfileRequest struct {
	// Address or DTag of the user to query the profile for
	User string `protobuf:"bytes,1,opt,name=user,proto3" json:"user,omitempty"`
}

QueryProfileRequest is the request type for the Query/Profile RPC method.

func NewQueryProfileRequest

func NewQueryProfileRequest(user string) *QueryProfileRequest

NewQueryProfileRequest returns a new QueryProfileRequest containing the given data

func (*QueryProfileRequest) Descriptor

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

func (*QueryProfileRequest) Marshal

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

func (*QueryProfileRequest) MarshalTo

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

func (*QueryProfileRequest) MarshalToSizedBuffer

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

func (*QueryProfileRequest) ProtoMessage

func (*QueryProfileRequest) ProtoMessage()

func (*QueryProfileRequest) Reset

func (m *QueryProfileRequest) Reset()

func (*QueryProfileRequest) Size

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

func (*QueryProfileRequest) String

func (m *QueryProfileRequest) String() string

func (*QueryProfileRequest) Unmarshal

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

func (*QueryProfileRequest) XXX_DiscardUnknown

func (m *QueryProfileRequest) XXX_DiscardUnknown()

func (*QueryProfileRequest) XXX_Marshal

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

func (*QueryProfileRequest) XXX_Merge

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

func (*QueryProfileRequest) XXX_Size

func (m *QueryProfileRequest) XXX_Size() int

func (*QueryProfileRequest) XXX_Unmarshal

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

type QueryProfileResponse

type QueryProfileResponse struct {
	Profile *types.Any `protobuf:"bytes,1,opt,name=profile,proto3" json:"profile,omitempty"`
}

QueryProfileResponse is the response type for the Query/Profile RPC method.

func (*QueryProfileResponse) Descriptor

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

func (*QueryProfileResponse) GetProfile

func (m *QueryProfileResponse) GetProfile() *types.Any

func (*QueryProfileResponse) Marshal

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

func (*QueryProfileResponse) MarshalTo

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

func (*QueryProfileResponse) MarshalToSizedBuffer

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

func (*QueryProfileResponse) ProtoMessage

func (*QueryProfileResponse) ProtoMessage()

func (*QueryProfileResponse) Reset

func (m *QueryProfileResponse) Reset()

func (*QueryProfileResponse) Size

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

func (*QueryProfileResponse) String

func (m *QueryProfileResponse) String() string

func (*QueryProfileResponse) Unmarshal

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

func (*QueryProfileResponse) UnpackInterfaces

func (r *QueryProfileResponse) UnpackInterfaces(unpacker codectypes.AnyUnpacker) error

UnpackInterfaces implements codectypes.UnpackInterfacesMessage

func (*QueryProfileResponse) XXX_DiscardUnknown

func (m *QueryProfileResponse) XXX_DiscardUnknown()

func (*QueryProfileResponse) XXX_Marshal

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

func (*QueryProfileResponse) XXX_Merge

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

func (*QueryProfileResponse) XXX_Size

func (m *QueryProfileResponse) XXX_Size() int

func (*QueryProfileResponse) XXX_Unmarshal

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

type QueryRelationshipsRequest

type QueryRelationshipsRequest struct {
	// address of the user to query the relationships for
	User string `protobuf:"bytes,1,opt,name=user,proto3" json:"user,omitempty"`
	// subspace to query the relationships for
	SubspaceId string `protobuf:"bytes,2,opt,name=subspace_id,json=subspaceId,proto3" json:"subspace_id,omitempty"`
	// pagination defines an optional pagination for the request.
	Pagination *query.PageRequest `protobuf:"bytes,3,opt,name=pagination,proto3" json:"pagination,omitempty"`
}

QueryRelationshipsRequest is the request type for the Query/Relationships RPC method.

func (*QueryRelationshipsRequest) Descriptor

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

func (*QueryRelationshipsRequest) Marshal

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

func (*QueryRelationshipsRequest) MarshalTo

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

func (*QueryRelationshipsRequest) MarshalToSizedBuffer

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

func (*QueryRelationshipsRequest) ProtoMessage

func (*QueryRelationshipsRequest) ProtoMessage()

func (*QueryRelationshipsRequest) Reset

func (m *QueryRelationshipsRequest) Reset()

func (*QueryRelationshipsRequest) Size

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

func (*QueryRelationshipsRequest) String

func (m *QueryRelationshipsRequest) String() string

func (*QueryRelationshipsRequest) Unmarshal

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

func (*QueryRelationshipsRequest) XXX_DiscardUnknown

func (m *QueryRelationshipsRequest) XXX_DiscardUnknown()

func (*QueryRelationshipsRequest) XXX_Marshal

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

func (*QueryRelationshipsRequest) XXX_Merge

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

func (*QueryRelationshipsRequest) XXX_Size

func (m *QueryRelationshipsRequest) XXX_Size() int

func (*QueryRelationshipsRequest) XXX_Unmarshal

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

type QueryRelationshipsResponse

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

QueryRelationshipsResponse is the response type for the Query/Relationships RPC method.

func (*QueryRelationshipsResponse) Descriptor

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

func (*QueryRelationshipsResponse) GetPagination

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

func (*QueryRelationshipsResponse) GetRelationships

func (m *QueryRelationshipsResponse) GetRelationships() []Relationship

func (*QueryRelationshipsResponse) Marshal

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

func (*QueryRelationshipsResponse) MarshalTo

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

func (*QueryRelationshipsResponse) MarshalToSizedBuffer

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

func (*QueryRelationshipsResponse) ProtoMessage

func (*QueryRelationshipsResponse) ProtoMessage()

func (*QueryRelationshipsResponse) Reset

func (m *QueryRelationshipsResponse) Reset()

func (*QueryRelationshipsResponse) Size

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

func (*QueryRelationshipsResponse) String

func (m *QueryRelationshipsResponse) String() string

func (*QueryRelationshipsResponse) Unmarshal

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

func (*QueryRelationshipsResponse) XXX_DiscardUnknown

func (m *QueryRelationshipsResponse) XXX_DiscardUnknown()

func (*QueryRelationshipsResponse) XXX_Marshal

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

func (*QueryRelationshipsResponse) XXX_Merge

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

func (*QueryRelationshipsResponse) XXX_Size

func (m *QueryRelationshipsResponse) XXX_Size() int

func (*QueryRelationshipsResponse) XXX_Unmarshal

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

type QueryServer

type QueryServer interface {
	// Profile queries the profile of a specific user given their DTag or address.
	// If the queried user does not have a profile, the returned response will
	// contain a null profile.
	Profile(context.Context, *QueryProfileRequest) (*QueryProfileResponse, error)
	// IncomingDTagTransferRequests queries all the DTag transfers requests that
	// have been made towards the user with the given address
	IncomingDTagTransferRequests(context.Context, *QueryIncomingDTagTransferRequestsRequest) (*QueryIncomingDTagTransferRequestsResponse, error)
	// Params queries the profiles module params
	Params(context.Context, *QueryParamsRequest) (*QueryParamsResponse, error)
	// Relationships queries all relationships for the given user, if provided.
	// Otherwise, it queries all the relationships stored.
	Relationships(context.Context, *QueryRelationshipsRequest) (*QueryRelationshipsResponse, error)
	// Blocks queries the blocks for the given user, if provided.
	// Otherwise, it queries all the stored blocks.
	Blocks(context.Context, *QueryBlocksRequest) (*QueryBlocksResponse, error)
	// ChainLinks queries the chain links associated to the given user, if
	// provided. Otherwise it queries all the chain links stored.
	ChainLinks(context.Context, *QueryChainLinksRequest) (*QueryChainLinksResponse, error)
	// UserChainLink queries the chain link for the given user, chain name and
	// target address
	UserChainLink(context.Context, *QueryUserChainLinkRequest) (*QueryUserChainLinkResponse, error)
	// ApplicationLinks queries the applications links associated to the given
	// user, if provided. Otherwise, it queries all the application links stored.
	ApplicationLinks(context.Context, *QueryApplicationLinksRequest) (*QueryApplicationLinksResponse, error)
	// UserApplicationLinks queries a single application link for a given user,
	// searching via the application name and username
	UserApplicationLink(context.Context, *QueryUserApplicationLinkRequest) (*QueryUserApplicationLinkResponse, error)
	// ApplicationLinkByClientID queries a single application link for a given
	// client id.
	ApplicationLinkByClientID(context.Context, *QueryApplicationLinkByClientIDRequest) (*QueryApplicationLinkByClientIDResponse, error)
}

QueryServer is the server API for Query service.

type QueryUserApplicationLinkRequest

type QueryUserApplicationLinkRequest struct {
	// User contains the Desmos profile address associated for which the link
	// should be searched for
	User string `protobuf:"bytes,1,opt,name=user,proto3" json:"user,omitempty"`
	// Application represents the application name associated with the link
	Application string `protobuf:"bytes,2,opt,name=application,proto3" json:"application,omitempty"`
	// Username represents the username inside the application associated with the
	// link
	Username string `protobuf:"bytes,3,opt,name=username,proto3" json:"username,omitempty"`
}

QueryUserApplicationLinkRequest represents the request used when querying an application link using an application name and username for a given user

func NewQueryUserApplicationLinkRequest

func NewQueryUserApplicationLinkRequest(user, application, username string) *QueryUserApplicationLinkRequest

NewQueryUserApplicationLinkRequest returns a new QueryUserApplicationLinkRequest instance

func (*QueryUserApplicationLinkRequest) Descriptor

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

func (*QueryUserApplicationLinkRequest) GetApplication

func (m *QueryUserApplicationLinkRequest) GetApplication() string

func (*QueryUserApplicationLinkRequest) GetUser

func (*QueryUserApplicationLinkRequest) GetUsername

func (m *QueryUserApplicationLinkRequest) GetUsername() string

func (*QueryUserApplicationLinkRequest) Marshal

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

func (*QueryUserApplicationLinkRequest) MarshalTo

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

func (*QueryUserApplicationLinkRequest) MarshalToSizedBuffer

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

func (*QueryUserApplicationLinkRequest) ProtoMessage

func (*QueryUserApplicationLinkRequest) ProtoMessage()

func (*QueryUserApplicationLinkRequest) Reset

func (*QueryUserApplicationLinkRequest) Size

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

func (*QueryUserApplicationLinkRequest) String

func (*QueryUserApplicationLinkRequest) Unmarshal

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

func (*QueryUserApplicationLinkRequest) XXX_DiscardUnknown

func (m *QueryUserApplicationLinkRequest) XXX_DiscardUnknown()

func (*QueryUserApplicationLinkRequest) XXX_Marshal

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

func (*QueryUserApplicationLinkRequest) XXX_Merge

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

func (*QueryUserApplicationLinkRequest) XXX_Size

func (m *QueryUserApplicationLinkRequest) XXX_Size() int

func (*QueryUserApplicationLinkRequest) XXX_Unmarshal

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

type QueryUserApplicationLinkResponse

type QueryUserApplicationLinkResponse struct {
	Link ApplicationLink `protobuf:"bytes,1,opt,name=link,proto3" json:"link"`
}

QueryUserApplicationLinkResponse represents the response to the query allowing to get an application link for a specific user, searching via the application name and username

func (*QueryUserApplicationLinkResponse) Descriptor

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

func (*QueryUserApplicationLinkResponse) Marshal

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

func (*QueryUserApplicationLinkResponse) MarshalTo

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

func (*QueryUserApplicationLinkResponse) MarshalToSizedBuffer

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

func (*QueryUserApplicationLinkResponse) ProtoMessage

func (*QueryUserApplicationLinkResponse) ProtoMessage()

func (*QueryUserApplicationLinkResponse) Reset

func (*QueryUserApplicationLinkResponse) Size

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

func (*QueryUserApplicationLinkResponse) String

func (*QueryUserApplicationLinkResponse) Unmarshal

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

func (*QueryUserApplicationLinkResponse) XXX_DiscardUnknown

func (m *QueryUserApplicationLinkResponse) XXX_DiscardUnknown()

func (*QueryUserApplicationLinkResponse) XXX_Marshal

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

func (*QueryUserApplicationLinkResponse) XXX_Merge

func (*QueryUserApplicationLinkResponse) XXX_Size

func (m *QueryUserApplicationLinkResponse) XXX_Size() int

func (*QueryUserApplicationLinkResponse) XXX_Unmarshal

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

type QueryUserChainLinkRequest

type QueryUserChainLinkRequest struct {
	// User represents the Desmos address of the user to which search the link for
	User string `protobuf:"bytes,1,opt,name=user,proto3" json:"user,omitempty"`
	// ChainName contains the name of the chain to which search the link for
	ChainName string `protobuf:"bytes,2,opt,name=chain_name,json=chainName,proto3" json:"chain_name,omitempty"`
	// Target must contain the external address to which query the link for
	Target string `protobuf:"bytes,3,opt,name=target,proto3" json:"target,omitempty"`
}

QueryUserChainLinkRequest represents the request that should be used in order to retrieve the link associated with the provided user, for the given chain and having the given target address

func (*QueryUserChainLinkRequest) Descriptor

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

func (*QueryUserChainLinkRequest) GetChainName

func (m *QueryUserChainLinkRequest) GetChainName() string

func (*QueryUserChainLinkRequest) GetTarget

func (m *QueryUserChainLinkRequest) GetTarget() string

func (*QueryUserChainLinkRequest) GetUser

func (m *QueryUserChainLinkRequest) GetUser() string

func (*QueryUserChainLinkRequest) Marshal

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

func (*QueryUserChainLinkRequest) MarshalTo

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

func (*QueryUserChainLinkRequest) MarshalToSizedBuffer

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

func (*QueryUserChainLinkRequest) ProtoMessage

func (*QueryUserChainLinkRequest) ProtoMessage()

func (*QueryUserChainLinkRequest) Reset

func (m *QueryUserChainLinkRequest) Reset()

func (*QueryUserChainLinkRequest) Size

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

func (*QueryUserChainLinkRequest) String

func (m *QueryUserChainLinkRequest) String() string

func (*QueryUserChainLinkRequest) Unmarshal

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

func (*QueryUserChainLinkRequest) XXX_DiscardUnknown

func (m *QueryUserChainLinkRequest) XXX_DiscardUnknown()

func (*QueryUserChainLinkRequest) XXX_Marshal

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

func (*QueryUserChainLinkRequest) XXX_Merge

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

func (*QueryUserChainLinkRequest) XXX_Size

func (m *QueryUserChainLinkRequest) XXX_Size() int

func (*QueryUserChainLinkRequest) XXX_Unmarshal

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

type QueryUserChainLinkResponse

type QueryUserChainLinkResponse struct {
	Link ChainLink `protobuf:"bytes,1,opt,name=link,proto3" json:"link"`
}

QueryUserChainLinkResponse contains the data that is returned when querying a specific chain link

func (*QueryUserChainLinkResponse) Descriptor

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

func (*QueryUserChainLinkResponse) Marshal

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

func (*QueryUserChainLinkResponse) MarshalTo

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

func (*QueryUserChainLinkResponse) MarshalToSizedBuffer

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

func (*QueryUserChainLinkResponse) ProtoMessage

func (*QueryUserChainLinkResponse) ProtoMessage()

func (*QueryUserChainLinkResponse) Reset

func (m *QueryUserChainLinkResponse) Reset()

func (*QueryUserChainLinkResponse) Size

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

func (*QueryUserChainLinkResponse) String

func (m *QueryUserChainLinkResponse) String() string

func (*QueryUserChainLinkResponse) Unmarshal

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

func (*QueryUserChainLinkResponse) XXX_DiscardUnknown

func (m *QueryUserChainLinkResponse) XXX_DiscardUnknown()

func (*QueryUserChainLinkResponse) XXX_Marshal

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

func (*QueryUserChainLinkResponse) XXX_Merge

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

func (*QueryUserChainLinkResponse) XXX_Size

func (m *QueryUserChainLinkResponse) XXX_Size() int

func (*QueryUserChainLinkResponse) XXX_Unmarshal

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

type Relationship

type Relationship struct {
	Creator   string `protobuf:"bytes,1,opt,name=creator,proto3" json:"creator,omitempty" yaml:"creator"`
	Recipient string `protobuf:"bytes,2,opt,name=recipient,proto3" json:"recipient,omitempty" yaml:"recipient"`
	Subspace  string `protobuf:"bytes,3,opt,name=subspace,proto3" json:"subspace,omitempty" yaml:"subspace"`
}

Relationship is the struct of a relationship. It represent the concept of "follow" of traditional social networks.

func MustUnmarshalRelationship

func MustUnmarshalRelationship(cdc codec.BinaryCodec, bz []byte) Relationship

MustUnmarshalRelationship deserializes the given byte array as a relationship using the provided BinaryCodec

func NewRelationship

func NewRelationship(creator string, recipient string, subspace string) Relationship

NewRelationship returns a new relationships with the given recipient and subspace

func (*Relationship) Descriptor

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

func (*Relationship) Equal

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

func (*Relationship) GetCreator

func (m *Relationship) GetCreator() string

func (*Relationship) GetRecipient

func (m *Relationship) GetRecipient() string

func (*Relationship) GetSubspace

func (m *Relationship) GetSubspace() string

func (*Relationship) Marshal

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

func (*Relationship) MarshalTo

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

func (*Relationship) MarshalToSizedBuffer

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

func (*Relationship) ProtoMessage

func (*Relationship) ProtoMessage()

func (*Relationship) Reset

func (m *Relationship) Reset()

func (*Relationship) Size

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

func (*Relationship) String

func (m *Relationship) String() string

func (*Relationship) Unmarshal

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

func (Relationship) Validate

func (r Relationship) Validate() error

Validate implement Validator

func (*Relationship) XXX_DiscardUnknown

func (m *Relationship) XXX_DiscardUnknown()

func (*Relationship) XXX_Marshal

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

func (*Relationship) XXX_Merge

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

func (*Relationship) XXX_Size

func (m *Relationship) XXX_Size() int

func (*Relationship) XXX_Unmarshal

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

type Result

type Result struct {
	// sum is the oneof that specifies whether this represents a success or
	// failure result
	//
	// Types that are valid to be assigned to Sum:
	//	*Result_Success_
	//	*Result_Failed_
	Sum isResult_Sum `protobuf_oneof:"sum"`
}

Result represents a verification result

func NewErrorResult

func NewErrorResult(error string) *Result

NewErrorResult allows to build a new Result instance representing an error

func NewSuccessResult

func NewSuccessResult(value, signature string) *Result

NewSuccessResult allows to build a new Result instance representing a success

func (*Result) Descriptor

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

func (*Result) Equal

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

func (*Result) GetFailed

func (m *Result) GetFailed() *Result_Failed

func (*Result) GetSuccess

func (m *Result) GetSuccess() *Result_Success

func (*Result) GetSum

func (m *Result) GetSum() isResult_Sum

func (*Result) Marshal

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

func (*Result) MarshalTo

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

func (*Result) MarshalToSizedBuffer

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

func (*Result) ProtoMessage

func (*Result) ProtoMessage()

func (*Result) Reset

func (m *Result) Reset()

func (*Result) Size

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

func (*Result) String

func (m *Result) String() string

func (*Result) Unmarshal

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

func (*Result) Validate

func (r *Result) Validate() error

Validate returns an error if the instance does not contain valid data

func (*Result) XXX_DiscardUnknown

func (m *Result) XXX_DiscardUnknown()

func (*Result) XXX_Marshal

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

func (*Result) XXX_Merge

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

func (*Result) XXX_OneofWrappers

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

XXX_OneofWrappers is for the internal use of the proto package.

func (*Result) XXX_Size

func (m *Result) XXX_Size() int

func (*Result) XXX_Unmarshal

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

type Result_Failed

type Result_Failed struct {
	// Error that is associated with the failure
	Error string `protobuf:"bytes,1,opt,name=error,proto3" json:"error,omitempty" yaml:"error"`
}

Failed is the result of an application link that has not been verified successfully

func (*Result_Failed) Descriptor

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

func (*Result_Failed) Equal

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

func (*Result_Failed) Marshal

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

func (*Result_Failed) MarshalTo

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

func (*Result_Failed) MarshalToSizedBuffer

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

func (*Result_Failed) ProtoMessage

func (*Result_Failed) ProtoMessage()

func (*Result_Failed) Reset

func (m *Result_Failed) Reset()

func (*Result_Failed) Size

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

func (*Result_Failed) String

func (m *Result_Failed) String() string

func (*Result_Failed) Unmarshal

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

func (*Result_Failed) XXX_DiscardUnknown

func (m *Result_Failed) XXX_DiscardUnknown()

func (*Result_Failed) XXX_Marshal

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

func (*Result_Failed) XXX_Merge

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

func (*Result_Failed) XXX_Size

func (m *Result_Failed) XXX_Size() int

func (*Result_Failed) XXX_Unmarshal

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

type Result_Failed_

type Result_Failed_ struct {
	Failed *Result_Failed `protobuf:"bytes,2,opt,name=failed,proto3,oneof" json:"failed,omitempty"`
}

func (*Result_Failed_) Equal

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

func (*Result_Failed_) MarshalTo

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

func (*Result_Failed_) MarshalToSizedBuffer

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

func (*Result_Failed_) Size

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

func (Result_Failed_) Validate

func (r Result_Failed_) Validate() error

Validate returns an error if the instance does not contain valid data

type Result_Success

type Result_Success struct {
	// Hex-encoded value that has be signed by the profile
	Value string `protobuf:"bytes,1,opt,name=value,proto3" json:"value,omitempty" yaml:"value"`
	// Hex-encoded signature that has been produced by signing the value
	Signature string `protobuf:"bytes,2,opt,name=signature,proto3" json:"signature,omitempty" yaml:"signature"`
}

Success is the result of an application link that has been successfully verified

func (*Result_Success) Descriptor

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

func (*Result_Success) Equal

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

func (*Result_Success) Marshal

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

func (*Result_Success) MarshalTo

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

func (*Result_Success) MarshalToSizedBuffer

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

func (*Result_Success) ProtoMessage

func (*Result_Success) ProtoMessage()

func (*Result_Success) Reset

func (m *Result_Success) Reset()

func (*Result_Success) Size

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

func (*Result_Success) String

func (m *Result_Success) String() string

func (*Result_Success) Unmarshal

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

func (*Result_Success) XXX_DiscardUnknown

func (m *Result_Success) XXX_DiscardUnknown()

func (*Result_Success) XXX_Marshal

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

func (*Result_Success) XXX_Merge

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

func (*Result_Success) XXX_Size

func (m *Result_Success) XXX_Size() int

func (*Result_Success) XXX_Unmarshal

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

type Result_Success_

type Result_Success_ struct {
	Success *Result_Success `protobuf:"bytes,1,opt,name=success,proto3,oneof" json:"success,omitempty"`
}

func (*Result_Success_) Equal

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

func (*Result_Success_) MarshalTo

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

func (*Result_Success_) MarshalToSizedBuffer

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

func (*Result_Success_) Size

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

func (Result_Success_) Validate

func (r Result_Success_) Validate() error

Validate returns an error if the instance does not contain valid data

type ScopedKeeper

type ScopedKeeper interface {
	AuthenticateCapability(ctx sdk.Context, cap *capabilitytypes.Capability, name string) bool
	ClaimCapability(ctx sdk.Context, cap *capabilitytypes.Capability, name string) error
	GetCapability(ctx sdk.Context, name string) (*capabilitytypes.Capability, bool)
}

ScopedKeeper defines the expected scoped keeper

type UnimplementedMsgServer

type UnimplementedMsgServer struct {
}

UnimplementedMsgServer can be embedded to have forward compatible implementations.

func (*UnimplementedMsgServer) AcceptDTagTransferRequest

func (*UnimplementedMsgServer) BlockUser

func (*UnimplementedMsgServer) CancelDTagTransferRequest

func (*UnimplementedMsgServer) CreateRelationship

func (*UnimplementedMsgServer) DeleteProfile

func (*UnimplementedMsgServer) DeleteRelationship

func (*UnimplementedMsgServer) LinkApplication

func (*UnimplementedMsgServer) LinkChainAccount

func (*UnimplementedMsgServer) RefuseDTagTransferRequest

func (*UnimplementedMsgServer) RequestDTagTransfer

func (*UnimplementedMsgServer) SaveProfile

func (*UnimplementedMsgServer) UnblockUser

func (*UnimplementedMsgServer) UnlinkApplication

func (*UnimplementedMsgServer) UnlinkChainAccount

type UnimplementedQueryServer

type UnimplementedQueryServer struct {
}

UnimplementedQueryServer can be embedded to have forward compatible implementations.

func (*UnimplementedQueryServer) Blocks

func (*UnimplementedQueryServer) Params

func (*UnimplementedQueryServer) Profile

func (*UnimplementedQueryServer) Relationships

type UserBlock

type UserBlock struct {
	// Blocker represents the address of the user blocking another one
	Blocker string `protobuf:"bytes,1,opt,name=blocker,proto3" json:"blocker,omitempty" yaml:"blocker"`
	// Blocked represents the address of the blocked user
	Blocked string `protobuf:"bytes,2,opt,name=blocked,proto3" json:"blocked,omitempty" yaml:"blocked"`
	// Reason represents the optional reason the user has been blocked for.
	Reason string `protobuf:"bytes,3,opt,name=reason,proto3" json:"reason,omitempty" yaml:"reason"`
	// Subspace contains the ID of the subspace inside which the user should be
	// blocked
	Subspace string `protobuf:"bytes,4,opt,name=subspace,proto3" json:"subspace,omitempty" yaml:"subspace"`
}

UserBlock represents the fact that the Blocker has blocked the given Blocked user.

func MustUnmarshalUserBlock

func MustUnmarshalUserBlock(cdc codec.BinaryCodec, bz []byte) UserBlock

MustUnmarshalUserBlock deserializes the given byte array as a UserBlock using the provided BinaryCodec

func NewUserBlock

func NewUserBlock(blocker, blocked string, reason, subspace string) UserBlock

NewUserBlock returns a new object representing the fact that one user has blocked another one for a specific reason on the given subspace.

func (*UserBlock) Descriptor

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

func (*UserBlock) Equal

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

func (*UserBlock) GetBlocked

func (m *UserBlock) GetBlocked() string

func (*UserBlock) GetBlocker

func (m *UserBlock) GetBlocker() string

func (*UserBlock) GetReason

func (m *UserBlock) GetReason() string

func (*UserBlock) GetSubspace

func (m *UserBlock) GetSubspace() string

func (*UserBlock) Marshal

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

func (*UserBlock) MarshalTo

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

func (*UserBlock) MarshalToSizedBuffer

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

func (*UserBlock) ProtoMessage

func (*UserBlock) ProtoMessage()

func (*UserBlock) Reset

func (m *UserBlock) Reset()

func (*UserBlock) Size

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

func (*UserBlock) String

func (m *UserBlock) String() string

func (*UserBlock) Unmarshal

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

func (UserBlock) Validate

func (ub UserBlock) Validate() error

Validate implements validator

func (*UserBlock) XXX_DiscardUnknown

func (m *UserBlock) XXX_DiscardUnknown()

func (*UserBlock) XXX_Marshal

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

func (*UserBlock) XXX_Merge

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

func (*UserBlock) XXX_Size

func (m *UserBlock) XXX_Size() int

func (*UserBlock) XXX_Unmarshal

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

Jump to

Keyboard shortcuts

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