Documentation ¶
Index ¶
- Variables
- type ApplicationLink
- func (*ApplicationLink) Descriptor() ([]byte, []int)
- func (this *ApplicationLink) Equal(that interface{}) bool
- func (m *ApplicationLink) Marshal() (dAtA []byte, err error)
- func (m *ApplicationLink) MarshalTo(dAtA []byte) (int, error)
- func (m *ApplicationLink) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*ApplicationLink) ProtoMessage()
- func (m *ApplicationLink) Reset()
- func (m *ApplicationLink) Size() (n int)
- func (m *ApplicationLink) String() string
- func (m *ApplicationLink) Unmarshal(dAtA []byte) error
- func (m *ApplicationLink) XXX_DiscardUnknown()
- func (m *ApplicationLink) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *ApplicationLink) XXX_Merge(src proto.Message)
- func (m *ApplicationLink) XXX_Size() int
- func (m *ApplicationLink) XXX_Unmarshal(b []byte) error
- type ApplicationLinkState
- type BioParams
- func (*BioParams) Descriptor() ([]byte, []int)
- func (m *BioParams) Marshal() (dAtA []byte, err error)
- func (m *BioParams) MarshalTo(dAtA []byte) (int, error)
- func (m *BioParams) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*BioParams) ProtoMessage()
- func (m *BioParams) Reset()
- func (m *BioParams) Size() (n int)
- func (m *BioParams) String() string
- func (m *BioParams) Unmarshal(dAtA []byte) error
- func (m *BioParams) XXX_DiscardUnknown()
- func (m *BioParams) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *BioParams) XXX_Merge(src proto.Message)
- func (m *BioParams) XXX_Size() int
- func (m *BioParams) XXX_Unmarshal(b []byte) error
- type DTagParams
- func (*DTagParams) Descriptor() ([]byte, []int)
- func (m *DTagParams) Marshal() (dAtA []byte, err error)
- func (m *DTagParams) MarshalTo(dAtA []byte) (int, error)
- func (m *DTagParams) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*DTagParams) ProtoMessage()
- func (m *DTagParams) Reset()
- func (m *DTagParams) Size() (n int)
- func (m *DTagParams) String() string
- func (m *DTagParams) Unmarshal(dAtA []byte) error
- func (m *DTagParams) XXX_DiscardUnknown()
- func (m *DTagParams) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *DTagParams) XXX_Merge(src proto.Message)
- func (m *DTagParams) XXX_Size() int
- func (m *DTagParams) XXX_Unmarshal(b []byte) error
- type Data
- func (*Data) Descriptor() ([]byte, []int)
- func (this *Data) Equal(that interface{}) bool
- func (m *Data) Marshal() (dAtA []byte, err error)
- func (m *Data) MarshalTo(dAtA []byte) (int, error)
- func (m *Data) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*Data) ProtoMessage()
- func (m *Data) Reset()
- func (m *Data) Size() (n int)
- func (m *Data) String() string
- func (m *Data) Unmarshal(dAtA []byte) error
- func (m *Data) XXX_DiscardUnknown()
- func (m *Data) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *Data) XXX_Merge(src proto.Message)
- func (m *Data) XXX_Size() int
- func (m *Data) XXX_Unmarshal(b []byte) error
- type NicknameParams
- func (*NicknameParams) Descriptor() ([]byte, []int)
- func (m *NicknameParams) Marshal() (dAtA []byte, err error)
- func (m *NicknameParams) MarshalTo(dAtA []byte) (int, error)
- func (m *NicknameParams) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*NicknameParams) ProtoMessage()
- func (m *NicknameParams) Reset()
- func (m *NicknameParams) Size() (n int)
- func (m *NicknameParams) String() string
- func (m *NicknameParams) Unmarshal(dAtA []byte) error
- func (m *NicknameParams) XXX_DiscardUnknown()
- func (m *NicknameParams) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *NicknameParams) XXX_Merge(src proto.Message)
- func (m *NicknameParams) XXX_Size() int
- func (m *NicknameParams) XXX_Unmarshal(b []byte) error
- type OracleParams
- func (*OracleParams) Descriptor() ([]byte, []int)
- func (m *OracleParams) Marshal() (dAtA []byte, err error)
- func (m *OracleParams) MarshalTo(dAtA []byte) (int, error)
- func (m *OracleParams) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*OracleParams) ProtoMessage()
- func (m *OracleParams) Reset()
- func (m *OracleParams) Size() (n int)
- func (m *OracleParams) String() string
- func (m *OracleParams) Unmarshal(dAtA []byte) error
- func (m *OracleParams) XXX_DiscardUnknown()
- func (m *OracleParams) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *OracleParams) XXX_Merge(src proto.Message)
- func (m *OracleParams) XXX_Size() int
- func (m *OracleParams) XXX_Unmarshal(b []byte) error
- type OracleRequest
- func (*OracleRequest) Descriptor() ([]byte, []int)
- func (this *OracleRequest) Equal(that interface{}) bool
- func (m *OracleRequest) Marshal() (dAtA []byte, err error)
- func (m *OracleRequest) MarshalTo(dAtA []byte) (int, error)
- func (m *OracleRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*OracleRequest) ProtoMessage()
- func (m *OracleRequest) Reset()
- func (m *OracleRequest) Size() (n int)
- func (m *OracleRequest) String() string
- func (m *OracleRequest) Unmarshal(dAtA []byte) error
- func (m *OracleRequest) XXX_DiscardUnknown()
- func (m *OracleRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *OracleRequest) XXX_Merge(src proto.Message)
- func (m *OracleRequest) XXX_Size() int
- func (m *OracleRequest) XXX_Unmarshal(b []byte) error
- type OracleRequest_CallData
- func (*OracleRequest_CallData) Descriptor() ([]byte, []int)
- func (this *OracleRequest_CallData) Equal(that interface{}) bool
- func (m *OracleRequest_CallData) GetApplication() string
- func (m *OracleRequest_CallData) GetCallData() string
- func (m *OracleRequest_CallData) Marshal() (dAtA []byte, err error)
- func (m *OracleRequest_CallData) MarshalTo(dAtA []byte) (int, error)
- func (m *OracleRequest_CallData) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*OracleRequest_CallData) ProtoMessage()
- func (m *OracleRequest_CallData) Reset()
- func (m *OracleRequest_CallData) Size() (n int)
- func (m *OracleRequest_CallData) String() string
- func (m *OracleRequest_CallData) Unmarshal(dAtA []byte) error
- func (m *OracleRequest_CallData) XXX_DiscardUnknown()
- func (m *OracleRequest_CallData) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *OracleRequest_CallData) XXX_Merge(src proto.Message)
- func (m *OracleRequest_CallData) XXX_Size() int
- func (m *OracleRequest_CallData) XXX_Unmarshal(b []byte) error
- type Params
- func (*Params) Descriptor() ([]byte, []int)
- func (m *Params) Marshal() (dAtA []byte, err error)
- func (m *Params) MarshalTo(dAtA []byte) (int, error)
- func (m *Params) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*Params) ProtoMessage()
- func (m *Params) Reset()
- func (m *Params) Size() (n int)
- func (m *Params) String() string
- func (m *Params) Unmarshal(dAtA []byte) error
- func (m *Params) XXX_DiscardUnknown()
- func (m *Params) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *Params) XXX_Merge(src proto.Message)
- func (m *Params) XXX_Size() int
- func (m *Params) XXX_Unmarshal(b []byte) error
- type Result
- func (*Result) Descriptor() ([]byte, []int)
- func (this *Result) Equal(that interface{}) bool
- func (m *Result) GetFailed() *Result_Failed
- func (m *Result) GetSuccess() *Result_Success
- func (m *Result) GetSum() isResult_Sum
- func (m *Result) Marshal() (dAtA []byte, err error)
- func (m *Result) MarshalTo(dAtA []byte) (int, error)
- func (m *Result) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*Result) ProtoMessage()
- func (m *Result) Reset()
- func (m *Result) Size() (n int)
- func (m *Result) String() string
- func (m *Result) Unmarshal(dAtA []byte) error
- func (m *Result) XXX_DiscardUnknown()
- func (m *Result) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *Result) XXX_Merge(src proto.Message)
- func (*Result) XXX_OneofWrappers() []interface{}
- func (m *Result) XXX_Size() int
- func (m *Result) XXX_Unmarshal(b []byte) error
- type Result_Failed
- func (*Result_Failed) Descriptor() ([]byte, []int)
- func (this *Result_Failed) Equal(that interface{}) bool
- func (m *Result_Failed) Marshal() (dAtA []byte, err error)
- func (m *Result_Failed) MarshalTo(dAtA []byte) (int, error)
- func (m *Result_Failed) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*Result_Failed) ProtoMessage()
- func (m *Result_Failed) Reset()
- func (m *Result_Failed) Size() (n int)
- func (m *Result_Failed) String() string
- func (m *Result_Failed) Unmarshal(dAtA []byte) error
- func (m *Result_Failed) XXX_DiscardUnknown()
- func (m *Result_Failed) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *Result_Failed) XXX_Merge(src proto.Message)
- func (m *Result_Failed) XXX_Size() int
- func (m *Result_Failed) XXX_Unmarshal(b []byte) error
- type Result_Failed_
- type Result_Success
- func (*Result_Success) Descriptor() ([]byte, []int)
- func (this *Result_Success) Equal(that interface{}) bool
- func (m *Result_Success) Marshal() (dAtA []byte, err error)
- func (m *Result_Success) MarshalTo(dAtA []byte) (int, error)
- func (m *Result_Success) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*Result_Success) ProtoMessage()
- func (m *Result_Success) Reset()
- func (m *Result_Success) Size() (n int)
- func (m *Result_Success) String() string
- func (m *Result_Success) Unmarshal(dAtA []byte) error
- func (m *Result_Success) XXX_DiscardUnknown()
- func (m *Result_Success) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *Result_Success) XXX_Merge(src proto.Message)
- func (m *Result_Success) XXX_Size() int
- func (m *Result_Success) XXX_Unmarshal(b []byte) error
- type Result_Success_
Constants ¶
This section is empty.
Variables ¶
var ( ErrInvalidLengthModelsAppLinks = fmt.Errorf("proto: negative length found during unmarshaling") ErrIntOverflowModelsAppLinks = fmt.Errorf("proto: integer overflow") ErrUnexpectedEndOfGroupModelsAppLinks = fmt.Errorf("proto: unexpected end of group") )
var ( ErrInvalidLengthModelsParams = fmt.Errorf("proto: negative length found during unmarshaling") ErrIntOverflowModelsParams = fmt.Errorf("proto: integer overflow") ErrUnexpectedEndOfGroupModelsParams = fmt.Errorf("proto: unexpected end of group") )
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",
}
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 ¶
This section is empty.
Types ¶
type ApplicationLink ¶
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 `` /* 131-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 (*ApplicationLink) Descriptor ¶
func (*ApplicationLink) Descriptor() ([]byte, []int)
func (*ApplicationLink) Equal ¶
func (this *ApplicationLink) Equal(that interface{}) bool
func (*ApplicationLink) Marshal ¶
func (m *ApplicationLink) Marshal() (dAtA []byte, err error)
func (*ApplicationLink) MarshalToSizedBuffer ¶
func (m *ApplicationLink) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*ApplicationLink) ProtoMessage ¶
func (*ApplicationLink) ProtoMessage()
func (*ApplicationLink) Reset ¶
func (m *ApplicationLink) Reset()
func (*ApplicationLink) Size ¶
func (m *ApplicationLink) Size() (n int)
func (*ApplicationLink) String ¶
func (m *ApplicationLink) String() string
func (*ApplicationLink) Unmarshal ¶
func (m *ApplicationLink) Unmarshal(dAtA []byte) error
func (*ApplicationLink) XXX_DiscardUnknown ¶
func (m *ApplicationLink) XXX_DiscardUnknown()
func (*ApplicationLink) XXX_Marshal ¶
func (m *ApplicationLink) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ApplicationLink) XXX_Merge ¶
func (m *ApplicationLink) XXX_Merge(src proto.Message)
func (*ApplicationLink) XXX_Size ¶
func (m *ApplicationLink) XXX_Size() int
func (*ApplicationLink) XXX_Unmarshal ¶
func (m *ApplicationLink) XXX_Unmarshal(b []byte) error
type ApplicationLinkState ¶
type ApplicationLinkState int32
ApplicationLinkState defines if an application link is in the following states: STARTED, ERRORED, SUCCESSFUL, TIMED_OUT
const ( // A link has just been initialized ApplicationLinkStateInitialized ApplicationLinkState = 0 // A link has just started being verified AppLinkStateVerificationStarted ApplicationLinkState = 1 // A link has errored during the verification process AppLinkStateVerificationError ApplicationLinkState = 2 // A link has being verified successfully AppLinkStateVerificationSuccess ApplicationLinkState = 3 // A link has timed out while waiting for the verification AppLinkStateVerificationTimedOut ApplicationLinkState = 4 )
func (ApplicationLinkState) EnumDescriptor ¶
func (ApplicationLinkState) EnumDescriptor() ([]byte, []int)
func (ApplicationLinkState) String ¶
func (x ApplicationLinkState) String() string
type BioParams ¶
type BioParams struct {
MaxLength github_com_cosmos_cosmos_sdk_types.Int `` /* 146-byte string literal not displayed */
}
BioParams defines the parameters related to profile biography
func (*BioParams) Descriptor ¶
func (*BioParams) MarshalToSizedBuffer ¶
func (*BioParams) ProtoMessage ¶
func (*BioParams) ProtoMessage()
func (*BioParams) XXX_DiscardUnknown ¶
func (m *BioParams) XXX_DiscardUnknown()
func (*BioParams) XXX_Marshal ¶
func (*BioParams) XXX_Unmarshal ¶
type DTagParams ¶
type DTagParams struct { RegEx string `protobuf:"bytes,1,opt,name=reg_ex,json=regEx,proto3" json:"reg_ex,omitempty" yaml:"reg_ex"` MinLength github_com_cosmos_cosmos_sdk_types.Int `` /* 146-byte string literal not displayed */ MaxLength github_com_cosmos_cosmos_sdk_types.Int `` /* 146-byte string literal not displayed */ }
DTagParams defines the parameters related to profile DTags
func (*DTagParams) Descriptor ¶
func (*DTagParams) Descriptor() ([]byte, []int)
func (*DTagParams) Marshal ¶
func (m *DTagParams) Marshal() (dAtA []byte, err error)
func (*DTagParams) MarshalToSizedBuffer ¶
func (m *DTagParams) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*DTagParams) ProtoMessage ¶
func (*DTagParams) ProtoMessage()
func (*DTagParams) Reset ¶
func (m *DTagParams) Reset()
func (*DTagParams) Size ¶
func (m *DTagParams) Size() (n int)
func (*DTagParams) String ¶
func (m *DTagParams) String() string
func (*DTagParams) Unmarshal ¶
func (m *DTagParams) Unmarshal(dAtA []byte) error
func (*DTagParams) XXX_DiscardUnknown ¶
func (m *DTagParams) XXX_DiscardUnknown()
func (*DTagParams) XXX_Marshal ¶
func (m *DTagParams) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*DTagParams) XXX_Merge ¶
func (m *DTagParams) XXX_Merge(src proto.Message)
func (*DTagParams) XXX_Size ¶
func (m *DTagParams) XXX_Size() int
func (*DTagParams) XXX_Unmarshal ¶
func (m *DTagParams) XXX_Unmarshal(b []byte) error
type Data ¶
type Data struct { // The application name (eg. Twitter, GitHub, etc) Application string `protobuf:"bytes,1,opt,name=application,proto3" json:"application,omitempty" yaml:"application"` // Username on the application (eg. Twitter tag, GitHub profile, etc) Username string `protobuf:"bytes,2,opt,name=username,proto3" json:"username,omitempty" yaml:"username"` }
Data contains the data associated to a specific user of a generic centralized application
func (*Data) Descriptor ¶
func (*Data) ProtoMessage ¶
func (*Data) ProtoMessage()
func (*Data) XXX_DiscardUnknown ¶
func (m *Data) XXX_DiscardUnknown()
func (*Data) XXX_Unmarshal ¶
type NicknameParams ¶
type NicknameParams struct { MinLength github_com_cosmos_cosmos_sdk_types.Int `` /* 146-byte string literal not displayed */ MaxLength github_com_cosmos_cosmos_sdk_types.Int `` /* 146-byte string literal not displayed */ }
NicknameParams defines the parameters related to the profiles nicknames
func (*NicknameParams) Descriptor ¶
func (*NicknameParams) Descriptor() ([]byte, []int)
func (*NicknameParams) Marshal ¶
func (m *NicknameParams) Marshal() (dAtA []byte, err error)
func (*NicknameParams) MarshalToSizedBuffer ¶
func (m *NicknameParams) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*NicknameParams) ProtoMessage ¶
func (*NicknameParams) ProtoMessage()
func (*NicknameParams) Reset ¶
func (m *NicknameParams) Reset()
func (*NicknameParams) Size ¶
func (m *NicknameParams) Size() (n int)
func (*NicknameParams) String ¶
func (m *NicknameParams) String() string
func (*NicknameParams) Unmarshal ¶
func (m *NicknameParams) Unmarshal(dAtA []byte) error
func (*NicknameParams) XXX_DiscardUnknown ¶
func (m *NicknameParams) XXX_DiscardUnknown()
func (*NicknameParams) XXX_Marshal ¶
func (m *NicknameParams) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*NicknameParams) XXX_Merge ¶
func (m *NicknameParams) XXX_Merge(src proto.Message)
func (*NicknameParams) XXX_Size ¶
func (m *NicknameParams) XXX_Size() int
func (*NicknameParams) XXX_Unmarshal ¶
func (m *NicknameParams) XXX_Unmarshal(b []byte) error
type OracleParams ¶
type OracleParams struct { // ScriptID represents the ID of the oracle script to be called to verify the // data ScriptID 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 (*OracleParams) Descriptor ¶
func (*OracleParams) Descriptor() ([]byte, []int)
func (*OracleParams) Marshal ¶
func (m *OracleParams) Marshal() (dAtA []byte, err error)
func (*OracleParams) MarshalToSizedBuffer ¶
func (m *OracleParams) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*OracleParams) ProtoMessage ¶
func (*OracleParams) ProtoMessage()
func (*OracleParams) Reset ¶
func (m *OracleParams) Reset()
func (*OracleParams) Size ¶
func (m *OracleParams) Size() (n int)
func (*OracleParams) String ¶
func (m *OracleParams) String() string
func (*OracleParams) Unmarshal ¶
func (m *OracleParams) Unmarshal(dAtA []byte) error
func (*OracleParams) XXX_DiscardUnknown ¶
func (m *OracleParams) XXX_DiscardUnknown()
func (*OracleParams) XXX_Marshal ¶
func (m *OracleParams) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*OracleParams) XXX_Merge ¶
func (m *OracleParams) XXX_Merge(src proto.Message)
func (*OracleParams) XXX_Size ¶
func (m *OracleParams) XXX_Size() int
func (*OracleParams) XXX_Unmarshal ¶
func (m *OracleParams) XXX_Unmarshal(b []byte) error
type OracleRequest ¶
type OracleRequest struct { // ID is the ID of the request ID 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 (*OracleRequest) Descriptor ¶
func (*OracleRequest) Descriptor() ([]byte, []int)
func (*OracleRequest) Equal ¶
func (this *OracleRequest) Equal(that interface{}) bool
func (*OracleRequest) Marshal ¶
func (m *OracleRequest) Marshal() (dAtA []byte, err error)
func (*OracleRequest) MarshalToSizedBuffer ¶
func (m *OracleRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*OracleRequest) ProtoMessage ¶
func (*OracleRequest) ProtoMessage()
func (*OracleRequest) Reset ¶
func (m *OracleRequest) Reset()
func (*OracleRequest) Size ¶
func (m *OracleRequest) Size() (n int)
func (*OracleRequest) String ¶
func (m *OracleRequest) String() string
func (*OracleRequest) Unmarshal ¶
func (m *OracleRequest) Unmarshal(dAtA []byte) error
func (*OracleRequest) XXX_DiscardUnknown ¶
func (m *OracleRequest) XXX_DiscardUnknown()
func (*OracleRequest) XXX_Marshal ¶
func (m *OracleRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*OracleRequest) XXX_Merge ¶
func (m *OracleRequest) XXX_Merge(src proto.Message)
func (*OracleRequest) XXX_Size ¶
func (m *OracleRequest) XXX_Size() int
func (*OracleRequest) XXX_Unmarshal ¶
func (m *OracleRequest) XXX_Unmarshal(b []byte) error
type OracleRequest_CallData ¶
type OracleRequest_CallData struct { // The application for which the ownership should be verified Application string `protobuf:"bytes,1,opt,name=application,proto3" json:"application,omitempty" yaml:"application"` // The hex encoded call data that should be used to verify the application // account ownership CallData string `protobuf:"bytes,2,opt,name=call_data,json=callData,proto3" json:"call_data,omitempty" yaml:"call_data"` }
CallData contains the data sent to a single oracle request in order to verify the ownership of a centralized application by a Desmos profile
func (*OracleRequest_CallData) Descriptor ¶
func (*OracleRequest_CallData) Descriptor() ([]byte, []int)
func (*OracleRequest_CallData) Equal ¶
func (this *OracleRequest_CallData) Equal(that interface{}) bool
func (*OracleRequest_CallData) GetApplication ¶
func (m *OracleRequest_CallData) GetApplication() string
func (*OracleRequest_CallData) GetCallData ¶
func (m *OracleRequest_CallData) GetCallData() string
func (*OracleRequest_CallData) Marshal ¶
func (m *OracleRequest_CallData) Marshal() (dAtA []byte, err error)
func (*OracleRequest_CallData) MarshalTo ¶
func (m *OracleRequest_CallData) MarshalTo(dAtA []byte) (int, error)
func (*OracleRequest_CallData) MarshalToSizedBuffer ¶
func (m *OracleRequest_CallData) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*OracleRequest_CallData) ProtoMessage ¶
func (*OracleRequest_CallData) ProtoMessage()
func (*OracleRequest_CallData) Reset ¶
func (m *OracleRequest_CallData) Reset()
func (*OracleRequest_CallData) Size ¶
func (m *OracleRequest_CallData) Size() (n int)
func (*OracleRequest_CallData) String ¶
func (m *OracleRequest_CallData) String() string
func (*OracleRequest_CallData) Unmarshal ¶
func (m *OracleRequest_CallData) Unmarshal(dAtA []byte) error
func (*OracleRequest_CallData) XXX_DiscardUnknown ¶
func (m *OracleRequest_CallData) XXX_DiscardUnknown()
func (*OracleRequest_CallData) XXX_Marshal ¶
func (m *OracleRequest_CallData) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*OracleRequest_CallData) XXX_Merge ¶
func (m *OracleRequest_CallData) XXX_Merge(src proto.Message)
func (*OracleRequest_CallData) XXX_Size ¶
func (m *OracleRequest_CallData) XXX_Size() int
func (*OracleRequest_CallData) XXX_Unmarshal ¶
func (m *OracleRequest_CallData) XXX_Unmarshal(b []byte) error
type Params ¶
type Params struct { Nickname NicknameParams `protobuf:"bytes,1,opt,name=nickname,proto3" json:"nickname" yaml:"nickname"` DTag DTagParams `protobuf:"bytes,2,opt,name=dtag,proto3" json:"dtag" yaml:"dtag"` Bio BioParams `protobuf:"bytes,3,opt,name=bio,proto3" json:"bio" yaml:"bio"` Oracle OracleParams `protobuf:"bytes,4,opt,name=oracle,proto3" json:"oracle" yaml:"oracle"` }
Params contains the parameters for the profiles module
func (*Params) Descriptor ¶
func (*Params) MarshalToSizedBuffer ¶
func (*Params) ProtoMessage ¶
func (*Params) ProtoMessage()
func (*Params) XXX_DiscardUnknown ¶
func (m *Params) XXX_DiscardUnknown()
func (*Params) XXX_Marshal ¶
func (*Params) XXX_Unmarshal ¶
type Result ¶
type Result struct { // sum is the oneof that specifies whether this represents a success or // failure result // // Types that are valid to be assigned to Sum: // *Result_Success_ // *Result_Failed_ Sum isResult_Sum `protobuf_oneof:"sum"` }
Result represents a verification result
func (*Result) Descriptor ¶
func (*Result) GetFailed ¶
func (m *Result) GetFailed() *Result_Failed
func (*Result) GetSuccess ¶
func (m *Result) GetSuccess() *Result_Success
func (*Result) MarshalToSizedBuffer ¶
func (*Result) ProtoMessage ¶
func (*Result) ProtoMessage()
func (*Result) XXX_DiscardUnknown ¶
func (m *Result) XXX_DiscardUnknown()
func (*Result) XXX_Marshal ¶
func (*Result) XXX_OneofWrappers ¶
func (*Result) XXX_OneofWrappers() []interface{}
XXX_OneofWrappers is for the internal use of the proto package.
func (*Result) XXX_Unmarshal ¶
type Result_Failed ¶
type Result_Failed struct { // Error that is associated with the failure Error string `protobuf:"bytes,1,opt,name=error,proto3" json:"error,omitempty" yaml:"error"` }
Failed is the result of an application link that has not been verified successfully
func (*Result_Failed) Descriptor ¶
func (*Result_Failed) Descriptor() ([]byte, []int)
func (*Result_Failed) Equal ¶
func (this *Result_Failed) Equal(that interface{}) bool
func (*Result_Failed) Marshal ¶
func (m *Result_Failed) Marshal() (dAtA []byte, err error)
func (*Result_Failed) MarshalToSizedBuffer ¶
func (m *Result_Failed) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*Result_Failed) ProtoMessage ¶
func (*Result_Failed) ProtoMessage()
func (*Result_Failed) Reset ¶
func (m *Result_Failed) Reset()
func (*Result_Failed) Size ¶
func (m *Result_Failed) Size() (n int)
func (*Result_Failed) String ¶
func (m *Result_Failed) String() string
func (*Result_Failed) Unmarshal ¶
func (m *Result_Failed) Unmarshal(dAtA []byte) error
func (*Result_Failed) XXX_DiscardUnknown ¶
func (m *Result_Failed) XXX_DiscardUnknown()
func (*Result_Failed) XXX_Marshal ¶
func (m *Result_Failed) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*Result_Failed) XXX_Merge ¶
func (m *Result_Failed) XXX_Merge(src proto.Message)
func (*Result_Failed) XXX_Size ¶
func (m *Result_Failed) XXX_Size() int
func (*Result_Failed) XXX_Unmarshal ¶
func (m *Result_Failed) XXX_Unmarshal(b []byte) error
type Result_Failed_ ¶
type Result_Failed_ struct {
Failed *Result_Failed `protobuf:"bytes,2,opt,name=failed,proto3,oneof" json:"failed,omitempty"`
}
func (*Result_Failed_) Equal ¶
func (this *Result_Failed_) Equal(that interface{}) bool
func (*Result_Failed_) MarshalToSizedBuffer ¶
func (m *Result_Failed_) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*Result_Failed_) Size ¶
func (m *Result_Failed_) Size() (n int)
type Result_Success ¶
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 ¶
func (*Result_Success) Descriptor() ([]byte, []int)
func (*Result_Success) Equal ¶
func (this *Result_Success) Equal(that interface{}) bool
func (*Result_Success) Marshal ¶
func (m *Result_Success) Marshal() (dAtA []byte, err error)
func (*Result_Success) MarshalToSizedBuffer ¶
func (m *Result_Success) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*Result_Success) ProtoMessage ¶
func (*Result_Success) ProtoMessage()
func (*Result_Success) Reset ¶
func (m *Result_Success) Reset()
func (*Result_Success) Size ¶
func (m *Result_Success) Size() (n int)
func (*Result_Success) String ¶
func (m *Result_Success) String() string
func (*Result_Success) Unmarshal ¶
func (m *Result_Success) Unmarshal(dAtA []byte) error
func (*Result_Success) XXX_DiscardUnknown ¶
func (m *Result_Success) XXX_DiscardUnknown()
func (*Result_Success) XXX_Marshal ¶
func (m *Result_Success) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*Result_Success) XXX_Merge ¶
func (m *Result_Success) XXX_Merge(src proto.Message)
func (*Result_Success) XXX_Size ¶
func (m *Result_Success) XXX_Size() int
func (*Result_Success) XXX_Unmarshal ¶
func (m *Result_Success) XXX_Unmarshal(b []byte) error
type Result_Success_ ¶
type Result_Success_ struct {
Success *Result_Success `protobuf:"bytes,1,opt,name=success,proto3,oneof" json:"success,omitempty"`
}
func (*Result_Success_) Equal ¶
func (this *Result_Success_) Equal(that interface{}) bool
func (*Result_Success_) MarshalToSizedBuffer ¶
func (m *Result_Success_) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*Result_Success_) Size ¶
func (m *Result_Success_) Size() (n int)