types

package
v0.17.5 Latest Latest
Warning

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

Go to latest
Published: Jul 27, 2021 License: Apache-2.0 Imports: 48 Imported by: 4

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

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

func BlockerPrefix(blocker string) []byte

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

func BlockerSubspacePrefix added in v0.17.0

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

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

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

func DTagStoreKey added in v0.16.0

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

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

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.BinaryMarshaler, link ApplicationLink) []byte

MustMarshalApplicationLink serializes the given application link using the provided BinaryMarshaler

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

MustMarshalChainLink serializes the given chain link using the provided BinaryMarshaler

func MustMarshalRelationship added in v0.17.0

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

MustMarshalRelationship serializes the given relationship using the provided BinaryMarshaler

func ParamKeyTable

func ParamKeyTable() paramstypes.KeyTable

ParamKeyTable Key declaration for parameters

func RegisterInterfaces added in v0.15.0

func RegisterInterfaces(registry types.InterfaceRegistry)

func RegisterLegacyAminoCodec added in v0.15.0

func RegisterLegacyAminoCodec(cdc *codec.LegacyAmino)

func RegisterMsgServer added in v0.15.0

func RegisterMsgServer(s grpc1.Server, srv MsgServer)

func RegisterQueryHandler added in v0.15.0

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

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

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

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

func RegisterQueryServer(s grpc1.Server, srv QueryServer)

func RelationshipsStoreKey added in v0.16.0

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

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

func UserApplicationLinkKey added in v0.17.0

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

func UserApplicationLinksPrefix(user string) []byte

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

func UserBlockStoreKey added in v0.17.0

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

func UserChainLinksPrefix(user string) []byte

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

func UserRelationshipsPrefix added in v0.17.0

func UserRelationshipsPrefix(user string) []byte

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

func UserRelationshipsSubspacePrefix added in v0.17.0

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

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

func ValidateNicknameParams(i interface{}) error

func ValidateOracleParams added in v0.17.1

func ValidateOracleParams(i interface{}) error

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

Types

type AddressData added in v0.17.0

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

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.BinaryMarshaler, bz []byte) ApplicationLink

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

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

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

func (*ApplicationLink) Equal added in v0.17.0

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

func (*ApplicationLink) IsVerificationOngoing added in v0.17.0

func (l *ApplicationLink) IsVerificationOngoing() bool

IsVerificationOngoing tells whether the verification for the link is still ongoing

func (*ApplicationLink) Marshal added in v0.17.0

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

func (*ApplicationLink) MarshalTo added in v0.17.0

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

func (*ApplicationLink) MarshalToSizedBuffer added in v0.17.0

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

func (*ApplicationLink) ProtoMessage added in v0.17.0

func (*ApplicationLink) ProtoMessage()

func (*ApplicationLink) Reset added in v0.17.0

func (m *ApplicationLink) Reset()

func (*ApplicationLink) Size added in v0.17.0

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

func (*ApplicationLink) String added in v0.17.0

func (m *ApplicationLink) String() string

func (*ApplicationLink) Unmarshal added in v0.17.0

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

func (ApplicationLink) Validate added in v0.17.0

func (l ApplicationLink) Validate() error

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

func (*ApplicationLink) XXX_DiscardUnknown added in v0.17.0

func (m *ApplicationLink) XXX_DiscardUnknown()

func (*ApplicationLink) XXX_Marshal added in v0.17.0

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

func (*ApplicationLink) XXX_Merge added in v0.17.0

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

func (*ApplicationLink) XXX_Size added in v0.17.0

func (m *ApplicationLink) XXX_Size() int

func (*ApplicationLink) XXX_Unmarshal added in v0.17.0

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

type ApplicationLinkState added in v0.17.0

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

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

func (ApplicationLinkState) String added in v0.17.0

func (x ApplicationLinkState) String() string

type Base58Address added in v0.17.0

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

func NewBase58Address(value string) *Base58Address

NewBase58Address returns a new Base58Address instance

func (*Base58Address) Descriptor added in v0.17.0

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

func (*Base58Address) Equal added in v0.17.0

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

func (Base58Address) GetValue added in v0.17.0

func (b Base58Address) GetValue() string

GetValue implements AddressData

func (*Base58Address) Marshal added in v0.17.0

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

func (*Base58Address) MarshalTo added in v0.17.0

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

func (*Base58Address) MarshalToSizedBuffer added in v0.17.0

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

func (*Base58Address) ProtoMessage added in v0.17.0

func (*Base58Address) ProtoMessage()

func (*Base58Address) Reset added in v0.17.0

func (m *Base58Address) Reset()

func (*Base58Address) Size added in v0.17.0

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

func (*Base58Address) String added in v0.17.0

func (m *Base58Address) String() string

func (*Base58Address) Unmarshal added in v0.17.0

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

func (Base58Address) Validate added in v0.17.0

func (b Base58Address) Validate() error

Validate implements AddressData

func (Base58Address) VerifyPubKey added in v0.17.0

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

VerifyPubKey implements AddressData

func (*Base58Address) XXX_DiscardUnknown added in v0.17.0

func (m *Base58Address) XXX_DiscardUnknown()

func (*Base58Address) XXX_Marshal added in v0.17.0

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

func (*Base58Address) XXX_Merge added in v0.17.0

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

func (*Base58Address) XXX_Size added in v0.17.0

func (m *Base58Address) XXX_Size() int

func (*Base58Address) XXX_Unmarshal added in v0.17.0

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

type Bech32Address added in v0.17.0

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

func NewBech32Address(value, prefix string) *Bech32Address

NewBech32Address returns a new Bech32Address instance

func (*Bech32Address) Descriptor added in v0.17.0

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

func (*Bech32Address) Equal added in v0.17.0

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

func (Bech32Address) GetValue added in v0.17.0

func (b Bech32Address) GetValue() string

GetValue implements AddressData

func (*Bech32Address) Marshal added in v0.17.0

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

func (*Bech32Address) MarshalTo added in v0.17.0

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

func (*Bech32Address) MarshalToSizedBuffer added in v0.17.0

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

func (*Bech32Address) ProtoMessage added in v0.17.0

func (*Bech32Address) ProtoMessage()

func (*Bech32Address) Reset added in v0.17.0

func (m *Bech32Address) Reset()

func (*Bech32Address) Size added in v0.17.0

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

func (*Bech32Address) String added in v0.17.0

func (m *Bech32Address) String() string

func (*Bech32Address) Unmarshal added in v0.17.0

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

func (Bech32Address) Validate added in v0.17.0

func (b Bech32Address) Validate() error

Validate implements AddressData

func (Bech32Address) VerifyPubKey added in v0.17.0

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

VerifyPubKey implements AddressData

func (*Bech32Address) XXX_DiscardUnknown added in v0.17.0

func (m *Bech32Address) XXX_DiscardUnknown()

func (*Bech32Address) XXX_Marshal added in v0.17.0

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

func (*Bech32Address) XXX_Merge added in v0.17.0

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

func (*Bech32Address) XXX_Size added in v0.17.0

func (m *Bech32Address) XXX_Size() int

func (*Bech32Address) XXX_Unmarshal added in v0.17.0

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

type BioParams added in v0.17.1

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

func DefaultBioParams() BioParams

DefaultBioParams returns default params module

func NewBioParams added in v0.17.1

func NewBioParams(maxLength sdk.Int) BioParams

NewBioParams creates a new BioParams obj

func (*BioParams) Descriptor added in v0.17.1

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

func (*BioParams) Marshal added in v0.17.1

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

func (*BioParams) MarshalTo added in v0.17.1

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

func (*BioParams) MarshalToSizedBuffer added in v0.17.1

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

func (*BioParams) ProtoMessage added in v0.17.1

func (*BioParams) ProtoMessage()

func (*BioParams) Reset added in v0.17.1

func (m *BioParams) Reset()

func (*BioParams) Size added in v0.17.1

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

func (*BioParams) String added in v0.17.1

func (m *BioParams) String() string

func (*BioParams) Unmarshal added in v0.17.1

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

func (*BioParams) XXX_DiscardUnknown added in v0.17.1

func (m *BioParams) XXX_DiscardUnknown()

func (*BioParams) XXX_Marshal added in v0.17.1

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

func (*BioParams) XXX_Merge added in v0.17.1

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

func (*BioParams) XXX_Size added in v0.17.1

func (m *BioParams) XXX_Size() int

func (*BioParams) XXX_Unmarshal added in v0.17.1

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

type ChainConfig added in v0.17.0

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

func NewChainConfig(name string) ChainConfig

NewChainConfig allows to build a new ChainConfig instance

func (*ChainConfig) Descriptor added in v0.17.0

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

func (*ChainConfig) Equal added in v0.17.0

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

func (*ChainConfig) Marshal added in v0.17.0

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

func (*ChainConfig) MarshalTo added in v0.17.0

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

func (*ChainConfig) MarshalToSizedBuffer added in v0.17.0

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

func (*ChainConfig) ProtoMessage added in v0.17.0

func (*ChainConfig) ProtoMessage()

func (*ChainConfig) Reset added in v0.17.0

func (m *ChainConfig) Reset()

func (*ChainConfig) Size added in v0.17.0

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

func (*ChainConfig) String added in v0.17.0

func (m *ChainConfig) String() string

func (*ChainConfig) Unmarshal added in v0.17.0

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

func (ChainConfig) Validate added in v0.17.0

func (c ChainConfig) Validate() error

Validate checks the validity of the ChainConfig

func (*ChainConfig) XXX_DiscardUnknown added in v0.17.0

func (m *ChainConfig) XXX_DiscardUnknown()

func (*ChainConfig) XXX_Marshal added in v0.17.0

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

func (*ChainConfig) XXX_Merge added in v0.17.0

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

func (*ChainConfig) XXX_Size added in v0.17.0

func (m *ChainConfig) XXX_Size() int

func (*ChainConfig) XXX_Unmarshal added in v0.17.0

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.BinaryMarshaler, bz []byte) ChainLink

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

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

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

func (*ChainLink) Equal added in v0.17.0

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

func (ChainLink) GetAddressData added in v0.17.0

func (link ChainLink) GetAddressData() AddressData

GetAddressData returns the AddressData associated with this chain link

func (*ChainLink) Marshal added in v0.17.0

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

func (*ChainLink) MarshalTo added in v0.17.0

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

func (*ChainLink) MarshalToSizedBuffer added in v0.17.0

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

func (*ChainLink) ProtoMessage added in v0.17.0

func (*ChainLink) ProtoMessage()

func (*ChainLink) Reset added in v0.17.0

func (m *ChainLink) Reset()

func (*ChainLink) Size added in v0.17.0

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

func (*ChainLink) String added in v0.17.0

func (m *ChainLink) String() string

func (*ChainLink) Unmarshal added in v0.17.0

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

func (*ChainLink) UnpackInterfaces added in v0.17.0

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

UnpackInterfaces implements codectypes.UnpackInterfacesMessage

func (ChainLink) Validate added in v0.17.0

func (link ChainLink) Validate() error

Validate checks the validity of the ChainLink

func (*ChainLink) XXX_DiscardUnknown added in v0.17.0

func (m *ChainLink) XXX_DiscardUnknown()

func (*ChainLink) XXX_Marshal added in v0.17.0

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

func (*ChainLink) XXX_Merge added in v0.17.0

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

func (*ChainLink) XXX_Size added in v0.17.0

func (m *ChainLink) XXX_Size() int

func (*ChainLink) XXX_Unmarshal added in v0.17.0

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

type ChannelKeeper added in v0.17.0

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

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

ClientKeeper defines the expected IBC client keeper

type ConnectionKeeper added in v0.17.0

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

ConnectionKeeper defines the expected IBC connection keeper

type DTagParams added in v0.15.0

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

func DefaultDTagParams() DTagParams

DefaultDTagParams return default paramsModule

func NewDTagParams added in v0.16.0

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

NewDTagParams creates a new DTagParams obj

func (*DTagParams) Descriptor added in v0.15.0

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

func (*DTagParams) Marshal added in v0.15.0

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

func (*DTagParams) MarshalTo added in v0.15.0

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

func (*DTagParams) MarshalToSizedBuffer added in v0.15.0

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

func (*DTagParams) ProtoMessage added in v0.15.0

func (*DTagParams) ProtoMessage()

func (*DTagParams) Reset added in v0.15.0

func (m *DTagParams) Reset()

func (*DTagParams) Size added in v0.15.0

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

func (*DTagParams) String added in v0.15.0

func (m *DTagParams) String() string

func (*DTagParams) Unmarshal added in v0.15.0

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

func (*DTagParams) XXX_DiscardUnknown added in v0.15.0

func (m *DTagParams) XXX_DiscardUnknown()

func (*DTagParams) XXX_Marshal added in v0.15.0

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

func (*DTagParams) XXX_Merge added in v0.15.0

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

func (*DTagParams) XXX_Size added in v0.15.0

func (m *DTagParams) XXX_Size() int

func (*DTagParams) XXX_Unmarshal added in v0.15.0

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

type DTagTransferRequest added in v0.12.0

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

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

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

func NewDTagTransferRequest added in v0.12.0

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

func (*DTagTransferRequest) Descriptor added in v0.15.0

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

func (*DTagTransferRequest) Equal added in v0.15.0

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

func (*DTagTransferRequest) Marshal added in v0.15.0

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

func (*DTagTransferRequest) MarshalTo added in v0.15.0

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

func (*DTagTransferRequest) MarshalToSizedBuffer added in v0.15.0

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

func (*DTagTransferRequest) ProtoMessage added in v0.15.0

func (*DTagTransferRequest) ProtoMessage()

func (*DTagTransferRequest) Reset added in v0.15.0

func (m *DTagTransferRequest) Reset()

func (*DTagTransferRequest) Size added in v0.15.0

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

func (*DTagTransferRequest) String added in v0.15.0

func (m *DTagTransferRequest) String() string

func (*DTagTransferRequest) Unmarshal added in v0.15.0

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

func (DTagTransferRequest) Validate added in v0.15.0

func (request DTagTransferRequest) Validate() error

Validate checks the request validity

func (*DTagTransferRequest) XXX_DiscardUnknown added in v0.15.0

func (m *DTagTransferRequest) XXX_DiscardUnknown()

func (*DTagTransferRequest) XXX_Marshal added in v0.15.0

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

func (*DTagTransferRequest) XXX_Merge added in v0.15.0

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

func (*DTagTransferRequest) XXX_Size added in v0.15.0

func (m *DTagTransferRequest) XXX_Size() int

func (*DTagTransferRequest) XXX_Unmarshal added in v0.15.0

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

type Data added in v0.17.0

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

func NewData(application, username string) Data

NewData allows to build a new Data instance

func (*Data) Descriptor added in v0.17.0

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

func (*Data) Equal added in v0.17.0

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

func (*Data) Marshal added in v0.17.0

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

func (*Data) MarshalTo added in v0.17.0

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

func (*Data) MarshalToSizedBuffer added in v0.17.0

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

func (*Data) ProtoMessage added in v0.17.0

func (*Data) ProtoMessage()

func (*Data) Reset added in v0.17.0

func (m *Data) Reset()

func (*Data) Size added in v0.17.0

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

func (*Data) String added in v0.17.0

func (m *Data) String() string

func (*Data) Unmarshal added in v0.17.0

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

func (Data) Validate added in v0.17.0

func (d Data) Validate() error

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

func (*Data) XXX_DiscardUnknown added in v0.17.0

func (m *Data) XXX_DiscardUnknown()

func (*Data) XXX_Marshal added in v0.17.0

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

func (*Data) XXX_Merge added in v0.17.0

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

func (*Data) XXX_Size added in v0.17.0

func (m *Data) XXX_Size() int

func (*Data) XXX_Unmarshal added in v0.17.0

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

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

func (*GenesisState) Marshal added in v0.15.0

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

func (*GenesisState) MarshalTo added in v0.15.0

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

func (*GenesisState) MarshalToSizedBuffer added in v0.15.0

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

func (*GenesisState) ProtoMessage added in v0.15.0

func (*GenesisState) ProtoMessage()

func (*GenesisState) Reset added in v0.15.0

func (m *GenesisState) Reset()

func (*GenesisState) Size added in v0.15.0

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

func (*GenesisState) String added in v0.15.0

func (m *GenesisState) String() string

func (*GenesisState) Unmarshal added in v0.15.0

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

func (*GenesisState) XXX_DiscardUnknown added in v0.15.0

func (m *GenesisState) XXX_DiscardUnknown()

func (*GenesisState) XXX_Marshal added in v0.15.0

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

func (*GenesisState) XXX_Merge added in v0.15.0

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

func (*GenesisState) XXX_Size added in v0.15.0

func (m *GenesisState) XXX_Size() int

func (*GenesisState) XXX_Unmarshal added in v0.15.0

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

type LinkChainAccountPacketAck added in v0.17.0

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

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

func (*LinkChainAccountPacketAck) Marshal added in v0.17.0

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

func (*LinkChainAccountPacketAck) MarshalTo added in v0.17.0

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

func (*LinkChainAccountPacketAck) MarshalToSizedBuffer added in v0.17.0

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

func (*LinkChainAccountPacketAck) ProtoMessage added in v0.17.0

func (*LinkChainAccountPacketAck) ProtoMessage()

func (*LinkChainAccountPacketAck) Reset added in v0.17.0

func (m *LinkChainAccountPacketAck) Reset()

func (*LinkChainAccountPacketAck) Size added in v0.17.0

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

func (*LinkChainAccountPacketAck) String added in v0.17.0

func (m *LinkChainAccountPacketAck) String() string

func (*LinkChainAccountPacketAck) Unmarshal added in v0.17.0

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

func (*LinkChainAccountPacketAck) XXX_DiscardUnknown added in v0.17.0

func (m *LinkChainAccountPacketAck) XXX_DiscardUnknown()

func (*LinkChainAccountPacketAck) XXX_Marshal added in v0.17.0

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

func (*LinkChainAccountPacketAck) XXX_Merge added in v0.17.0

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

func (*LinkChainAccountPacketAck) XXX_Size added in v0.17.0

func (m *LinkChainAccountPacketAck) XXX_Size() int

func (*LinkChainAccountPacketAck) XXX_Unmarshal added in v0.17.0

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

type LinkChainAccountPacketData added in v0.17.0

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

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

NewLinkChainAccountPacketData returns a new LinkChainAccountPacketData instance

func (*LinkChainAccountPacketData) Descriptor added in v0.17.0

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

func (LinkChainAccountPacketData) GetBytes added in v0.17.0

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

GetBytes is a helper for serialising

func (*LinkChainAccountPacketData) Marshal added in v0.17.0

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

func (*LinkChainAccountPacketData) MarshalTo added in v0.17.0

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

func (*LinkChainAccountPacketData) MarshalToSizedBuffer added in v0.17.0

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

func (*LinkChainAccountPacketData) ProtoMessage added in v0.17.0

func (*LinkChainAccountPacketData) ProtoMessage()

func (*LinkChainAccountPacketData) Reset added in v0.17.0

func (m *LinkChainAccountPacketData) Reset()

func (*LinkChainAccountPacketData) Size added in v0.17.0

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

func (*LinkChainAccountPacketData) String added in v0.17.0

func (m *LinkChainAccountPacketData) String() string

func (*LinkChainAccountPacketData) Unmarshal added in v0.17.0

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

func (LinkChainAccountPacketData) Validate added in v0.17.0

func (p LinkChainAccountPacketData) Validate() error

Validate validates the LinkChainAccountPacketData

func (*LinkChainAccountPacketData) XXX_DiscardUnknown added in v0.17.0

func (m *LinkChainAccountPacketData) XXX_DiscardUnknown()

func (*LinkChainAccountPacketData) XXX_Marshal added in v0.17.0

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

func (*LinkChainAccountPacketData) XXX_Merge added in v0.17.0

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

func (*LinkChainAccountPacketData) XXX_Size added in v0.17.0

func (m *LinkChainAccountPacketData) XXX_Size() int

func (*LinkChainAccountPacketData) XXX_Unmarshal added in v0.17.0

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

type MsgAcceptDTagTransferRequest added in v0.13.0

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" 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 added in v0.17.0

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

NewMsgAcceptDTagTransferRequest is a constructor for MsgAcceptDTagTransferRequest

func (*MsgAcceptDTagTransferRequest) Descriptor added in v0.17.0

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

func (MsgAcceptDTagTransferRequest) GetSignBytes added in v0.17.0

func (msg MsgAcceptDTagTransferRequest) GetSignBytes() []byte

GetSignBytes encodes the message for signing

func (MsgAcceptDTagTransferRequest) GetSigners added in v0.17.0

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

GetSigners defines whose signature is required

func (*MsgAcceptDTagTransferRequest) Marshal added in v0.17.0

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

func (*MsgAcceptDTagTransferRequest) MarshalTo added in v0.17.0

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

func (*MsgAcceptDTagTransferRequest) MarshalToSizedBuffer added in v0.17.0

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

func (*MsgAcceptDTagTransferRequest) ProtoMessage added in v0.17.0

func (*MsgAcceptDTagTransferRequest) ProtoMessage()

func (*MsgAcceptDTagTransferRequest) Reset added in v0.17.0

func (m *MsgAcceptDTagTransferRequest) Reset()

func (MsgAcceptDTagTransferRequest) Route added in v0.17.0

Route should return the name of the module

func (*MsgAcceptDTagTransferRequest) Size added in v0.17.0

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

func (*MsgAcceptDTagTransferRequest) String added in v0.17.0

func (MsgAcceptDTagTransferRequest) Type added in v0.17.0

Type should return the action

func (*MsgAcceptDTagTransferRequest) Unmarshal added in v0.17.0

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

func (MsgAcceptDTagTransferRequest) ValidateBasic added in v0.17.0

func (msg MsgAcceptDTagTransferRequest) ValidateBasic() error

func (*MsgAcceptDTagTransferRequest) XXX_DiscardUnknown added in v0.17.0

func (m *MsgAcceptDTagTransferRequest) XXX_DiscardUnknown()

func (*MsgAcceptDTagTransferRequest) XXX_Marshal added in v0.17.0

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

func (*MsgAcceptDTagTransferRequest) XXX_Merge added in v0.17.0

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

func (*MsgAcceptDTagTransferRequest) XXX_Size added in v0.17.0

func (m *MsgAcceptDTagTransferRequest) XXX_Size() int

func (*MsgAcceptDTagTransferRequest) XXX_Unmarshal added in v0.17.0

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

type MsgAcceptDTagTransferRequestResponse added in v0.17.0

type MsgAcceptDTagTransferRequestResponse struct {
}

MsgAcceptDTagTransferRequestResponse defines the Msg/AcceptDTagTransferRequest response.

func (*MsgAcceptDTagTransferRequestResponse) Descriptor added in v0.17.0

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

func (*MsgAcceptDTagTransferRequestResponse) Marshal added in v0.17.0

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

func (*MsgAcceptDTagTransferRequestResponse) MarshalTo added in v0.17.0

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

func (*MsgAcceptDTagTransferRequestResponse) MarshalToSizedBuffer added in v0.17.0

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

func (*MsgAcceptDTagTransferRequestResponse) ProtoMessage added in v0.17.0

func (*MsgAcceptDTagTransferRequestResponse) ProtoMessage()

func (*MsgAcceptDTagTransferRequestResponse) Reset added in v0.17.0

func (*MsgAcceptDTagTransferRequestResponse) Size added in v0.17.0

func (*MsgAcceptDTagTransferRequestResponse) String added in v0.17.0

func (*MsgAcceptDTagTransferRequestResponse) Unmarshal added in v0.17.0

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

func (*MsgAcceptDTagTransferRequestResponse) XXX_DiscardUnknown added in v0.17.0

func (m *MsgAcceptDTagTransferRequestResponse) XXX_DiscardUnknown()

func (*MsgAcceptDTagTransferRequestResponse) XXX_Marshal added in v0.17.0

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

func (*MsgAcceptDTagTransferRequestResponse) XXX_Merge added in v0.17.0

func (*MsgAcceptDTagTransferRequestResponse) XXX_Size added in v0.17.0

func (*MsgAcceptDTagTransferRequestResponse) XXX_Unmarshal added in v0.17.0

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

type MsgBlockUser added in v0.16.0

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

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

func (*MsgBlockUser) Descriptor added in v0.16.0

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

func (*MsgBlockUser) GetBlocked added in v0.16.0

func (m *MsgBlockUser) GetBlocked() string

func (*MsgBlockUser) GetBlocker added in v0.16.0

func (m *MsgBlockUser) GetBlocker() string

func (*MsgBlockUser) GetReason added in v0.16.0

func (m *MsgBlockUser) GetReason() string

func (MsgBlockUser) GetSignBytes added in v0.16.0

func (msg MsgBlockUser) GetSignBytes() []byte

GetSignBytes encodes the message for signing

func (MsgBlockUser) GetSigners added in v0.16.0

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

GetSigners defines whose signature is required

func (*MsgBlockUser) GetSubspace added in v0.16.0

func (m *MsgBlockUser) GetSubspace() string

func (*MsgBlockUser) Marshal added in v0.16.0

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

func (*MsgBlockUser) MarshalTo added in v0.16.0

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

func (*MsgBlockUser) MarshalToSizedBuffer added in v0.16.0

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

func (*MsgBlockUser) ProtoMessage added in v0.16.0

func (*MsgBlockUser) ProtoMessage()

func (*MsgBlockUser) Reset added in v0.16.0

func (m *MsgBlockUser) Reset()

func (MsgBlockUser) Route added in v0.16.0

func (msg MsgBlockUser) Route() string

Route should return the name of the module

func (*MsgBlockUser) Size added in v0.16.0

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

func (*MsgBlockUser) String added in v0.16.0

func (m *MsgBlockUser) String() string

func (MsgBlockUser) Type added in v0.16.0

func (msg MsgBlockUser) Type() string

Type should return the action

func (*MsgBlockUser) Unmarshal added in v0.16.0

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

func (MsgBlockUser) ValidateBasic added in v0.16.0

func (msg MsgBlockUser) ValidateBasic() error

ValidateBasic runs stateless checks on the message

func (*MsgBlockUser) XXX_DiscardUnknown added in v0.16.0

func (m *MsgBlockUser) XXX_DiscardUnknown()

func (*MsgBlockUser) XXX_Marshal added in v0.16.0

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

func (*MsgBlockUser) XXX_Merge added in v0.16.0

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

func (*MsgBlockUser) XXX_Size added in v0.16.0

func (m *MsgBlockUser) XXX_Size() int

func (*MsgBlockUser) XXX_Unmarshal added in v0.16.0

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

type MsgBlockUserResponse added in v0.17.2

type MsgBlockUserResponse struct {
}

MsgBlockUserResponse defines the Msg/BlockUser response type.

func (*MsgBlockUserResponse) Descriptor added in v0.17.2

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

func (*MsgBlockUserResponse) Marshal added in v0.17.2

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

func (*MsgBlockUserResponse) MarshalTo added in v0.17.2

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

func (*MsgBlockUserResponse) MarshalToSizedBuffer added in v0.17.2

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

func (*MsgBlockUserResponse) ProtoMessage added in v0.17.2

func (*MsgBlockUserResponse) ProtoMessage()

func (*MsgBlockUserResponse) Reset added in v0.17.2

func (m *MsgBlockUserResponse) Reset()

func (*MsgBlockUserResponse) Size added in v0.17.2

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

func (*MsgBlockUserResponse) String added in v0.17.2

func (m *MsgBlockUserResponse) String() string

func (*MsgBlockUserResponse) Unmarshal added in v0.17.2

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

func (*MsgBlockUserResponse) XXX_DiscardUnknown added in v0.17.2

func (m *MsgBlockUserResponse) XXX_DiscardUnknown()

func (*MsgBlockUserResponse) XXX_Marshal added in v0.17.2

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

func (*MsgBlockUserResponse) XXX_Merge added in v0.17.2

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

func (*MsgBlockUserResponse) XXX_Size added in v0.17.2

func (m *MsgBlockUserResponse) XXX_Size() int

func (*MsgBlockUserResponse) XXX_Unmarshal added in v0.17.2

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

type MsgCancelDTagTransferRequest added in v0.13.0

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

func NewMsgCancelDTagTransferRequest(sender, receiver string) *MsgCancelDTagTransferRequest

NewMsgCancelDTagTransferRequest is a constructor for MsgCancelDTagTransferRequest

func (*MsgCancelDTagTransferRequest) Descriptor added in v0.17.0

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

func (MsgCancelDTagTransferRequest) GetSignBytes added in v0.17.0

func (msg MsgCancelDTagTransferRequest) GetSignBytes() []byte

GetSignBytes encodes the message for signing

func (MsgCancelDTagTransferRequest) GetSigners added in v0.17.0

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

GetSigners defines whose signature is required

func (*MsgCancelDTagTransferRequest) Marshal added in v0.17.0

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

func (*MsgCancelDTagTransferRequest) MarshalTo added in v0.17.0

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

func (*MsgCancelDTagTransferRequest) MarshalToSizedBuffer added in v0.17.0

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

func (*MsgCancelDTagTransferRequest) ProtoMessage added in v0.17.0

func (*MsgCancelDTagTransferRequest) ProtoMessage()

func (*MsgCancelDTagTransferRequest) Reset added in v0.17.0

func (m *MsgCancelDTagTransferRequest) Reset()

func (MsgCancelDTagTransferRequest) Route added in v0.17.0

Route should return the name of the module

func (*MsgCancelDTagTransferRequest) Size added in v0.17.0

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

func (*MsgCancelDTagTransferRequest) String added in v0.17.0

func (MsgCancelDTagTransferRequest) Type added in v0.17.0

Type should return the action

func (*MsgCancelDTagTransferRequest) Unmarshal added in v0.17.0

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

func (MsgCancelDTagTransferRequest) ValidateBasic added in v0.17.0

func (msg MsgCancelDTagTransferRequest) ValidateBasic() error

func (*MsgCancelDTagTransferRequest) XXX_DiscardUnknown added in v0.17.0

func (m *MsgCancelDTagTransferRequest) XXX_DiscardUnknown()

func (*MsgCancelDTagTransferRequest) XXX_Marshal added in v0.17.0

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

func (*MsgCancelDTagTransferRequest) XXX_Merge added in v0.17.0

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

func (*MsgCancelDTagTransferRequest) XXX_Size added in v0.17.0

func (m *MsgCancelDTagTransferRequest) XXX_Size() int

func (*MsgCancelDTagTransferRequest) XXX_Unmarshal added in v0.17.0

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

type MsgCancelDTagTransferRequestResponse added in v0.17.0

type MsgCancelDTagTransferRequestResponse struct {
}

MsgCancelDTagTransferRequestResponse represents the Msg/CancelDTagTransferRequest response type.

func (*MsgCancelDTagTransferRequestResponse) Descriptor added in v0.17.0

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

func (*MsgCancelDTagTransferRequestResponse) Marshal added in v0.17.0

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

func (*MsgCancelDTagTransferRequestResponse) MarshalTo added in v0.17.0

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

func (*MsgCancelDTagTransferRequestResponse) MarshalToSizedBuffer added in v0.17.0

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

func (*MsgCancelDTagTransferRequestResponse) ProtoMessage added in v0.17.0

func (*MsgCancelDTagTransferRequestResponse) ProtoMessage()

func (*MsgCancelDTagTransferRequestResponse) Reset added in v0.17.0

func (*MsgCancelDTagTransferRequestResponse) Size added in v0.17.0

func (*MsgCancelDTagTransferRequestResponse) String added in v0.17.0

func (*MsgCancelDTagTransferRequestResponse) Unmarshal added in v0.17.0

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

func (*MsgCancelDTagTransferRequestResponse) XXX_DiscardUnknown added in v0.17.0

func (m *MsgCancelDTagTransferRequestResponse) XXX_DiscardUnknown()

func (*MsgCancelDTagTransferRequestResponse) XXX_Marshal added in v0.17.0

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

func (*MsgCancelDTagTransferRequestResponse) XXX_Merge added in v0.17.0

func (*MsgCancelDTagTransferRequestResponse) XXX_Size added in v0.17.0

func (*MsgCancelDTagTransferRequestResponse) XXX_Unmarshal added in v0.17.0

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

type MsgClient added in v0.15.0

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

func NewMsgClient(cc grpc1.ClientConn) MsgClient

type MsgCreateRelationship added in v0.16.0

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

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

func (*MsgCreateRelationship) Descriptor added in v0.16.0

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

func (MsgCreateRelationship) GetSignBytes added in v0.16.0

func (msg MsgCreateRelationship) GetSignBytes() []byte

GetSignBytes encodes the message for signing

func (MsgCreateRelationship) GetSigners added in v0.16.0

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

GetSigners defines whose signature is required

func (*MsgCreateRelationship) Marshal added in v0.16.0

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

func (*MsgCreateRelationship) MarshalTo added in v0.16.0

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

func (*MsgCreateRelationship) MarshalToSizedBuffer added in v0.16.0

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

func (*MsgCreateRelationship) ProtoMessage added in v0.16.0

func (*MsgCreateRelationship) ProtoMessage()

func (*MsgCreateRelationship) Reset added in v0.16.0

func (m *MsgCreateRelationship) Reset()

func (MsgCreateRelationship) Route added in v0.16.0

func (msg MsgCreateRelationship) Route() string

Route should return the name of the module

func (*MsgCreateRelationship) Size added in v0.16.0

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

func (*MsgCreateRelationship) String added in v0.16.0

func (m *MsgCreateRelationship) String() string

func (MsgCreateRelationship) Type added in v0.16.0

func (msg MsgCreateRelationship) Type() string

Type should return the action

func (*MsgCreateRelationship) Unmarshal added in v0.16.0

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

func (MsgCreateRelationship) ValidateBasic added in v0.16.0

func (msg MsgCreateRelationship) ValidateBasic() error

ValidateBasic runs stateless checks on the message

func (*MsgCreateRelationship) XXX_DiscardUnknown added in v0.16.0

func (m *MsgCreateRelationship) XXX_DiscardUnknown()

func (*MsgCreateRelationship) XXX_Marshal added in v0.16.0

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

func (*MsgCreateRelationship) XXX_Merge added in v0.16.0

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

func (*MsgCreateRelationship) XXX_Size added in v0.16.0

func (m *MsgCreateRelationship) XXX_Size() int

func (*MsgCreateRelationship) XXX_Unmarshal added in v0.16.0

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

type MsgCreateRelationshipResponse added in v0.17.2

type MsgCreateRelationshipResponse struct {
}

MsgCreateRelationshipResponse defines the Msg/CreateRelationship response type.

func (*MsgCreateRelationshipResponse) Descriptor added in v0.17.2

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

func (*MsgCreateRelationshipResponse) Marshal added in v0.17.2

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

func (*MsgCreateRelationshipResponse) MarshalTo added in v0.17.2

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

func (*MsgCreateRelationshipResponse) MarshalToSizedBuffer added in v0.17.2

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

func (*MsgCreateRelationshipResponse) ProtoMessage added in v0.17.2

func (*MsgCreateRelationshipResponse) ProtoMessage()

func (*MsgCreateRelationshipResponse) Reset added in v0.17.2

func (m *MsgCreateRelationshipResponse) Reset()

func (*MsgCreateRelationshipResponse) Size added in v0.17.2

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

func (*MsgCreateRelationshipResponse) String added in v0.17.2

func (*MsgCreateRelationshipResponse) Unmarshal added in v0.17.2

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

func (*MsgCreateRelationshipResponse) XXX_DiscardUnknown added in v0.17.2

func (m *MsgCreateRelationshipResponse) XXX_DiscardUnknown()

func (*MsgCreateRelationshipResponse) XXX_Marshal added in v0.17.2

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

func (*MsgCreateRelationshipResponse) XXX_Merge added in v0.17.2

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

func (*MsgCreateRelationshipResponse) XXX_Size added in v0.17.2

func (m *MsgCreateRelationshipResponse) XXX_Size() int

func (*MsgCreateRelationshipResponse) XXX_Unmarshal added in v0.17.2

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

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

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

func (*MsgDeleteProfile) MarshalTo added in v0.15.0

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

func (*MsgDeleteProfile) MarshalToSizedBuffer added in v0.15.0

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

func (*MsgDeleteProfile) ProtoMessage added in v0.15.0

func (*MsgDeleteProfile) ProtoMessage()

func (*MsgDeleteProfile) Reset added in v0.15.0

func (m *MsgDeleteProfile) Reset()

func (MsgDeleteProfile) Route

func (msg MsgDeleteProfile) Route() string

Route should return the name of the module

func (*MsgDeleteProfile) Size added in v0.15.0

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

func (*MsgDeleteProfile) String added in v0.15.0

func (m *MsgDeleteProfile) String() string

func (MsgDeleteProfile) Type

func (msg MsgDeleteProfile) Type() string

Type should return the action

func (*MsgDeleteProfile) Unmarshal added in v0.15.0

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

func (m *MsgDeleteProfile) XXX_DiscardUnknown()

func (*MsgDeleteProfile) XXX_Marshal added in v0.15.0

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

func (*MsgDeleteProfile) XXX_Merge added in v0.15.0

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

func (*MsgDeleteProfile) XXX_Size added in v0.15.0

func (m *MsgDeleteProfile) XXX_Size() int

func (*MsgDeleteProfile) XXX_Unmarshal added in v0.15.0

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

type MsgDeleteProfileResponse added in v0.15.0

type MsgDeleteProfileResponse struct {
}

MsgDeleteProfileResponse defines the Msg/DeleteProfile response type.

func (*MsgDeleteProfileResponse) Descriptor added in v0.15.0

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

func (*MsgDeleteProfileResponse) Marshal added in v0.15.0

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

func (*MsgDeleteProfileResponse) MarshalTo added in v0.15.0

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

func (*MsgDeleteProfileResponse) MarshalToSizedBuffer added in v0.15.0

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

func (*MsgDeleteProfileResponse) ProtoMessage added in v0.15.0

func (*MsgDeleteProfileResponse) ProtoMessage()

func (*MsgDeleteProfileResponse) Reset added in v0.15.0

func (m *MsgDeleteProfileResponse) Reset()

func (*MsgDeleteProfileResponse) Size added in v0.15.0

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

func (*MsgDeleteProfileResponse) String added in v0.15.0

func (m *MsgDeleteProfileResponse) String() string

func (*MsgDeleteProfileResponse) Unmarshal added in v0.15.0

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

func (*MsgDeleteProfileResponse) XXX_DiscardUnknown added in v0.15.0

func (m *MsgDeleteProfileResponse) XXX_DiscardUnknown()

func (*MsgDeleteProfileResponse) XXX_Marshal added in v0.15.0

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

func (*MsgDeleteProfileResponse) XXX_Merge added in v0.15.0

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

func (*MsgDeleteProfileResponse) XXX_Size added in v0.15.0

func (m *MsgDeleteProfileResponse) XXX_Size() int

func (*MsgDeleteProfileResponse) XXX_Unmarshal added in v0.15.0

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

type MsgDeleteRelationship added in v0.16.0

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

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

func (*MsgDeleteRelationship) Descriptor added in v0.16.0

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

func (*MsgDeleteRelationship) GetCounterparty added in v0.16.0

func (m *MsgDeleteRelationship) GetCounterparty() string

func (MsgDeleteRelationship) GetSignBytes added in v0.16.0

func (msg MsgDeleteRelationship) GetSignBytes() []byte

GetSignBytes encodes the message for signing

func (MsgDeleteRelationship) GetSigners added in v0.16.0

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

GetSigners defines whose signature is required

func (*MsgDeleteRelationship) GetSubspace added in v0.16.0

func (m *MsgDeleteRelationship) GetSubspace() string

func (*MsgDeleteRelationship) GetUser added in v0.16.0

func (m *MsgDeleteRelationship) GetUser() string

func (*MsgDeleteRelationship) Marshal added in v0.16.0

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

func (*MsgDeleteRelationship) MarshalTo added in v0.16.0

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

func (*MsgDeleteRelationship) MarshalToSizedBuffer added in v0.16.0

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

func (*MsgDeleteRelationship) ProtoMessage added in v0.16.0

func (*MsgDeleteRelationship) ProtoMessage()

func (*MsgDeleteRelationship) Reset added in v0.16.0

func (m *MsgDeleteRelationship) Reset()

func (MsgDeleteRelationship) Route added in v0.16.0

func (msg MsgDeleteRelationship) Route() string

Route should return the name of the module

func (*MsgDeleteRelationship) Size added in v0.16.0

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

func (*MsgDeleteRelationship) String added in v0.16.0

func (m *MsgDeleteRelationship) String() string

func (MsgDeleteRelationship) Type added in v0.16.0

func (msg MsgDeleteRelationship) Type() string

Type should return the action

func (*MsgDeleteRelationship) Unmarshal added in v0.16.0

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

func (MsgDeleteRelationship) ValidateBasic added in v0.16.0

func (msg MsgDeleteRelationship) ValidateBasic() error

ValidateBasic runs stateless checks on the message

func (*MsgDeleteRelationship) XXX_DiscardUnknown added in v0.16.0

func (m *MsgDeleteRelationship) XXX_DiscardUnknown()

func (*MsgDeleteRelationship) XXX_Marshal added in v0.16.0

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

func (*MsgDeleteRelationship) XXX_Merge added in v0.16.0

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

func (*MsgDeleteRelationship) XXX_Size added in v0.16.0

func (m *MsgDeleteRelationship) XXX_Size() int

func (*MsgDeleteRelationship) XXX_Unmarshal added in v0.16.0

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

type MsgDeleteRelationshipResponse added in v0.17.2

type MsgDeleteRelationshipResponse struct {
}

MsgDeleteRelationshipResponse defines the Msg/DeleteRelationship response type.

func (*MsgDeleteRelationshipResponse) Descriptor added in v0.17.2

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

func (*MsgDeleteRelationshipResponse) Marshal added in v0.17.2

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

func (*MsgDeleteRelationshipResponse) MarshalTo added in v0.17.2

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

func (*MsgDeleteRelationshipResponse) MarshalToSizedBuffer added in v0.17.2

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

func (*MsgDeleteRelationshipResponse) ProtoMessage added in v0.17.2

func (*MsgDeleteRelationshipResponse) ProtoMessage()

func (*MsgDeleteRelationshipResponse) Reset added in v0.17.2

func (m *MsgDeleteRelationshipResponse) Reset()

func (*MsgDeleteRelationshipResponse) Size added in v0.17.2

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

func (*MsgDeleteRelationshipResponse) String added in v0.17.2

func (*MsgDeleteRelationshipResponse) Unmarshal added in v0.17.2

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

func (*MsgDeleteRelationshipResponse) XXX_DiscardUnknown added in v0.17.2

func (m *MsgDeleteRelationshipResponse) XXX_DiscardUnknown()

func (*MsgDeleteRelationshipResponse) XXX_Marshal added in v0.17.2

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

func (*MsgDeleteRelationshipResponse) XXX_Merge added in v0.17.2

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

func (*MsgDeleteRelationshipResponse) XXX_Size added in v0.17.2

func (m *MsgDeleteRelationshipResponse) XXX_Size() int

func (*MsgDeleteRelationshipResponse) XXX_Unmarshal added in v0.17.2

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

type MsgLinkApplication added in v0.17.0

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

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

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

func (MsgLinkApplication) GetSignBytes added in v0.17.0

func (msg MsgLinkApplication) GetSignBytes() []byte

GetSignBytes implements sdk.Msg.

func (MsgLinkApplication) GetSigners added in v0.17.0

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

GetSigners implements sdk.Msg

func (*MsgLinkApplication) Marshal added in v0.17.0

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

func (*MsgLinkApplication) MarshalTo added in v0.17.0

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

func (*MsgLinkApplication) MarshalToSizedBuffer added in v0.17.0

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

func (*MsgLinkApplication) ProtoMessage added in v0.17.0

func (*MsgLinkApplication) ProtoMessage()

func (*MsgLinkApplication) Reset added in v0.17.0

func (m *MsgLinkApplication) Reset()

func (MsgLinkApplication) Route added in v0.17.0

func (MsgLinkApplication) Route() string

Route implements sdk.Msg

func (*MsgLinkApplication) Size added in v0.17.0

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

func (*MsgLinkApplication) String added in v0.17.0

func (m *MsgLinkApplication) String() string

func (MsgLinkApplication) Type added in v0.17.0

func (MsgLinkApplication) Type() string

Type implements sdk.Msg

func (*MsgLinkApplication) Unmarshal added in v0.17.0

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

func (MsgLinkApplication) ValidateBasic added in v0.17.0

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

func (m *MsgLinkApplication) XXX_DiscardUnknown()

func (*MsgLinkApplication) XXX_Marshal added in v0.17.0

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

func (*MsgLinkApplication) XXX_Merge added in v0.17.0

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

func (*MsgLinkApplication) XXX_Size added in v0.17.0

func (m *MsgLinkApplication) XXX_Size() int

func (*MsgLinkApplication) XXX_Unmarshal added in v0.17.0

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

type MsgLinkApplicationResponse added in v0.17.0

type MsgLinkApplicationResponse struct {
}

MsgLinkApplicationResponse defines the Msg/LinkApplication response type.

func (*MsgLinkApplicationResponse) Descriptor added in v0.17.0

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

func (*MsgLinkApplicationResponse) Marshal added in v0.17.0

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

func (*MsgLinkApplicationResponse) MarshalTo added in v0.17.0

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

func (*MsgLinkApplicationResponse) MarshalToSizedBuffer added in v0.17.0

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

func (*MsgLinkApplicationResponse) ProtoMessage added in v0.17.0

func (*MsgLinkApplicationResponse) ProtoMessage()

func (*MsgLinkApplicationResponse) Reset added in v0.17.0

func (m *MsgLinkApplicationResponse) Reset()

func (*MsgLinkApplicationResponse) Size added in v0.17.0

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

func (*MsgLinkApplicationResponse) String added in v0.17.0

func (m *MsgLinkApplicationResponse) String() string

func (*MsgLinkApplicationResponse) Unmarshal added in v0.17.0

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

func (*MsgLinkApplicationResponse) XXX_DiscardUnknown added in v0.17.0

func (m *MsgLinkApplicationResponse) XXX_DiscardUnknown()

func (*MsgLinkApplicationResponse) XXX_Marshal added in v0.17.0

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

func (*MsgLinkApplicationResponse) XXX_Merge added in v0.17.0

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

func (*MsgLinkApplicationResponse) XXX_Size added in v0.17.0

func (m *MsgLinkApplicationResponse) XXX_Size() int

func (*MsgLinkApplicationResponse) XXX_Unmarshal added in v0.17.0

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

type MsgLinkChainAccount added in v0.17.0

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

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

nolint:interfacer

func (*MsgLinkChainAccount) Descriptor added in v0.17.0

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

func (*MsgLinkChainAccount) GetChainAddress added in v0.17.0

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

func (*MsgLinkChainAccount) GetChainConfig added in v0.17.0

func (m *MsgLinkChainAccount) GetChainConfig() ChainConfig

func (*MsgLinkChainAccount) GetProof added in v0.17.0

func (m *MsgLinkChainAccount) GetProof() Proof

func (MsgLinkChainAccount) GetSignBytes added in v0.17.0

func (msg MsgLinkChainAccount) GetSignBytes() []byte

GetSignBytes encodes the message for signing

func (*MsgLinkChainAccount) GetSigner added in v0.17.0

func (m *MsgLinkChainAccount) GetSigner() string

func (MsgLinkChainAccount) GetSigners added in v0.17.0

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

GetSigners defines whose signature is required

func (*MsgLinkChainAccount) Marshal added in v0.17.0

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

func (*MsgLinkChainAccount) MarshalTo added in v0.17.0

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

func (*MsgLinkChainAccount) MarshalToSizedBuffer added in v0.17.0

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

func (*MsgLinkChainAccount) ProtoMessage added in v0.17.0

func (*MsgLinkChainAccount) ProtoMessage()

func (*MsgLinkChainAccount) Reset added in v0.17.0

func (m *MsgLinkChainAccount) Reset()

func (MsgLinkChainAccount) Route added in v0.17.0

func (msg MsgLinkChainAccount) Route() string

Route should return the name of the module

func (*MsgLinkChainAccount) Size added in v0.17.0

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

func (*MsgLinkChainAccount) String added in v0.17.0

func (m *MsgLinkChainAccount) String() string

func (MsgLinkChainAccount) Type added in v0.17.0

func (msg MsgLinkChainAccount) Type() string

Type should return the action

func (*MsgLinkChainAccount) Unmarshal added in v0.17.0

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

func (*MsgLinkChainAccount) UnpackInterfaces added in v0.17.0

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

UnpackInterfaces implements codectypes.UnpackInterfacesMessage

func (MsgLinkChainAccount) ValidateBasic added in v0.17.0

func (msg MsgLinkChainAccount) ValidateBasic() error

ValidateBasic runs stateless checks on the message

func (*MsgLinkChainAccount) XXX_DiscardUnknown added in v0.17.0

func (m *MsgLinkChainAccount) XXX_DiscardUnknown()

func (*MsgLinkChainAccount) XXX_Marshal added in v0.17.0

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

func (*MsgLinkChainAccount) XXX_Merge added in v0.17.0

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

func (*MsgLinkChainAccount) XXX_Size added in v0.17.0

func (m *MsgLinkChainAccount) XXX_Size() int

func (*MsgLinkChainAccount) XXX_Unmarshal added in v0.17.0

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

type MsgLinkChainAccountResponse added in v0.17.2

type MsgLinkChainAccountResponse struct {
}

MsgLinkChainAccountResponse defines the Msg/LinkAccount response type.

func (*MsgLinkChainAccountResponse) Descriptor added in v0.17.2

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

func (*MsgLinkChainAccountResponse) Marshal added in v0.17.2

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

func (*MsgLinkChainAccountResponse) MarshalTo added in v0.17.2

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

func (*MsgLinkChainAccountResponse) MarshalToSizedBuffer added in v0.17.2

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

func (*MsgLinkChainAccountResponse) ProtoMessage added in v0.17.2

func (*MsgLinkChainAccountResponse) ProtoMessage()

func (*MsgLinkChainAccountResponse) Reset added in v0.17.2

func (m *MsgLinkChainAccountResponse) Reset()

func (*MsgLinkChainAccountResponse) Size added in v0.17.2

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

func (*MsgLinkChainAccountResponse) String added in v0.17.2

func (m *MsgLinkChainAccountResponse) String() string

func (*MsgLinkChainAccountResponse) Unmarshal added in v0.17.2

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

func (*MsgLinkChainAccountResponse) XXX_DiscardUnknown added in v0.17.2

func (m *MsgLinkChainAccountResponse) XXX_DiscardUnknown()

func (*MsgLinkChainAccountResponse) XXX_Marshal added in v0.17.2

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

func (*MsgLinkChainAccountResponse) XXX_Merge added in v0.17.2

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

func (*MsgLinkChainAccountResponse) XXX_Size added in v0.17.2

func (m *MsgLinkChainAccountResponse) XXX_Size() int

func (*MsgLinkChainAccountResponse) XXX_Unmarshal added in v0.17.2

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

type MsgRefuseDTagTransferRequest added in v0.13.0

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

func NewMsgRefuseDTagTransferRequest(sender, receiver string) *MsgRefuseDTagTransferRequest

NewMsgRefuseDTagTransferRequest is a constructor for MsgRefuseDTagTransferRequest

func (*MsgRefuseDTagTransferRequest) Descriptor added in v0.17.0

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

func (MsgRefuseDTagTransferRequest) GetSignBytes added in v0.17.0

func (msg MsgRefuseDTagTransferRequest) GetSignBytes() []byte

GetSignBytes encodes the message for signing

func (MsgRefuseDTagTransferRequest) GetSigners added in v0.17.0

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

GetSigners defines whose signature is required

func (*MsgRefuseDTagTransferRequest) Marshal added in v0.17.0

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

func (*MsgRefuseDTagTransferRequest) MarshalTo added in v0.17.0

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

func (*MsgRefuseDTagTransferRequest) MarshalToSizedBuffer added in v0.17.0

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

func (*MsgRefuseDTagTransferRequest) ProtoMessage added in v0.17.0

func (*MsgRefuseDTagTransferRequest) ProtoMessage()

func (*MsgRefuseDTagTransferRequest) Reset added in v0.17.0

func (m *MsgRefuseDTagTransferRequest) Reset()

func (MsgRefuseDTagTransferRequest) Route added in v0.17.0

Route should return the name of the module

func (*MsgRefuseDTagTransferRequest) Size added in v0.17.0

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

func (*MsgRefuseDTagTransferRequest) String added in v0.17.0

func (MsgRefuseDTagTransferRequest) Type added in v0.17.0

Type should return the action

func (*MsgRefuseDTagTransferRequest) Unmarshal added in v0.17.0

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

func (MsgRefuseDTagTransferRequest) ValidateBasic added in v0.17.0

func (msg MsgRefuseDTagTransferRequest) ValidateBasic() error

func (*MsgRefuseDTagTransferRequest) XXX_DiscardUnknown added in v0.17.0

func (m *MsgRefuseDTagTransferRequest) XXX_DiscardUnknown()

func (*MsgRefuseDTagTransferRequest) XXX_Marshal added in v0.17.0

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

func (*MsgRefuseDTagTransferRequest) XXX_Merge added in v0.17.0

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

func (*MsgRefuseDTagTransferRequest) XXX_Size added in v0.17.0

func (m *MsgRefuseDTagTransferRequest) XXX_Size() int

func (*MsgRefuseDTagTransferRequest) XXX_Unmarshal added in v0.17.0

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

type MsgRefuseDTagTransferRequestResponse added in v0.17.0

type MsgRefuseDTagTransferRequestResponse struct {
}

MsgRefuseDTagTransferRequestResponse defines the Msg/RefuseDTagTransferRequest response.

func (*MsgRefuseDTagTransferRequestResponse) Descriptor added in v0.17.0

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

func (*MsgRefuseDTagTransferRequestResponse) Marshal added in v0.17.0

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

func (*MsgRefuseDTagTransferRequestResponse) MarshalTo added in v0.17.0

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

func (*MsgRefuseDTagTransferRequestResponse) MarshalToSizedBuffer added in v0.17.0

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

func (*MsgRefuseDTagTransferRequestResponse) ProtoMessage added in v0.17.0

func (*MsgRefuseDTagTransferRequestResponse) ProtoMessage()

func (*MsgRefuseDTagTransferRequestResponse) Reset added in v0.17.0

func (*MsgRefuseDTagTransferRequestResponse) Size added in v0.17.0

func (*MsgRefuseDTagTransferRequestResponse) String added in v0.17.0

func (*MsgRefuseDTagTransferRequestResponse) Unmarshal added in v0.17.0

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

func (*MsgRefuseDTagTransferRequestResponse) XXX_DiscardUnknown added in v0.17.0

func (m *MsgRefuseDTagTransferRequestResponse) XXX_DiscardUnknown()

func (*MsgRefuseDTagTransferRequestResponse) XXX_Marshal added in v0.17.0

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

func (*MsgRefuseDTagTransferRequestResponse) XXX_Merge added in v0.17.0

func (*MsgRefuseDTagTransferRequestResponse) XXX_Size added in v0.17.0

func (*MsgRefuseDTagTransferRequestResponse) XXX_Unmarshal added in v0.17.0

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

type MsgRequestDTagTransfer added in v0.12.0

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

func NewMsgRequestDTagTransfer(sender, receiver string) *MsgRequestDTagTransfer

NewMsgRequestDTagTransfer is a constructor function for MsgRequestDTagTransfer

func (*MsgRequestDTagTransfer) Descriptor added in v0.15.0

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

func (MsgRequestDTagTransfer) GetSignBytes added in v0.15.0

func (msg MsgRequestDTagTransfer) GetSignBytes() []byte

GetSignBytes encodes the message for signing

func (MsgRequestDTagTransfer) GetSigners added in v0.15.0

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

GetSigners defines whose signature is required

func (*MsgRequestDTagTransfer) Marshal added in v0.15.0

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

func (*MsgRequestDTagTransfer) MarshalTo added in v0.15.0

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

func (*MsgRequestDTagTransfer) MarshalToSizedBuffer added in v0.15.0

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

func (*MsgRequestDTagTransfer) ProtoMessage added in v0.15.0

func (*MsgRequestDTagTransfer) ProtoMessage()

func (*MsgRequestDTagTransfer) Reset added in v0.15.0

func (m *MsgRequestDTagTransfer) Reset()

func (MsgRequestDTagTransfer) Route added in v0.15.0

func (msg MsgRequestDTagTransfer) Route() string

Route should return the name of the module

func (*MsgRequestDTagTransfer) Size added in v0.15.0

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

func (*MsgRequestDTagTransfer) String added in v0.15.0

func (m *MsgRequestDTagTransfer) String() string

func (MsgRequestDTagTransfer) Type added in v0.15.0

func (msg MsgRequestDTagTransfer) Type() string

Type should return the action

func (*MsgRequestDTagTransfer) Unmarshal added in v0.15.0

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

func (MsgRequestDTagTransfer) ValidateBasic added in v0.15.0

func (msg MsgRequestDTagTransfer) ValidateBasic() error

func (*MsgRequestDTagTransfer) XXX_DiscardUnknown added in v0.15.0

func (m *MsgRequestDTagTransfer) XXX_DiscardUnknown()

func (*MsgRequestDTagTransfer) XXX_Marshal added in v0.15.0

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

func (*MsgRequestDTagTransfer) XXX_Merge added in v0.15.0

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

func (*MsgRequestDTagTransfer) XXX_Size added in v0.15.0

func (m *MsgRequestDTagTransfer) XXX_Size() int

func (*MsgRequestDTagTransfer) XXX_Unmarshal added in v0.15.0

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

type MsgRequestDTagTransferResponse added in v0.15.0

type MsgRequestDTagTransferResponse struct {
}

MsgRequestDTagTransferResponse defines the Msg/RequestDTagTransfer response type.

func (*MsgRequestDTagTransferResponse) Descriptor added in v0.15.0

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

func (*MsgRequestDTagTransferResponse) Marshal added in v0.15.0

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

func (*MsgRequestDTagTransferResponse) MarshalTo added in v0.15.0

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

func (*MsgRequestDTagTransferResponse) MarshalToSizedBuffer added in v0.15.0

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

func (*MsgRequestDTagTransferResponse) ProtoMessage added in v0.15.0

func (*MsgRequestDTagTransferResponse) ProtoMessage()

func (*MsgRequestDTagTransferResponse) Reset added in v0.15.0

func (m *MsgRequestDTagTransferResponse) Reset()

func (*MsgRequestDTagTransferResponse) Size added in v0.15.0

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

func (*MsgRequestDTagTransferResponse) String added in v0.15.0

func (*MsgRequestDTagTransferResponse) Unmarshal added in v0.15.0

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

func (*MsgRequestDTagTransferResponse) XXX_DiscardUnknown added in v0.15.0

func (m *MsgRequestDTagTransferResponse) XXX_DiscardUnknown()

func (*MsgRequestDTagTransferResponse) XXX_Marshal added in v0.15.0

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

func (*MsgRequestDTagTransferResponse) XXX_Merge added in v0.15.0

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

func (*MsgRequestDTagTransferResponse) XXX_Size added in v0.15.0

func (m *MsgRequestDTagTransferResponse) XXX_Size() int

func (*MsgRequestDTagTransferResponse) XXX_Unmarshal added in v0.15.0

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 `protobuf:"bytes,4,opt,name=profile_picture,json=profilePicture,proto3" json:"profile_picture" yaml:"profile_picture"`
	CoverPicture   string `protobuf:"bytes,5,opt,name=cover_picture,json=coverPicture,proto3" json:"cover_picture" 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 added in v0.15.0

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

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

func (*MsgSaveProfile) MarshalTo added in v0.15.0

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

func (*MsgSaveProfile) MarshalToSizedBuffer added in v0.15.0

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

func (*MsgSaveProfile) ProtoMessage added in v0.15.0

func (*MsgSaveProfile) ProtoMessage()

func (*MsgSaveProfile) Reset added in v0.15.0

func (m *MsgSaveProfile) Reset()

func (MsgSaveProfile) Route

func (msg MsgSaveProfile) Route() string

Route should return the name of the module

func (*MsgSaveProfile) Size added in v0.15.0

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

func (*MsgSaveProfile) String added in v0.15.0

func (m *MsgSaveProfile) String() string

func (MsgSaveProfile) Type

func (msg MsgSaveProfile) Type() string

Type should return the action

func (*MsgSaveProfile) Unmarshal added in v0.15.0

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

func (m *MsgSaveProfile) XXX_DiscardUnknown()

func (*MsgSaveProfile) XXX_Marshal added in v0.15.0

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

func (*MsgSaveProfile) XXX_Merge added in v0.15.0

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

func (*MsgSaveProfile) XXX_Size added in v0.15.0

func (m *MsgSaveProfile) XXX_Size() int

func (*MsgSaveProfile) XXX_Unmarshal added in v0.15.0

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

type MsgSaveProfileResponse added in v0.15.0

type MsgSaveProfileResponse struct {
}

MsgSaveProfileResponse defines the Msg/SaveProfile response type.

func (*MsgSaveProfileResponse) Descriptor added in v0.15.0

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

func (*MsgSaveProfileResponse) Marshal added in v0.15.0

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

func (*MsgSaveProfileResponse) MarshalTo added in v0.15.0

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

func (*MsgSaveProfileResponse) MarshalToSizedBuffer added in v0.15.0

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

func (*MsgSaveProfileResponse) ProtoMessage added in v0.15.0

func (*MsgSaveProfileResponse) ProtoMessage()

func (*MsgSaveProfileResponse) Reset added in v0.15.0

func (m *MsgSaveProfileResponse) Reset()

func (*MsgSaveProfileResponse) Size added in v0.15.0

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

func (*MsgSaveProfileResponse) String added in v0.15.0

func (m *MsgSaveProfileResponse) String() string

func (*MsgSaveProfileResponse) Unmarshal added in v0.15.0

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

func (*MsgSaveProfileResponse) XXX_DiscardUnknown added in v0.15.0

func (m *MsgSaveProfileResponse) XXX_DiscardUnknown()

func (*MsgSaveProfileResponse) XXX_Marshal added in v0.15.0

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

func (*MsgSaveProfileResponse) XXX_Merge added in v0.15.0

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

func (*MsgSaveProfileResponse) XXX_Size added in v0.15.0

func (m *MsgSaveProfileResponse) XXX_Size() int

func (*MsgSaveProfileResponse) XXX_Unmarshal added in v0.15.0

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

type MsgServer added in v0.15.0

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

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

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

func (*MsgUnblockUser) Descriptor added in v0.16.0

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

func (*MsgUnblockUser) GetBlocked added in v0.16.0

func (m *MsgUnblockUser) GetBlocked() string

func (*MsgUnblockUser) GetBlocker added in v0.16.0

func (m *MsgUnblockUser) GetBlocker() string

func (MsgUnblockUser) GetSignBytes added in v0.16.0

func (msg MsgUnblockUser) GetSignBytes() []byte

GetSignBytes encodes the message for signing

func (MsgUnblockUser) GetSigners added in v0.16.0

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

GetSigners defines whose signature is required

func (*MsgUnblockUser) GetSubspace added in v0.16.0

func (m *MsgUnblockUser) GetSubspace() string

func (*MsgUnblockUser) Marshal added in v0.16.0

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

func (*MsgUnblockUser) MarshalTo added in v0.16.0

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

func (*MsgUnblockUser) MarshalToSizedBuffer added in v0.16.0

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

func (*MsgUnblockUser) ProtoMessage added in v0.16.0

func (*MsgUnblockUser) ProtoMessage()

func (*MsgUnblockUser) Reset added in v0.16.0

func (m *MsgUnblockUser) Reset()

func (MsgUnblockUser) Route added in v0.16.0

func (msg MsgUnblockUser) Route() string

Route should return the name of the module

func (*MsgUnblockUser) Size added in v0.16.0

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

func (*MsgUnblockUser) String added in v0.16.0

func (m *MsgUnblockUser) String() string

func (MsgUnblockUser) Type added in v0.16.0

func (msg MsgUnblockUser) Type() string

Type should return the action

func (*MsgUnblockUser) Unmarshal added in v0.16.0

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

func (MsgUnblockUser) ValidateBasic added in v0.16.0

func (msg MsgUnblockUser) ValidateBasic() error

ValidateBasic runs stateless checks on the message

func (*MsgUnblockUser) XXX_DiscardUnknown added in v0.16.0

func (m *MsgUnblockUser) XXX_DiscardUnknown()

func (*MsgUnblockUser) XXX_Marshal added in v0.16.0

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

func (*MsgUnblockUser) XXX_Merge added in v0.16.0

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

func (*MsgUnblockUser) XXX_Size added in v0.16.0

func (m *MsgUnblockUser) XXX_Size() int

func (*MsgUnblockUser) XXX_Unmarshal added in v0.16.0

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

type MsgUnblockUserResponse added in v0.17.2

type MsgUnblockUserResponse struct {
}

MsgUnblockUserResponse defines the Msg/UnblockUser response type.

func (*MsgUnblockUserResponse) Descriptor added in v0.17.2

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

func (*MsgUnblockUserResponse) Marshal added in v0.17.2

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

func (*MsgUnblockUserResponse) MarshalTo added in v0.17.2

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

func (*MsgUnblockUserResponse) MarshalToSizedBuffer added in v0.17.2

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

func (*MsgUnblockUserResponse) ProtoMessage added in v0.17.2

func (*MsgUnblockUserResponse) ProtoMessage()

func (*MsgUnblockUserResponse) Reset added in v0.17.2

func (m *MsgUnblockUserResponse) Reset()

func (*MsgUnblockUserResponse) Size added in v0.17.2

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

func (*MsgUnblockUserResponse) String added in v0.17.2

func (m *MsgUnblockUserResponse) String() string

func (*MsgUnblockUserResponse) Unmarshal added in v0.17.2

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

func (*MsgUnblockUserResponse) XXX_DiscardUnknown added in v0.17.2

func (m *MsgUnblockUserResponse) XXX_DiscardUnknown()

func (*MsgUnblockUserResponse) XXX_Marshal added in v0.17.2

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

func (*MsgUnblockUserResponse) XXX_Merge added in v0.17.2

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

func (*MsgUnblockUserResponse) XXX_Size added in v0.17.2

func (m *MsgUnblockUserResponse) XXX_Size() int

func (*MsgUnblockUserResponse) XXX_Unmarshal added in v0.17.2

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

type MsgUnlinkApplication added in v0.17.0

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

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

NewMsgUnlinkApplication creates a new MsgUnlinkApplication instance nolint:interfacer

func (*MsgUnlinkApplication) Descriptor added in v0.17.0

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

func (MsgUnlinkApplication) GetSignBytes added in v0.17.0

func (msg MsgUnlinkApplication) GetSignBytes() []byte

GetSignBytes implements sdk.Msg.

func (MsgUnlinkApplication) GetSigners added in v0.17.0

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

GetSigners implements sdk.Msg

func (*MsgUnlinkApplication) Marshal added in v0.17.0

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

func (*MsgUnlinkApplication) MarshalTo added in v0.17.0

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

func (*MsgUnlinkApplication) MarshalToSizedBuffer added in v0.17.0

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

func (*MsgUnlinkApplication) ProtoMessage added in v0.17.0

func (*MsgUnlinkApplication) ProtoMessage()

func (*MsgUnlinkApplication) Reset added in v0.17.0

func (m *MsgUnlinkApplication) Reset()

func (MsgUnlinkApplication) Route added in v0.17.0

func (MsgUnlinkApplication) Route() string

Route implements sdk.Msg

func (*MsgUnlinkApplication) Size added in v0.17.0

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

func (*MsgUnlinkApplication) String added in v0.17.0

func (m *MsgUnlinkApplication) String() string

func (MsgUnlinkApplication) Type added in v0.17.0

Type implements sdk.Msg

func (*MsgUnlinkApplication) Unmarshal added in v0.17.0

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

func (MsgUnlinkApplication) ValidateBasic added in v0.17.0

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

func (m *MsgUnlinkApplication) XXX_DiscardUnknown()

func (*MsgUnlinkApplication) XXX_Marshal added in v0.17.0

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

func (*MsgUnlinkApplication) XXX_Merge added in v0.17.0

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

func (*MsgUnlinkApplication) XXX_Size added in v0.17.0

func (m *MsgUnlinkApplication) XXX_Size() int

func (*MsgUnlinkApplication) XXX_Unmarshal added in v0.17.0

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

type MsgUnlinkApplicationResponse added in v0.17.0

type MsgUnlinkApplicationResponse struct {
}

MsgUnlinkApplicationResponse defines the Msg/UnlinkApplication response type.

func (*MsgUnlinkApplicationResponse) Descriptor added in v0.17.0

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

func (*MsgUnlinkApplicationResponse) Marshal added in v0.17.0

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

func (*MsgUnlinkApplicationResponse) MarshalTo added in v0.17.0

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

func (*MsgUnlinkApplicationResponse) MarshalToSizedBuffer added in v0.17.0

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

func (*MsgUnlinkApplicationResponse) ProtoMessage added in v0.17.0

func (*MsgUnlinkApplicationResponse) ProtoMessage()

func (*MsgUnlinkApplicationResponse) Reset added in v0.17.0

func (m *MsgUnlinkApplicationResponse) Reset()

func (*MsgUnlinkApplicationResponse) Size added in v0.17.0

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

func (*MsgUnlinkApplicationResponse) String added in v0.17.0

func (*MsgUnlinkApplicationResponse) Unmarshal added in v0.17.0

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

func (*MsgUnlinkApplicationResponse) XXX_DiscardUnknown added in v0.17.0

func (m *MsgUnlinkApplicationResponse) XXX_DiscardUnknown()

func (*MsgUnlinkApplicationResponse) XXX_Marshal added in v0.17.0

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

func (*MsgUnlinkApplicationResponse) XXX_Merge added in v0.17.0

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

func (*MsgUnlinkApplicationResponse) XXX_Size added in v0.17.0

func (m *MsgUnlinkApplicationResponse) XXX_Size() int

func (*MsgUnlinkApplicationResponse) XXX_Unmarshal added in v0.17.0

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

type MsgUnlinkChainAccount added in v0.17.0

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

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

func (*MsgUnlinkChainAccount) Descriptor added in v0.17.0

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

func (*MsgUnlinkChainAccount) GetChainName added in v0.17.0

func (m *MsgUnlinkChainAccount) GetChainName() string

func (*MsgUnlinkChainAccount) GetOwner added in v0.17.0

func (m *MsgUnlinkChainAccount) GetOwner() string

func (MsgUnlinkChainAccount) GetSignBytes added in v0.17.0

func (msg MsgUnlinkChainAccount) GetSignBytes() []byte

GetSignBytes encodes the message for signing

func (MsgUnlinkChainAccount) GetSigners added in v0.17.0

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

GetSigners defines whose signature is required

func (*MsgUnlinkChainAccount) GetTarget added in v0.17.0

func (m *MsgUnlinkChainAccount) GetTarget() string

func (*MsgUnlinkChainAccount) Marshal added in v0.17.0

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

func (*MsgUnlinkChainAccount) MarshalTo added in v0.17.0

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

func (*MsgUnlinkChainAccount) MarshalToSizedBuffer added in v0.17.0

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

func (*MsgUnlinkChainAccount) ProtoMessage added in v0.17.0

func (*MsgUnlinkChainAccount) ProtoMessage()

func (*MsgUnlinkChainAccount) Reset added in v0.17.0

func (m *MsgUnlinkChainAccount) Reset()

func (MsgUnlinkChainAccount) Route added in v0.17.0

func (msg MsgUnlinkChainAccount) Route() string

Route should return the name of the module

func (*MsgUnlinkChainAccount) Size added in v0.17.0

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

func (*MsgUnlinkChainAccount) String added in v0.17.0

func (m *MsgUnlinkChainAccount) String() string

func (MsgUnlinkChainAccount) Type added in v0.17.0

func (msg MsgUnlinkChainAccount) Type() string

Type should return the action

func (*MsgUnlinkChainAccount) Unmarshal added in v0.17.0

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

func (MsgUnlinkChainAccount) ValidateBasic added in v0.17.0

func (msg MsgUnlinkChainAccount) ValidateBasic() error

ValidateBasic runs stateless checks on the message

func (*MsgUnlinkChainAccount) XXX_DiscardUnknown added in v0.17.0

func (m *MsgUnlinkChainAccount) XXX_DiscardUnknown()

func (*MsgUnlinkChainAccount) XXX_Marshal added in v0.17.0

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

func (*MsgUnlinkChainAccount) XXX_Merge added in v0.17.0

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

func (*MsgUnlinkChainAccount) XXX_Size added in v0.17.0

func (m *MsgUnlinkChainAccount) XXX_Size() int

func (*MsgUnlinkChainAccount) XXX_Unmarshal added in v0.17.0

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

type MsgUnlinkChainAccountResponse added in v0.17.2

type MsgUnlinkChainAccountResponse struct {
}

MsgUnlinkChainAccountResponse defines the Msg/UnlinkAccount response type.

func (*MsgUnlinkChainAccountResponse) Descriptor added in v0.17.2

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

func (*MsgUnlinkChainAccountResponse) Marshal added in v0.17.2

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

func (*MsgUnlinkChainAccountResponse) MarshalTo added in v0.17.2

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

func (*MsgUnlinkChainAccountResponse) MarshalToSizedBuffer added in v0.17.2

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

func (*MsgUnlinkChainAccountResponse) ProtoMessage added in v0.17.2

func (*MsgUnlinkChainAccountResponse) ProtoMessage()

func (*MsgUnlinkChainAccountResponse) Reset added in v0.17.2

func (m *MsgUnlinkChainAccountResponse) Reset()

func (*MsgUnlinkChainAccountResponse) Size added in v0.17.2

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

func (*MsgUnlinkChainAccountResponse) String added in v0.17.2

func (*MsgUnlinkChainAccountResponse) Unmarshal added in v0.17.2

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

func (*MsgUnlinkChainAccountResponse) XXX_DiscardUnknown added in v0.17.2

func (m *MsgUnlinkChainAccountResponse) XXX_DiscardUnknown()

func (*MsgUnlinkChainAccountResponse) XXX_Marshal added in v0.17.2

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

func (*MsgUnlinkChainAccountResponse) XXX_Merge added in v0.17.2

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

func (*MsgUnlinkChainAccountResponse) XXX_Size added in v0.17.2

func (m *MsgUnlinkChainAccountResponse) XXX_Size() int

func (*MsgUnlinkChainAccountResponse) XXX_Unmarshal added in v0.17.2

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

type NicknameParams added in v0.16.2

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

func DefaultNicknameParams() NicknameParams

DefaultNicknameParams return default nickname params

func NewNicknameParams added in v0.16.2

func NewNicknameParams(minLen, maxLen sdk.Int) NicknameParams

NewNicknameParams creates a new NicknameParams obj

func (*NicknameParams) Descriptor added in v0.16.2

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

func (*NicknameParams) Marshal added in v0.16.2

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

func (*NicknameParams) MarshalTo added in v0.16.2

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

func (*NicknameParams) MarshalToSizedBuffer added in v0.16.2

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

func (*NicknameParams) ProtoMessage added in v0.16.2

func (*NicknameParams) ProtoMessage()

func (*NicknameParams) Reset added in v0.16.2

func (m *NicknameParams) Reset()

func (*NicknameParams) Size added in v0.16.2

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

func (*NicknameParams) String added in v0.16.2

func (m *NicknameParams) String() string

func (*NicknameParams) Unmarshal added in v0.16.2

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

func (*NicknameParams) XXX_DiscardUnknown added in v0.16.2

func (m *NicknameParams) XXX_DiscardUnknown()

func (*NicknameParams) XXX_Marshal added in v0.16.2

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

func (*NicknameParams) XXX_Merge added in v0.16.2

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

func (*NicknameParams) XXX_Size added in v0.16.2

func (m *NicknameParams) XXX_Size() int

func (*NicknameParams) XXX_Unmarshal added in v0.16.2

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

type OracleParams added in v0.17.1

type OracleParams struct {
	// ScriptID represents the ID of the oracle script to be called to verify the
	// data
	ScriptID int64 `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"`
	// FeePayer represents the key of the account that is going to pay for oracle
	// fees if needed
	FeePayer string `protobuf:"bytes,6,opt,name=fee_payer,json=feePayer,proto3" json:"fee_payer,omitempty" yaml:"fee_payer"`
	// 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 added in v0.17.1

func DefaultOracleParams() OracleParams

DefaultOracleParams returns the default instance of OracleParams

func NewOracleParams added in v0.17.1

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

NewOracleParams creates a new Oracle Params instance

func (*OracleParams) Descriptor added in v0.17.1

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

func (*OracleParams) Marshal added in v0.17.1

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

func (*OracleParams) MarshalTo added in v0.17.1

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

func (*OracleParams) MarshalToSizedBuffer added in v0.17.1

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

func (*OracleParams) ProtoMessage added in v0.17.1

func (*OracleParams) ProtoMessage()

func (*OracleParams) Reset added in v0.17.1

func (m *OracleParams) Reset()

func (*OracleParams) Size added in v0.17.1

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

func (*OracleParams) String added in v0.17.1

func (m *OracleParams) String() string

func (*OracleParams) Unmarshal added in v0.17.1

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

func (*OracleParams) XXX_DiscardUnknown added in v0.17.1

func (m *OracleParams) XXX_DiscardUnknown()

func (*OracleParams) XXX_Marshal added in v0.17.1

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

func (*OracleParams) XXX_Merge added in v0.17.1

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

func (*OracleParams) XXX_Size added in v0.17.1

func (m *OracleParams) XXX_Size() int

func (*OracleParams) XXX_Unmarshal added in v0.17.1

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

type OracleRequest added in v0.17.0

type OracleRequest struct {
	// ID is the ID of the request
	ID int64 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty" yaml:"id"`
	// OracleScriptID is ID of an oracle script
	OracleScriptID int64 `` /* 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 added in v0.17.0

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

NewOracleRequest allows to build a new OracleRequest instance

func (*OracleRequest) Descriptor added in v0.17.0

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

func (*OracleRequest) Equal added in v0.17.0

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

func (*OracleRequest) Marshal added in v0.17.0

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

func (*OracleRequest) MarshalTo added in v0.17.0

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

func (*OracleRequest) MarshalToSizedBuffer added in v0.17.0

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

func (*OracleRequest) ProtoMessage added in v0.17.0

func (*OracleRequest) ProtoMessage()

func (*OracleRequest) Reset added in v0.17.0

func (m *OracleRequest) Reset()

func (*OracleRequest) Size added in v0.17.0

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

func (*OracleRequest) String added in v0.17.0

func (m *OracleRequest) String() string

func (*OracleRequest) Unmarshal added in v0.17.0

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

func (OracleRequest) Validate added in v0.17.0

func (o OracleRequest) Validate() error

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

func (*OracleRequest) XXX_DiscardUnknown added in v0.17.0

func (m *OracleRequest) XXX_DiscardUnknown()

func (*OracleRequest) XXX_Marshal added in v0.17.0

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

func (*OracleRequest) XXX_Merge added in v0.17.0

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

func (*OracleRequest) XXX_Size added in v0.17.0

func (m *OracleRequest) XXX_Size() int

func (*OracleRequest) XXX_Unmarshal added in v0.17.0

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

type OracleRequest_CallData added in v0.17.0

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

func NewOracleRequestCallData(application, callData string) OracleRequest_CallData

NewOracleRequestCallData allows to build a new OracleRequest_CallData instance

func (*OracleRequest_CallData) Descriptor added in v0.17.0

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

func (*OracleRequest_CallData) Equal added in v0.17.0

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

func (*OracleRequest_CallData) GetApplication added in v0.17.0

func (m *OracleRequest_CallData) GetApplication() string

func (*OracleRequest_CallData) GetCallData added in v0.17.0

func (m *OracleRequest_CallData) GetCallData() string

func (*OracleRequest_CallData) Marshal added in v0.17.0

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

func (*OracleRequest_CallData) MarshalTo added in v0.17.0

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

func (*OracleRequest_CallData) MarshalToSizedBuffer added in v0.17.0

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

func (*OracleRequest_CallData) ProtoMessage added in v0.17.0

func (*OracleRequest_CallData) ProtoMessage()

func (*OracleRequest_CallData) Reset added in v0.17.0

func (m *OracleRequest_CallData) Reset()

func (*OracleRequest_CallData) Size added in v0.17.0

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

func (*OracleRequest_CallData) String added in v0.17.0

func (m *OracleRequest_CallData) String() string

func (*OracleRequest_CallData) Unmarshal added in v0.17.0

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

func (OracleRequest_CallData) Validate added in v0.17.0

func (c OracleRequest_CallData) Validate() error

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

func (*OracleRequest_CallData) XXX_DiscardUnknown added in v0.17.0

func (m *OracleRequest_CallData) XXX_DiscardUnknown()

func (*OracleRequest_CallData) XXX_Marshal added in v0.17.0

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

func (*OracleRequest_CallData) XXX_Merge added in v0.17.0

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

func (*OracleRequest_CallData) XXX_Size added in v0.17.0

func (m *OracleRequest_CallData) XXX_Size() int

func (*OracleRequest_CallData) XXX_Unmarshal added in v0.17.0

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

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

func (*Params) Marshal added in v0.15.0

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

func (*Params) MarshalTo added in v0.15.0

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

func (*Params) MarshalToSizedBuffer added in v0.15.0

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

func (*Params) ProtoMessage()

func (*Params) Reset added in v0.15.0

func (m *Params) Reset()

func (*Params) Size added in v0.15.0

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

func (*Params) String

func (m *Params) String() string

func (*Params) Unmarshal added in v0.15.0

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

func (m *Params) XXX_DiscardUnknown()

func (*Params) XXX_Marshal added in v0.15.0

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

func (*Params) XXX_Merge added in v0.15.0

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

func (*Params) XXX_Size added in v0.15.0

func (m *Params) XXX_Size() int

func (*Params) XXX_Unmarshal added in v0.15.0

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

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

func (*Pictures) Equal added in v0.15.0

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

func (*Pictures) GetCover added in v0.15.0

func (m *Pictures) GetCover() string

func (*Pictures) GetProfile added in v0.15.0

func (m *Pictures) GetProfile() string

func (*Pictures) Marshal added in v0.15.0

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

func (*Pictures) MarshalTo added in v0.15.0

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

func (*Pictures) MarshalToSizedBuffer added in v0.15.0

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

func (*Pictures) ProtoMessage added in v0.15.0

func (*Pictures) ProtoMessage()

func (*Pictures) Reset added in v0.15.0

func (m *Pictures) Reset()

func (*Pictures) Size added in v0.15.0

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

func (*Pictures) String added in v0.15.0

func (m *Pictures) String() string

func (*Pictures) Unmarshal added in v0.15.0

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

func (m *Pictures) XXX_DiscardUnknown()

func (*Pictures) XXX_Marshal added in v0.15.0

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

func (*Pictures) XXX_Merge added in v0.15.0

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

func (*Pictures) XXX_Size added in v0.15.0

func (m *Pictures) XXX_Size() int

func (*Pictures) XXX_Unmarshal added in v0.15.0

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

type PortKeeper added in v0.17.0

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

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

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

func (*Profile) GetAccount added in v0.16.0

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

GetAccount returns the underlying account as an authtypes.AccountI instance

func (*Profile) GetAccountNumber added in v0.16.0

func (p *Profile) GetAccountNumber() uint64

GetAccountNumber implements authtypes.AccountI

func (*Profile) GetAddress added in v0.16.0

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

GetAddress implements authtypes.AccountI

func (*Profile) GetPubKey added in v0.16.0

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

GetPubKey implements authtypes.AccountI

func (*Profile) GetSequence added in v0.16.0

func (p *Profile) GetSequence() uint64

GetSequence implements authtypes.AccountI

func (*Profile) Marshal added in v0.15.0

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

func (Profile) MarshalJSON added in v0.16.0

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

MarshalJSON returns the JSON representation of a Profile.

func (*Profile) MarshalTo added in v0.15.0

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

func (*Profile) MarshalToSizedBuffer added in v0.15.0

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

func (*Profile) MarshalYAML added in v0.16.0

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

MarshalYAML returns the YAML representation of a Profile.

func (*Profile) ProtoMessage added in v0.15.0

func (*Profile) ProtoMessage()

func (*Profile) Reset added in v0.15.0

func (m *Profile) Reset()

func (*Profile) SetAccountNumber added in v0.16.0

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

SetAccountNumber implements authtypes.AccountI

func (*Profile) SetAddress added in v0.16.0

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

SetAddress implements authtypes.AccountI

func (*Profile) SetPubKey added in v0.16.0

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

SetPubKey implements authtypes.AccountI

func (*Profile) SetSequence added in v0.16.0

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

SetSequence implements authtypes.AccountI

func (*Profile) Size added in v0.15.0

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

func (*Profile) String

func (p *Profile) String() string

String implements authtypes.AccountI implements stringer

func (*Profile) Unmarshal added in v0.15.0

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

func (*Profile) UnpackInterfaces added in v0.16.0

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

UnpackInterfaces implements codectypes.UnpackInterfacesMessage

func (*Profile) Update added in v0.15.0

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

Update updates the fields of a given profile. An error is returned if the resulting profile contains invalid values.

func (*Profile) Validate

func (p *Profile) Validate() error

Validate check the validity of the Profile

func (*Profile) XXX_DiscardUnknown added in v0.15.0

func (m *Profile) XXX_DiscardUnknown()

func (*Profile) XXX_Marshal added in v0.15.0

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

func (*Profile) XXX_Merge added in v0.15.0

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

func (*Profile) XXX_Size added in v0.15.0

func (m *Profile) XXX_Size() int

func (*Profile) XXX_Unmarshal added in v0.15.0

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

type ProfileUpdate added in v0.16.0

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

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

NewProfileUpdate builds a new ProfileUpdate instance containing the given data

type Proof added in v0.17.0

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

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

NewProof is a constructor function for Proof nolint:interfacer

func (*Proof) Descriptor added in v0.17.0

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

func (*Proof) Equal added in v0.17.0

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

func (*Proof) Marshal added in v0.17.0

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

func (*Proof) MarshalTo added in v0.17.0

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

func (*Proof) MarshalToSizedBuffer added in v0.17.0

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

func (*Proof) ProtoMessage added in v0.17.0

func (*Proof) ProtoMessage()

func (*Proof) Reset added in v0.17.0

func (m *Proof) Reset()

func (*Proof) Size added in v0.17.0

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

func (*Proof) String added in v0.17.0

func (m *Proof) String() string

func (*Proof) Unmarshal added in v0.17.0

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

func (*Proof) UnpackInterfaces added in v0.17.0

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

UnpackInterfaces implements codectypes.UnpackInterfacesMessage

func (Proof) Validate added in v0.17.0

func (p Proof) Validate() error

Validate checks the validity of the Proof

func (Proof) Verify added in v0.17.0

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

func (m *Proof) XXX_DiscardUnknown()

func (*Proof) XXX_Marshal added in v0.17.0

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

func (*Proof) XXX_Merge added in v0.17.0

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

func (*Proof) XXX_Size added in v0.17.0

func (m *Proof) XXX_Size() int

func (*Proof) XXX_Unmarshal added in v0.17.0

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

type QueryApplicationLinkByClientIDRequest added in v0.17.0

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

func NewQueryApplicationLinkByClientIDRequest(clientID string) *QueryApplicationLinkByClientIDRequest

NewQueryApplicationLinkByClientIDRequest returns a new QueryApplicationLinkByClientIDRequest instance

func (*QueryApplicationLinkByClientIDRequest) Descriptor added in v0.17.0

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

func (*QueryApplicationLinkByClientIDRequest) GetClientId added in v0.17.0

func (*QueryApplicationLinkByClientIDRequest) Marshal added in v0.17.0

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

func (*QueryApplicationLinkByClientIDRequest) MarshalTo added in v0.17.0

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

func (*QueryApplicationLinkByClientIDRequest) MarshalToSizedBuffer added in v0.17.0

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

func (*QueryApplicationLinkByClientIDRequest) ProtoMessage added in v0.17.0

func (*QueryApplicationLinkByClientIDRequest) ProtoMessage()

func (*QueryApplicationLinkByClientIDRequest) Reset added in v0.17.0

func (*QueryApplicationLinkByClientIDRequest) Size added in v0.17.0

func (*QueryApplicationLinkByClientIDRequest) String added in v0.17.0

func (*QueryApplicationLinkByClientIDRequest) Unmarshal added in v0.17.0

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

func (*QueryApplicationLinkByClientIDRequest) XXX_DiscardUnknown added in v0.17.0

func (m *QueryApplicationLinkByClientIDRequest) XXX_DiscardUnknown()

func (*QueryApplicationLinkByClientIDRequest) XXX_Marshal added in v0.17.0

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

func (*QueryApplicationLinkByClientIDRequest) XXX_Merge added in v0.17.0

func (*QueryApplicationLinkByClientIDRequest) XXX_Size added in v0.17.0

func (*QueryApplicationLinkByClientIDRequest) XXX_Unmarshal added in v0.17.0

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

type QueryApplicationLinkByClientIDResponse added in v0.17.0

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

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

func (*QueryApplicationLinkByClientIDResponse) Marshal added in v0.17.0

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

func (*QueryApplicationLinkByClientIDResponse) MarshalTo added in v0.17.0

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

func (*QueryApplicationLinkByClientIDResponse) MarshalToSizedBuffer added in v0.17.0

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

func (*QueryApplicationLinkByClientIDResponse) ProtoMessage added in v0.17.0

func (*QueryApplicationLinkByClientIDResponse) Reset added in v0.17.0

func (*QueryApplicationLinkByClientIDResponse) Size added in v0.17.0

func (*QueryApplicationLinkByClientIDResponse) String added in v0.17.0

func (*QueryApplicationLinkByClientIDResponse) Unmarshal added in v0.17.0

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

func (*QueryApplicationLinkByClientIDResponse) XXX_DiscardUnknown added in v0.17.0

func (m *QueryApplicationLinkByClientIDResponse) XXX_DiscardUnknown()

func (*QueryApplicationLinkByClientIDResponse) XXX_Marshal added in v0.17.0

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

func (*QueryApplicationLinkByClientIDResponse) XXX_Merge added in v0.17.0

func (*QueryApplicationLinkByClientIDResponse) XXX_Size added in v0.17.0

func (*QueryApplicationLinkByClientIDResponse) XXX_Unmarshal added in v0.17.0

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

type QueryClient added in v0.15.0

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)
	// UserRelationships queries the relationships for the user having the given
	// address
	UserRelationships(ctx context.Context, in *QueryUserRelationshipsRequest, opts ...grpc.CallOption) (*QueryUserRelationshipsResponse, error)
	// UserBlocks queries the user blocks for the user having the given address
	UserBlocks(ctx context.Context, in *QueryUserBlocksRequest, opts ...grpc.CallOption) (*QueryUserBlocksResponse, error)
	// UserChainLinks queries chain links for the given user
	UserChainLinks(ctx context.Context, in *QueryUserChainLinksRequest, opts ...grpc.CallOption) (*QueryUserChainLinksResponse, 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)
	// UserApplicationLinks queries application links for the given user
	UserApplicationLinks(ctx context.Context, in *QueryUserApplicationLinksRequest, opts ...grpc.CallOption) (*QueryUserApplicationLinksResponse, 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 added in v0.15.0

func NewQueryClient(cc grpc1.ClientConn) QueryClient

type QueryIncomingDTagTransferRequestsRequest added in v0.17.0

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

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

NewQueryIncomingDTagTransferRequestsRequest returns a new QueryIncomingDTagTransferRequestsRequest instance

func (*QueryIncomingDTagTransferRequestsRequest) Descriptor added in v0.17.0

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

func (*QueryIncomingDTagTransferRequestsRequest) Marshal added in v0.17.0

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

func (*QueryIncomingDTagTransferRequestsRequest) MarshalTo added in v0.17.0

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

func (*QueryIncomingDTagTransferRequestsRequest) MarshalToSizedBuffer added in v0.17.0

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

func (*QueryIncomingDTagTransferRequestsRequest) ProtoMessage added in v0.17.0

func (*QueryIncomingDTagTransferRequestsRequest) Reset added in v0.17.0

func (*QueryIncomingDTagTransferRequestsRequest) Size added in v0.17.0

func (*QueryIncomingDTagTransferRequestsRequest) String added in v0.17.0

func (*QueryIncomingDTagTransferRequestsRequest) Unmarshal added in v0.17.0

func (*QueryIncomingDTagTransferRequestsRequest) XXX_DiscardUnknown added in v0.17.0

func (m *QueryIncomingDTagTransferRequestsRequest) XXX_DiscardUnknown()

func (*QueryIncomingDTagTransferRequestsRequest) XXX_Marshal added in v0.17.0

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

func (*QueryIncomingDTagTransferRequestsRequest) XXX_Merge added in v0.17.0

func (*QueryIncomingDTagTransferRequestsRequest) XXX_Size added in v0.17.0

func (*QueryIncomingDTagTransferRequestsRequest) XXX_Unmarshal added in v0.17.0

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

type QueryIncomingDTagTransferRequestsResponse added in v0.17.0

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

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

func (*QueryIncomingDTagTransferRequestsResponse) GetPagination added in v0.17.0

func (*QueryIncomingDTagTransferRequestsResponse) GetRequests added in v0.17.0

func (*QueryIncomingDTagTransferRequestsResponse) Marshal added in v0.17.0

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

func (*QueryIncomingDTagTransferRequestsResponse) MarshalTo added in v0.17.0

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

func (*QueryIncomingDTagTransferRequestsResponse) MarshalToSizedBuffer added in v0.17.0

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

func (*QueryIncomingDTagTransferRequestsResponse) ProtoMessage added in v0.17.0

func (*QueryIncomingDTagTransferRequestsResponse) Reset added in v0.17.0

func (*QueryIncomingDTagTransferRequestsResponse) Size added in v0.17.0

func (*QueryIncomingDTagTransferRequestsResponse) String added in v0.17.0

func (*QueryIncomingDTagTransferRequestsResponse) Unmarshal added in v0.17.0

func (*QueryIncomingDTagTransferRequestsResponse) XXX_DiscardUnknown added in v0.17.0

func (m *QueryIncomingDTagTransferRequestsResponse) XXX_DiscardUnknown()

func (*QueryIncomingDTagTransferRequestsResponse) XXX_Marshal added in v0.17.0

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

func (*QueryIncomingDTagTransferRequestsResponse) XXX_Merge added in v0.17.0

func (*QueryIncomingDTagTransferRequestsResponse) XXX_Size added in v0.17.0

func (*QueryIncomingDTagTransferRequestsResponse) XXX_Unmarshal added in v0.17.0

type QueryParamsRequest added in v0.15.0

type QueryParamsRequest struct {
}

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

func (*QueryParamsRequest) Descriptor added in v0.15.0

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

func (*QueryParamsRequest) Marshal added in v0.15.0

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

func (*QueryParamsRequest) MarshalTo added in v0.15.0

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

func (*QueryParamsRequest) MarshalToSizedBuffer added in v0.15.0

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

func (*QueryParamsRequest) ProtoMessage added in v0.15.0

func (*QueryParamsRequest) ProtoMessage()

func (*QueryParamsRequest) Reset added in v0.15.0

func (m *QueryParamsRequest) Reset()

func (*QueryParamsRequest) Size added in v0.15.0

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

func (*QueryParamsRequest) String added in v0.15.0

func (m *QueryParamsRequest) String() string

func (*QueryParamsRequest) Unmarshal added in v0.15.0

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

func (*QueryParamsRequest) XXX_DiscardUnknown added in v0.15.0

func (m *QueryParamsRequest) XXX_DiscardUnknown()

func (*QueryParamsRequest) XXX_Marshal added in v0.15.0

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

func (*QueryParamsRequest) XXX_Merge added in v0.15.0

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

func (*QueryParamsRequest) XXX_Size added in v0.15.0

func (m *QueryParamsRequest) XXX_Size() int

func (*QueryParamsRequest) XXX_Unmarshal added in v0.15.0

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

type QueryParamsResponse added in v0.15.0

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

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

func (*QueryParamsResponse) GetParams added in v0.15.0

func (m *QueryParamsResponse) GetParams() Params

func (*QueryParamsResponse) Marshal added in v0.15.0

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

func (*QueryParamsResponse) MarshalTo added in v0.15.0

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

func (*QueryParamsResponse) MarshalToSizedBuffer added in v0.15.0

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

func (*QueryParamsResponse) ProtoMessage added in v0.15.0

func (*QueryParamsResponse) ProtoMessage()

func (*QueryParamsResponse) Reset added in v0.15.0

func (m *QueryParamsResponse) Reset()

func (*QueryParamsResponse) Size added in v0.15.0

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

func (*QueryParamsResponse) String added in v0.15.0

func (m *QueryParamsResponse) String() string

func (*QueryParamsResponse) Unmarshal added in v0.15.0

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

func (*QueryParamsResponse) XXX_DiscardUnknown added in v0.15.0

func (m *QueryParamsResponse) XXX_DiscardUnknown()

func (*QueryParamsResponse) XXX_Marshal added in v0.15.0

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

func (*QueryParamsResponse) XXX_Merge added in v0.15.0

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

func (*QueryParamsResponse) XXX_Size added in v0.15.0

func (m *QueryParamsResponse) XXX_Size() int

func (*QueryParamsResponse) XXX_Unmarshal added in v0.15.0

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

type QueryProfileRequest added in v0.15.0

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

func NewQueryProfileRequest(user string) *QueryProfileRequest

NewQueryProfileRequest returns a new QueryProfileRequest containing the given data

func (*QueryProfileRequest) Descriptor added in v0.15.0

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

func (*QueryProfileRequest) Marshal added in v0.15.0

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

func (*QueryProfileRequest) MarshalTo added in v0.15.0

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

func (*QueryProfileRequest) MarshalToSizedBuffer added in v0.15.0

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

func (*QueryProfileRequest) ProtoMessage added in v0.15.0

func (*QueryProfileRequest) ProtoMessage()

func (*QueryProfileRequest) Reset added in v0.15.0

func (m *QueryProfileRequest) Reset()

func (*QueryProfileRequest) Size added in v0.15.0

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

func (*QueryProfileRequest) String added in v0.15.0

func (m *QueryProfileRequest) String() string

func (*QueryProfileRequest) Unmarshal added in v0.15.0

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

func (*QueryProfileRequest) XXX_DiscardUnknown added in v0.15.0

func (m *QueryProfileRequest) XXX_DiscardUnknown()

func (*QueryProfileRequest) XXX_Marshal added in v0.15.0

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

func (*QueryProfileRequest) XXX_Merge added in v0.15.0

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

func (*QueryProfileRequest) XXX_Size added in v0.15.0

func (m *QueryProfileRequest) XXX_Size() int

func (*QueryProfileRequest) XXX_Unmarshal added in v0.15.0

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

type QueryProfileResponse added in v0.15.0

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

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

func (*QueryProfileResponse) GetProfile added in v0.15.0

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

func (*QueryProfileResponse) Marshal added in v0.15.0

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

func (*QueryProfileResponse) MarshalTo added in v0.15.0

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

func (*QueryProfileResponse) MarshalToSizedBuffer added in v0.15.0

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

func (*QueryProfileResponse) ProtoMessage added in v0.15.0

func (*QueryProfileResponse) ProtoMessage()

func (*QueryProfileResponse) Reset added in v0.15.0

func (m *QueryProfileResponse) Reset()

func (*QueryProfileResponse) Size added in v0.15.0

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

func (*QueryProfileResponse) String added in v0.15.0

func (m *QueryProfileResponse) String() string

func (*QueryProfileResponse) Unmarshal added in v0.15.0

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

func (*QueryProfileResponse) UnpackInterfaces added in v0.16.0

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

UnpackInterfaces implements codectypes.UnpackInterfacesMessage

func (*QueryProfileResponse) XXX_DiscardUnknown added in v0.15.0

func (m *QueryProfileResponse) XXX_DiscardUnknown()

func (*QueryProfileResponse) XXX_Marshal added in v0.15.0

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

func (*QueryProfileResponse) XXX_Merge added in v0.15.0

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

func (*QueryProfileResponse) XXX_Size added in v0.15.0

func (m *QueryProfileResponse) XXX_Size() int

func (*QueryProfileResponse) XXX_Unmarshal added in v0.15.0

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

type QueryServer added in v0.15.0

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)
	// UserRelationships queries the relationships for the user having the given
	// address
	UserRelationships(context.Context, *QueryUserRelationshipsRequest) (*QueryUserRelationshipsResponse, error)
	// UserBlocks queries the user blocks for the user having the given address
	UserBlocks(context.Context, *QueryUserBlocksRequest) (*QueryUserBlocksResponse, error)
	// UserChainLinks queries chain links for the given user
	UserChainLinks(context.Context, *QueryUserChainLinksRequest) (*QueryUserChainLinksResponse, error)
	// UserChainLink queries the chain link for the given user, chain name and
	// target address
	UserChainLink(context.Context, *QueryUserChainLinkRequest) (*QueryUserChainLinkResponse, error)
	// UserApplicationLinks queries application links for the given user
	UserApplicationLinks(context.Context, *QueryUserApplicationLinksRequest) (*QueryUserApplicationLinksResponse, 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 added in v0.17.0

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

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

NewQueryUserApplicationLinkRequest returns a new QueryUserApplicationLinkRequest instance

func (*QueryUserApplicationLinkRequest) Descriptor added in v0.17.0

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

func (*QueryUserApplicationLinkRequest) GetApplication added in v0.17.0

func (m *QueryUserApplicationLinkRequest) GetApplication() string

func (*QueryUserApplicationLinkRequest) GetUser added in v0.17.0

func (*QueryUserApplicationLinkRequest) GetUsername added in v0.17.0

func (m *QueryUserApplicationLinkRequest) GetUsername() string

func (*QueryUserApplicationLinkRequest) Marshal added in v0.17.0

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

func (*QueryUserApplicationLinkRequest) MarshalTo added in v0.17.0

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

func (*QueryUserApplicationLinkRequest) MarshalToSizedBuffer added in v0.17.0

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

func (*QueryUserApplicationLinkRequest) ProtoMessage added in v0.17.0

func (*QueryUserApplicationLinkRequest) ProtoMessage()

func (*QueryUserApplicationLinkRequest) Reset added in v0.17.0

func (*QueryUserApplicationLinkRequest) Size added in v0.17.0

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

func (*QueryUserApplicationLinkRequest) String added in v0.17.0

func (*QueryUserApplicationLinkRequest) Unmarshal added in v0.17.0

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

func (*QueryUserApplicationLinkRequest) XXX_DiscardUnknown added in v0.17.0

func (m *QueryUserApplicationLinkRequest) XXX_DiscardUnknown()

func (*QueryUserApplicationLinkRequest) XXX_Marshal added in v0.17.0

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

func (*QueryUserApplicationLinkRequest) XXX_Merge added in v0.17.0

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

func (*QueryUserApplicationLinkRequest) XXX_Size added in v0.17.0

func (m *QueryUserApplicationLinkRequest) XXX_Size() int

func (*QueryUserApplicationLinkRequest) XXX_Unmarshal added in v0.17.0

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

type QueryUserApplicationLinkResponse added in v0.17.0

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

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

func (*QueryUserApplicationLinkResponse) Marshal added in v0.17.0

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

func (*QueryUserApplicationLinkResponse) MarshalTo added in v0.17.0

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

func (*QueryUserApplicationLinkResponse) MarshalToSizedBuffer added in v0.17.0

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

func (*QueryUserApplicationLinkResponse) ProtoMessage added in v0.17.0

func (*QueryUserApplicationLinkResponse) ProtoMessage()

func (*QueryUserApplicationLinkResponse) Reset added in v0.17.0

func (*QueryUserApplicationLinkResponse) Size added in v0.17.0

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

func (*QueryUserApplicationLinkResponse) String added in v0.17.0

func (*QueryUserApplicationLinkResponse) Unmarshal added in v0.17.0

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

func (*QueryUserApplicationLinkResponse) XXX_DiscardUnknown added in v0.17.0

func (m *QueryUserApplicationLinkResponse) XXX_DiscardUnknown()

func (*QueryUserApplicationLinkResponse) XXX_Marshal added in v0.17.0

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

func (*QueryUserApplicationLinkResponse) XXX_Merge added in v0.17.0

func (*QueryUserApplicationLinkResponse) XXX_Size added in v0.17.0

func (m *QueryUserApplicationLinkResponse) XXX_Size() int

func (*QueryUserApplicationLinkResponse) XXX_Unmarshal added in v0.17.0

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

type QueryUserApplicationLinksRequest added in v0.17.0

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

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

func NewQueryUserApplicationLinksRequest added in v0.17.0

func NewQueryUserApplicationLinksRequest(user string, pageReq *query.PageRequest) *QueryUserApplicationLinksRequest

NewQueryUserApplicationLinksRequest returns a new QueryUserApplicationLinksRequest instance

func (*QueryUserApplicationLinksRequest) Descriptor added in v0.17.0

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

func (*QueryUserApplicationLinksRequest) GetPagination added in v0.17.0

func (*QueryUserApplicationLinksRequest) GetUser added in v0.17.0

func (*QueryUserApplicationLinksRequest) Marshal added in v0.17.0

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

func (*QueryUserApplicationLinksRequest) MarshalTo added in v0.17.0

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

func (*QueryUserApplicationLinksRequest) MarshalToSizedBuffer added in v0.17.0

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

func (*QueryUserApplicationLinksRequest) ProtoMessage added in v0.17.0

func (*QueryUserApplicationLinksRequest) ProtoMessage()

func (*QueryUserApplicationLinksRequest) Reset added in v0.17.0

func (*QueryUserApplicationLinksRequest) Size added in v0.17.0

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

func (*QueryUserApplicationLinksRequest) String added in v0.17.0

func (*QueryUserApplicationLinksRequest) Unmarshal added in v0.17.0

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

func (*QueryUserApplicationLinksRequest) XXX_DiscardUnknown added in v0.17.0

func (m *QueryUserApplicationLinksRequest) XXX_DiscardUnknown()

func (*QueryUserApplicationLinksRequest) XXX_Marshal added in v0.17.0

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

func (*QueryUserApplicationLinksRequest) XXX_Merge added in v0.17.0

func (*QueryUserApplicationLinksRequest) XXX_Size added in v0.17.0

func (m *QueryUserApplicationLinksRequest) XXX_Size() int

func (*QueryUserApplicationLinksRequest) XXX_Unmarshal added in v0.17.0

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

type QueryUserApplicationLinksResponse added in v0.17.0

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

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

func (*QueryUserApplicationLinksResponse) Descriptor added in v0.17.0

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

func (*QueryUserApplicationLinksResponse) GetPagination added in v0.17.0

func (*QueryUserApplicationLinksResponse) Marshal added in v0.17.0

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

func (*QueryUserApplicationLinksResponse) MarshalTo added in v0.17.0

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

func (*QueryUserApplicationLinksResponse) MarshalToSizedBuffer added in v0.17.0

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

func (*QueryUserApplicationLinksResponse) ProtoMessage added in v0.17.0

func (*QueryUserApplicationLinksResponse) ProtoMessage()

func (*QueryUserApplicationLinksResponse) Reset added in v0.17.0

func (*QueryUserApplicationLinksResponse) Size added in v0.17.0

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

func (*QueryUserApplicationLinksResponse) String added in v0.17.0

func (*QueryUserApplicationLinksResponse) Unmarshal added in v0.17.0

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

func (*QueryUserApplicationLinksResponse) XXX_DiscardUnknown added in v0.17.0

func (m *QueryUserApplicationLinksResponse) XXX_DiscardUnknown()

func (*QueryUserApplicationLinksResponse) XXX_Marshal added in v0.17.0

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

func (*QueryUserApplicationLinksResponse) XXX_Merge added in v0.17.0

func (*QueryUserApplicationLinksResponse) XXX_Size added in v0.17.0

func (m *QueryUserApplicationLinksResponse) XXX_Size() int

func (*QueryUserApplicationLinksResponse) XXX_Unmarshal added in v0.17.0

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

type QueryUserBlocksRequest added in v0.16.0

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

QueryUserBlocksRequest is the request type for the Query/UserBlocks RPC endpoint

func (*QueryUserBlocksRequest) Descriptor added in v0.16.0

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

func (*QueryUserBlocksRequest) Marshal added in v0.16.0

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

func (*QueryUserBlocksRequest) MarshalTo added in v0.16.0

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

func (*QueryUserBlocksRequest) MarshalToSizedBuffer added in v0.16.0

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

func (*QueryUserBlocksRequest) ProtoMessage added in v0.16.0

func (*QueryUserBlocksRequest) ProtoMessage()

func (*QueryUserBlocksRequest) Reset added in v0.16.0

func (m *QueryUserBlocksRequest) Reset()

func (*QueryUserBlocksRequest) Size added in v0.16.0

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

func (*QueryUserBlocksRequest) String added in v0.16.0

func (m *QueryUserBlocksRequest) String() string

func (*QueryUserBlocksRequest) Unmarshal added in v0.16.0

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

func (*QueryUserBlocksRequest) XXX_DiscardUnknown added in v0.16.0

func (m *QueryUserBlocksRequest) XXX_DiscardUnknown()

func (*QueryUserBlocksRequest) XXX_Marshal added in v0.16.0

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

func (*QueryUserBlocksRequest) XXX_Merge added in v0.16.0

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

func (*QueryUserBlocksRequest) XXX_Size added in v0.16.0

func (m *QueryUserBlocksRequest) XXX_Size() int

func (*QueryUserBlocksRequest) XXX_Unmarshal added in v0.16.0

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

type QueryUserBlocksResponse added in v0.16.0

type QueryUserBlocksResponse struct {
	// blocks represent the list of all the blocks for the queried user
	Blocks     []UserBlock         `protobuf:"bytes,1,rep,name=blocks,proto3" json:"blocks"`
	Pagination *query.PageResponse `protobuf:"bytes,2,opt,name=pagination,proto3" json:"pagination,omitempty"`
}

QueryUserBlocksResponse is the response type for the Query/UserBlocks RPC method.

func (*QueryUserBlocksResponse) Descriptor added in v0.16.0

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

func (*QueryUserBlocksResponse) GetBlocks added in v0.16.0

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

func (*QueryUserBlocksResponse) GetPagination added in v0.17.0

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

func (*QueryUserBlocksResponse) Marshal added in v0.16.0

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

func (*QueryUserBlocksResponse) MarshalTo added in v0.16.0

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

func (*QueryUserBlocksResponse) MarshalToSizedBuffer added in v0.16.0

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

func (*QueryUserBlocksResponse) ProtoMessage added in v0.16.0

func (*QueryUserBlocksResponse) ProtoMessage()

func (*QueryUserBlocksResponse) Reset added in v0.16.0

func (m *QueryUserBlocksResponse) Reset()

func (*QueryUserBlocksResponse) Size added in v0.16.0

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

func (*QueryUserBlocksResponse) String added in v0.16.0

func (m *QueryUserBlocksResponse) String() string

func (*QueryUserBlocksResponse) Unmarshal added in v0.16.0

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

func (*QueryUserBlocksResponse) XXX_DiscardUnknown added in v0.16.0

func (m *QueryUserBlocksResponse) XXX_DiscardUnknown()

func (*QueryUserBlocksResponse) XXX_Marshal added in v0.16.0

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

func (*QueryUserBlocksResponse) XXX_Merge added in v0.16.0

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

func (*QueryUserBlocksResponse) XXX_Size added in v0.16.0

func (m *QueryUserBlocksResponse) XXX_Size() int

func (*QueryUserBlocksResponse) XXX_Unmarshal added in v0.16.0

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

type QueryUserChainLinkRequest added in v0.17.0

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

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

func (*QueryUserChainLinkRequest) GetChainName added in v0.17.0

func (m *QueryUserChainLinkRequest) GetChainName() string

func (*QueryUserChainLinkRequest) GetTarget added in v0.17.0

func (m *QueryUserChainLinkRequest) GetTarget() string

func (*QueryUserChainLinkRequest) GetUser added in v0.17.0

func (m *QueryUserChainLinkRequest) GetUser() string

func (*QueryUserChainLinkRequest) Marshal added in v0.17.0

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

func (*QueryUserChainLinkRequest) MarshalTo added in v0.17.0

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

func (*QueryUserChainLinkRequest) MarshalToSizedBuffer added in v0.17.0

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

func (*QueryUserChainLinkRequest) ProtoMessage added in v0.17.0

func (*QueryUserChainLinkRequest) ProtoMessage()

func (*QueryUserChainLinkRequest) Reset added in v0.17.0

func (m *QueryUserChainLinkRequest) Reset()

func (*QueryUserChainLinkRequest) Size added in v0.17.0

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

func (*QueryUserChainLinkRequest) String added in v0.17.0

func (m *QueryUserChainLinkRequest) String() string

func (*QueryUserChainLinkRequest) Unmarshal added in v0.17.0

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

func (*QueryUserChainLinkRequest) XXX_DiscardUnknown added in v0.17.0

func (m *QueryUserChainLinkRequest) XXX_DiscardUnknown()

func (*QueryUserChainLinkRequest) XXX_Marshal added in v0.17.0

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

func (*QueryUserChainLinkRequest) XXX_Merge added in v0.17.0

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

func (*QueryUserChainLinkRequest) XXX_Size added in v0.17.0

func (m *QueryUserChainLinkRequest) XXX_Size() int

func (*QueryUserChainLinkRequest) XXX_Unmarshal added in v0.17.0

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

type QueryUserChainLinkResponse added in v0.17.0

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

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

func (*QueryUserChainLinkResponse) Marshal added in v0.17.0

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

func (*QueryUserChainLinkResponse) MarshalTo added in v0.17.0

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

func (*QueryUserChainLinkResponse) MarshalToSizedBuffer added in v0.17.0

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

func (*QueryUserChainLinkResponse) ProtoMessage added in v0.17.0

func (*QueryUserChainLinkResponse) ProtoMessage()

func (*QueryUserChainLinkResponse) Reset added in v0.17.0

func (m *QueryUserChainLinkResponse) Reset()

func (*QueryUserChainLinkResponse) Size added in v0.17.0

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

func (*QueryUserChainLinkResponse) String added in v0.17.0

func (m *QueryUserChainLinkResponse) String() string

func (*QueryUserChainLinkResponse) Unmarshal added in v0.17.0

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

func (*QueryUserChainLinkResponse) XXX_DiscardUnknown added in v0.17.0

func (m *QueryUserChainLinkResponse) XXX_DiscardUnknown()

func (*QueryUserChainLinkResponse) XXX_Marshal added in v0.17.0

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

func (*QueryUserChainLinkResponse) XXX_Merge added in v0.17.0

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

func (*QueryUserChainLinkResponse) XXX_Size added in v0.17.0

func (m *QueryUserChainLinkResponse) XXX_Size() int

func (*QueryUserChainLinkResponse) XXX_Unmarshal added in v0.17.0

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

type QueryUserChainLinksRequest added in v0.17.0

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

QueryUserChainLinksRequest is the request type for the Query/UserChainLinks RPC endpoint

func (*QueryUserChainLinksRequest) Descriptor added in v0.17.0

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

func (*QueryUserChainLinksRequest) GetPagination added in v0.17.0

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

func (*QueryUserChainLinksRequest) GetUser added in v0.17.0

func (m *QueryUserChainLinksRequest) GetUser() string

func (*QueryUserChainLinksRequest) Marshal added in v0.17.0

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

func (*QueryUserChainLinksRequest) MarshalTo added in v0.17.0

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

func (*QueryUserChainLinksRequest) MarshalToSizedBuffer added in v0.17.0

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

func (*QueryUserChainLinksRequest) ProtoMessage added in v0.17.0

func (*QueryUserChainLinksRequest) ProtoMessage()

func (*QueryUserChainLinksRequest) Reset added in v0.17.0

func (m *QueryUserChainLinksRequest) Reset()

func (*QueryUserChainLinksRequest) Size added in v0.17.0

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

func (*QueryUserChainLinksRequest) String added in v0.17.0

func (m *QueryUserChainLinksRequest) String() string

func (*QueryUserChainLinksRequest) Unmarshal added in v0.17.0

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

func (*QueryUserChainLinksRequest) XXX_DiscardUnknown added in v0.17.0

func (m *QueryUserChainLinksRequest) XXX_DiscardUnknown()

func (*QueryUserChainLinksRequest) XXX_Marshal added in v0.17.0

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

func (*QueryUserChainLinksRequest) XXX_Merge added in v0.17.0

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

func (*QueryUserChainLinksRequest) XXX_Size added in v0.17.0

func (m *QueryUserChainLinksRequest) XXX_Size() int

func (*QueryUserChainLinksRequest) XXX_Unmarshal added in v0.17.0

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

type QueryUserChainLinksResponse added in v0.17.0

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

QueryUserChainLinksResponse is the response type for the Query/UserChainLinks RPC method.

func (*QueryUserChainLinksResponse) Descriptor added in v0.17.0

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

func (*QueryUserChainLinksResponse) GetPagination added in v0.17.0

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

func (*QueryUserChainLinksResponse) Marshal added in v0.17.0

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

func (*QueryUserChainLinksResponse) MarshalTo added in v0.17.0

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

func (*QueryUserChainLinksResponse) MarshalToSizedBuffer added in v0.17.0

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

func (*QueryUserChainLinksResponse) ProtoMessage added in v0.17.0

func (*QueryUserChainLinksResponse) ProtoMessage()

func (*QueryUserChainLinksResponse) Reset added in v0.17.0

func (m *QueryUserChainLinksResponse) Reset()

func (*QueryUserChainLinksResponse) Size added in v0.17.0

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

func (*QueryUserChainLinksResponse) String added in v0.17.0

func (m *QueryUserChainLinksResponse) String() string

func (*QueryUserChainLinksResponse) Unmarshal added in v0.17.0

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

func (*QueryUserChainLinksResponse) XXX_DiscardUnknown added in v0.17.0

func (m *QueryUserChainLinksResponse) XXX_DiscardUnknown()

func (*QueryUserChainLinksResponse) XXX_Marshal added in v0.17.0

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

func (*QueryUserChainLinksResponse) XXX_Merge added in v0.17.0

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

func (*QueryUserChainLinksResponse) XXX_Size added in v0.17.0

func (m *QueryUserChainLinksResponse) XXX_Size() int

func (*QueryUserChainLinksResponse) XXX_Unmarshal added in v0.17.0

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

type QueryUserRelationshipsRequest added in v0.16.0

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

QueryUserRelationshipsRequest is the request type for the Query/UserRelationships RPC method.

func (*QueryUserRelationshipsRequest) Descriptor added in v0.16.0

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

func (*QueryUserRelationshipsRequest) Marshal added in v0.16.0

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

func (*QueryUserRelationshipsRequest) MarshalTo added in v0.16.0

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

func (*QueryUserRelationshipsRequest) MarshalToSizedBuffer added in v0.16.0

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

func (*QueryUserRelationshipsRequest) ProtoMessage added in v0.16.0

func (*QueryUserRelationshipsRequest) ProtoMessage()

func (*QueryUserRelationshipsRequest) Reset added in v0.16.0

func (m *QueryUserRelationshipsRequest) Reset()

func (*QueryUserRelationshipsRequest) Size added in v0.16.0

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

func (*QueryUserRelationshipsRequest) String added in v0.16.0

func (*QueryUserRelationshipsRequest) Unmarshal added in v0.16.0

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

func (*QueryUserRelationshipsRequest) XXX_DiscardUnknown added in v0.16.0

func (m *QueryUserRelationshipsRequest) XXX_DiscardUnknown()

func (*QueryUserRelationshipsRequest) XXX_Marshal added in v0.16.0

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

func (*QueryUserRelationshipsRequest) XXX_Merge added in v0.16.0

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

func (*QueryUserRelationshipsRequest) XXX_Size added in v0.16.0

func (m *QueryUserRelationshipsRequest) XXX_Size() int

func (*QueryUserRelationshipsRequest) XXX_Unmarshal added in v0.16.0

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

type QueryUserRelationshipsResponse added in v0.16.0

type QueryUserRelationshipsResponse struct {
	User string `protobuf:"bytes,1,opt,name=user,proto3" json:"user,omitempty"`
	// relationships represent the list of all the relationships for the queried
	// user
	Relationships []Relationship `protobuf:"bytes,2,rep,name=relationships,proto3" json:"relationships"`
	// pagination defines an optional pagination for the request.
	Pagination *query.PageResponse `protobuf:"bytes,3,opt,name=pagination,proto3" json:"pagination,omitempty"`
}

QueryUserRelationshipsResponse is the response type for the Query/UserRelationships RPC method.

func (*QueryUserRelationshipsResponse) Descriptor added in v0.16.0

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

func (*QueryUserRelationshipsResponse) GetPagination added in v0.17.0

func (*QueryUserRelationshipsResponse) GetRelationships added in v0.16.0

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

func (*QueryUserRelationshipsResponse) GetUser added in v0.16.0

func (*QueryUserRelationshipsResponse) Marshal added in v0.16.0

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

func (*QueryUserRelationshipsResponse) MarshalTo added in v0.16.0

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

func (*QueryUserRelationshipsResponse) MarshalToSizedBuffer added in v0.16.0

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

func (*QueryUserRelationshipsResponse) ProtoMessage added in v0.16.0

func (*QueryUserRelationshipsResponse) ProtoMessage()

func (*QueryUserRelationshipsResponse) Reset added in v0.16.0

func (m *QueryUserRelationshipsResponse) Reset()

func (*QueryUserRelationshipsResponse) Size added in v0.16.0

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

func (*QueryUserRelationshipsResponse) String added in v0.16.0

func (*QueryUserRelationshipsResponse) Unmarshal added in v0.16.0

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

func (*QueryUserRelationshipsResponse) XXX_DiscardUnknown added in v0.16.0

func (m *QueryUserRelationshipsResponse) XXX_DiscardUnknown()

func (*QueryUserRelationshipsResponse) XXX_Marshal added in v0.16.0

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

func (*QueryUserRelationshipsResponse) XXX_Merge added in v0.16.0

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

func (*QueryUserRelationshipsResponse) XXX_Size added in v0.16.0

func (m *QueryUserRelationshipsResponse) XXX_Size() int

func (*QueryUserRelationshipsResponse) XXX_Unmarshal added in v0.16.0

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

type Relationship added in v0.16.0

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

func MustUnmarshalRelationship(cdc codec.BinaryMarshaler, bz []byte) Relationship

MustUnmarshalRelationship deserializes the given byte array as a relationship using the provided BinaryMarshaler

func NewRelationship added in v0.16.0

func NewRelationship(creator string, recipient string, subspace string) Relationship

NewRelationship returns a new relationships with the given recipient and subspace

func (*Relationship) Descriptor added in v0.16.0

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

func (*Relationship) Equal added in v0.16.0

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

func (*Relationship) GetCreator added in v0.16.0

func (m *Relationship) GetCreator() string

func (*Relationship) GetRecipient added in v0.16.0

func (m *Relationship) GetRecipient() string

func (*Relationship) GetSubspace added in v0.16.0

func (m *Relationship) GetSubspace() string

func (*Relationship) Marshal added in v0.16.0

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

func (*Relationship) MarshalTo added in v0.16.0

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

func (*Relationship) MarshalToSizedBuffer added in v0.16.0

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

func (*Relationship) ProtoMessage added in v0.16.0

func (*Relationship) ProtoMessage()

func (*Relationship) Reset added in v0.16.0

func (m *Relationship) Reset()

func (*Relationship) Size added in v0.16.0

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

func (*Relationship) String added in v0.16.0

func (m *Relationship) String() string

func (*Relationship) Unmarshal added in v0.16.0

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

func (Relationship) Validate added in v0.16.0

func (r Relationship) Validate() error

Validate implement Validator

func (*Relationship) XXX_DiscardUnknown added in v0.16.0

func (m *Relationship) XXX_DiscardUnknown()

func (*Relationship) XXX_Marshal added in v0.16.0

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

func (*Relationship) XXX_Merge added in v0.16.0

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

func (*Relationship) XXX_Size added in v0.16.0

func (m *Relationship) XXX_Size() int

func (*Relationship) XXX_Unmarshal added in v0.16.0

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

type Result added in v0.17.0

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

func NewErrorResult(error string) *Result

NewErrorResult allows to build a new Result instance representing an error

func NewSuccessResult added in v0.17.0

func NewSuccessResult(value, signature string) *Result

NewSuccessResult allows to build a new Result instance representing a success

func (*Result) Descriptor added in v0.17.0

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

func (*Result) Equal added in v0.17.0

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

func (*Result) GetFailed added in v0.17.0

func (m *Result) GetFailed() *Result_Failed

func (*Result) GetSuccess added in v0.17.0

func (m *Result) GetSuccess() *Result_Success

func (*Result) GetSum added in v0.17.0

func (m *Result) GetSum() isResult_Sum

func (*Result) Marshal added in v0.17.0

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

func (*Result) MarshalTo added in v0.17.0

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

func (*Result) MarshalToSizedBuffer added in v0.17.0

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

func (*Result) ProtoMessage added in v0.17.0

func (*Result) ProtoMessage()

func (*Result) Reset added in v0.17.0

func (m *Result) Reset()

func (*Result) Size added in v0.17.0

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

func (*Result) String added in v0.17.0

func (m *Result) String() string

func (*Result) Unmarshal added in v0.17.0

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

func (*Result) Validate added in v0.17.0

func (r *Result) Validate() error

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

func (*Result) XXX_DiscardUnknown added in v0.17.0

func (m *Result) XXX_DiscardUnknown()

func (*Result) XXX_Marshal added in v0.17.0

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

func (*Result) XXX_Merge added in v0.17.0

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

func (*Result) XXX_OneofWrappers added in v0.17.0

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

XXX_OneofWrappers is for the internal use of the proto package.

func (*Result) XXX_Size added in v0.17.0

func (m *Result) XXX_Size() int

func (*Result) XXX_Unmarshal added in v0.17.0

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

type Result_Failed added in v0.17.0

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

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

func (*Result_Failed) Equal added in v0.17.0

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

func (*Result_Failed) Marshal added in v0.17.0

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

func (*Result_Failed) MarshalTo added in v0.17.0

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

func (*Result_Failed) MarshalToSizedBuffer added in v0.17.0

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

func (*Result_Failed) ProtoMessage added in v0.17.0

func (*Result_Failed) ProtoMessage()

func (*Result_Failed) Reset added in v0.17.0

func (m *Result_Failed) Reset()

func (*Result_Failed) Size added in v0.17.0

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

func (*Result_Failed) String added in v0.17.0

func (m *Result_Failed) String() string

func (*Result_Failed) Unmarshal added in v0.17.0

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

func (*Result_Failed) XXX_DiscardUnknown added in v0.17.0

func (m *Result_Failed) XXX_DiscardUnknown()

func (*Result_Failed) XXX_Marshal added in v0.17.0

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

func (*Result_Failed) XXX_Merge added in v0.17.0

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

func (*Result_Failed) XXX_Size added in v0.17.0

func (m *Result_Failed) XXX_Size() int

func (*Result_Failed) XXX_Unmarshal added in v0.17.0

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

type Result_Failed_ added in v0.17.0

type Result_Failed_ struct {
	Failed *Result_Failed `protobuf:"bytes,2,opt,name=failed,proto3,oneof" json:"failed,omitempty"`
}

func (*Result_Failed_) Equal added in v0.17.0

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

func (*Result_Failed_) MarshalTo added in v0.17.0

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

func (*Result_Failed_) MarshalToSizedBuffer added in v0.17.0

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

func (*Result_Failed_) Size added in v0.17.0

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

func (Result_Failed_) Validate added in v0.17.0

func (r Result_Failed_) Validate() error

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

type Result_Success added in v0.17.0

type Result_Success struct {
	// Value that has be signed by the profile
	Value string `protobuf:"bytes,1,opt,name=value,proto3" json:"value,omitempty" yaml:"value"`
	// 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 added in v0.17.0

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

func (*Result_Success) Equal added in v0.17.0

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

func (*Result_Success) Marshal added in v0.17.0

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

func (*Result_Success) MarshalTo added in v0.17.0

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

func (*Result_Success) MarshalToSizedBuffer added in v0.17.0

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

func (*Result_Success) ProtoMessage added in v0.17.0

func (*Result_Success) ProtoMessage()

func (*Result_Success) Reset added in v0.17.0

func (m *Result_Success) Reset()

func (*Result_Success) Size added in v0.17.0

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

func (*Result_Success) String added in v0.17.0

func (m *Result_Success) String() string

func (*Result_Success) Unmarshal added in v0.17.0

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

func (*Result_Success) XXX_DiscardUnknown added in v0.17.0

func (m *Result_Success) XXX_DiscardUnknown()

func (*Result_Success) XXX_Marshal added in v0.17.0

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

func (*Result_Success) XXX_Merge added in v0.17.0

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

func (*Result_Success) XXX_Size added in v0.17.0

func (m *Result_Success) XXX_Size() int

func (*Result_Success) XXX_Unmarshal added in v0.17.0

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

type Result_Success_ added in v0.17.0

type Result_Success_ struct {
	Success *Result_Success `protobuf:"bytes,1,opt,name=success,proto3,oneof" json:"success,omitempty"`
}

func (*Result_Success_) Equal added in v0.17.0

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

func (*Result_Success_) MarshalTo added in v0.17.0

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

func (*Result_Success_) MarshalToSizedBuffer added in v0.17.0

func (m *Result_Success_) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*Result_Success_) Size added in v0.17.0

func (m *Result_Success_) Size() (n int)

func (Result_Success_) Validate added in v0.17.0

func (r Result_Success_) Validate() error

Validate returns an error if the instance does not contain valid data

type ScopedKeeper added in v0.17.0

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 added in v0.15.0

type UnimplementedMsgServer struct {
}

UnimplementedMsgServer can be embedded to have forward compatible implementations.

func (*UnimplementedMsgServer) AcceptDTagTransferRequest added in v0.17.0

func (*UnimplementedMsgServer) BlockUser added in v0.16.0

func (*UnimplementedMsgServer) CancelDTagTransferRequest added in v0.17.0

func (*UnimplementedMsgServer) CreateRelationship added in v0.16.0

func (*UnimplementedMsgServer) DeleteProfile added in v0.15.0

func (*UnimplementedMsgServer) DeleteRelationship added in v0.16.0

func (*UnimplementedMsgServer) LinkApplication added in v0.17.0

func (*UnimplementedMsgServer) LinkChainAccount added in v0.17.0

func (*UnimplementedMsgServer) RefuseDTagTransferRequest added in v0.17.0

func (*UnimplementedMsgServer) RequestDTagTransfer added in v0.15.0

func (*UnimplementedMsgServer) SaveProfile added in v0.15.0

func (*UnimplementedMsgServer) UnblockUser added in v0.16.0

func (*UnimplementedMsgServer) UnlinkApplication added in v0.17.0

func (*UnimplementedMsgServer) UnlinkChainAccount added in v0.17.0

type UnimplementedQueryServer added in v0.15.0

type UnimplementedQueryServer struct {
}

UnimplementedQueryServer can be embedded to have forward compatible implementations.

func (*UnimplementedQueryServer) ApplicationLinkByClientID added in v0.17.0

func (*UnimplementedQueryServer) IncomingDTagTransferRequests added in v0.17.0

func (*UnimplementedQueryServer) Params added in v0.15.0

func (*UnimplementedQueryServer) Profile added in v0.15.0

func (*UnimplementedQueryServer) UserBlocks added in v0.16.0

func (*UnimplementedQueryServer) UserRelationships added in v0.16.0

type UserBlock added in v0.16.0

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 added in v0.17.0

func MustUnmarshalUserBlock(cdc codec.BinaryMarshaler, bz []byte) UserBlock

MustUnmarshalUserBlock deserializes the given byte array as a UserBlock using the provided BinaryMarshaler

func NewUserBlock added in v0.16.0

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 added in v0.16.0

func (*UserBlock) Descriptor() ([]byte, []int)

func (*UserBlock) Equal added in v0.16.0

func (this *UserBlock) Equal(that interface{}) bool

func (*UserBlock) GetBlocked added in v0.16.0

func (m *UserBlock) GetBlocked() string

func (*UserBlock) GetBlocker added in v0.16.0

func (m *UserBlock) GetBlocker() string

func (*UserBlock) GetReason added in v0.16.0

func (m *UserBlock) GetReason() string

func (*UserBlock) GetSubspace added in v0.16.0

func (m *UserBlock) GetSubspace() string

func (*UserBlock) Marshal added in v0.16.0

func (m *UserBlock) Marshal() (dAtA []byte, err error)

func (*UserBlock) MarshalTo added in v0.16.0

func (m *UserBlock) MarshalTo(dAtA []byte) (int, error)

func (*UserBlock) MarshalToSizedBuffer added in v0.16.0

func (m *UserBlock) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*UserBlock) ProtoMessage added in v0.16.0

func (*UserBlock) ProtoMessage()

func (*UserBlock) Reset added in v0.16.0

func (m *UserBlock) Reset()

func (*UserBlock) Size added in v0.16.0

func (m *UserBlock) Size() (n int)

func (*UserBlock) String added in v0.16.0

func (m *UserBlock) String() string

func (*UserBlock) Unmarshal added in v0.16.0

func (m *UserBlock) Unmarshal(dAtA []byte) error

func (UserBlock) Validate added in v0.16.0

func (ub UserBlock) Validate() error

Validate implements validator

func (*UserBlock) XXX_DiscardUnknown added in v0.16.0

func (m *UserBlock) XXX_DiscardUnknown()

func (*UserBlock) XXX_Marshal added in v0.16.0

func (m *UserBlock) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*UserBlock) XXX_Merge added in v0.16.0

func (m *UserBlock) XXX_Merge(src proto.Message)

func (*UserBlock) XXX_Size added in v0.16.0

func (m *UserBlock) XXX_Size() int

func (*UserBlock) XXX_Unmarshal added in v0.16.0

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