Documentation ¶
Overview ¶
Package types is a reverse proxy.
It translates gRPC into RESTful JSON APIs.
Index ¶
- Constants
- Variables
- func CheckNotEmpty(value string, name string) (valid bool, err error)
- func GetAccountMapKey(projectDid didexported.Did) []byte
- func GetClaimKey(projectDid didexported.Did, claimId string) []byte
- func GetClaimsKey(projectDid didexported.Did) []byte
- func GetProjectKey(projectDid didexported.Did) []byte
- func GetWithdrawalsKey(projectDid didexported.Did) []byte
- func MustMarshalJson(v interface{}) []byte
- func ParamKeyTable() params.KeyTable
- func RegisterInterfaces(registry types.InterfaceRegistry)
- func RegisterLegacyAminoCodec(cdc *codec.LegacyAmino)
- func RegisterMsgServer(s grpc1.Server, srv MsgServer)
- func RegisterQueryHandler(ctx context.Context, mux *runtime.ServeMux, conn *grpc.ClientConn) error
- func RegisterQueryHandlerClient(ctx context.Context, mux *runtime.ServeMux, client QueryClient) error
- func RegisterQueryHandlerFromEndpoint(ctx context.Context, mux *runtime.ServeMux, endpoint string, ...) (err error)
- func RegisterQueryHandlerServer(ctx context.Context, mux *runtime.ServeMux, server QueryServer) error
- func RegisterQueryServer(s grpc1.Server, srv QueryServer)
- func ValidateGenesis(data GenesisState) error
- type AccountMap
- func (*AccountMap) Descriptor() ([]byte, []int)
- func (m *AccountMap) GetMap() map[string]string
- func (m *AccountMap) Marshal() (dAtA []byte, err error)
- func (m *AccountMap) MarshalTo(dAtA []byte) (int, error)
- func (m *AccountMap) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*AccountMap) ProtoMessage()
- func (m *AccountMap) Reset()
- func (m *AccountMap) Size() (n int)
- func (m *AccountMap) String() string
- func (m *AccountMap) Unmarshal(dAtA []byte) error
- func (m *AccountMap) XXX_DiscardUnknown()
- func (m *AccountMap) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *AccountMap) XXX_Merge(src proto.Message)
- func (m *AccountMap) XXX_Size() int
- func (m *AccountMap) XXX_Unmarshal(b []byte) error
- type AgentStatus
- type Claim
- func (*Claim) Descriptor() ([]byte, []int)
- func (m *Claim) GetClaimerDid() string
- func (m *Claim) GetId() string
- func (m *Claim) GetStatus() string
- func (m *Claim) GetTemplateId() string
- func (m *Claim) Marshal() (dAtA []byte, err error)
- func (m *Claim) MarshalTo(dAtA []byte) (int, error)
- func (m *Claim) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*Claim) ProtoMessage()
- func (m *Claim) Reset()
- func (m *Claim) Size() (n int)
- func (m *Claim) String() string
- func (m *Claim) Unmarshal(dAtA []byte) error
- func (m *Claim) XXX_DiscardUnknown()
- func (m *Claim) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *Claim) XXX_Merge(src proto.Message)
- func (m *Claim) XXX_Size() int
- func (m *Claim) XXX_Unmarshal(b []byte) error
- type ClaimStatus
- type Claims
- func (*Claims) Descriptor() ([]byte, []int)
- func (m *Claims) GetClaimsList() []Claim
- func (m *Claims) Marshal() (dAtA []byte, err error)
- func (m *Claims) MarshalTo(dAtA []byte) (int, error)
- func (m *Claims) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*Claims) ProtoMessage()
- func (m *Claims) Reset()
- func (m *Claims) Size() (n int)
- func (m *Claims) String() string
- func (m *Claims) Unmarshal(dAtA []byte) error
- func (m *Claims) XXX_DiscardUnknown()
- func (m *Claims) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *Claims) XXX_Merge(src proto.Message)
- func (m *Claims) XXX_Size() int
- func (m *Claims) XXX_Unmarshal(b []byte) error
- type CreateAgentDoc
- func (*CreateAgentDoc) Descriptor() ([]byte, []int)
- func (m *CreateAgentDoc) GetAgentDid() string
- func (m *CreateAgentDoc) GetRole() string
- func (m *CreateAgentDoc) Marshal() (dAtA []byte, err error)
- func (m *CreateAgentDoc) MarshalTo(dAtA []byte) (int, error)
- func (m *CreateAgentDoc) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*CreateAgentDoc) ProtoMessage()
- func (m *CreateAgentDoc) Reset()
- func (m *CreateAgentDoc) Size() (n int)
- func (m *CreateAgentDoc) String() string
- func (m *CreateAgentDoc) Unmarshal(dAtA []byte) error
- func (m *CreateAgentDoc) XXX_DiscardUnknown()
- func (m *CreateAgentDoc) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *CreateAgentDoc) XXX_Merge(src proto.Message)
- func (m *CreateAgentDoc) XXX_Size() int
- func (m *CreateAgentDoc) XXX_Unmarshal(b []byte) error
- type CreateClaimDoc
- func (*CreateClaimDoc) Descriptor() ([]byte, []int)
- func (m *CreateClaimDoc) GetClaimId() string
- func (m *CreateClaimDoc) GetClaimTemplateId() string
- func (m *CreateClaimDoc) Marshal() (dAtA []byte, err error)
- func (m *CreateClaimDoc) MarshalTo(dAtA []byte) (int, error)
- func (m *CreateClaimDoc) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*CreateClaimDoc) ProtoMessage()
- func (m *CreateClaimDoc) Reset()
- func (m *CreateClaimDoc) Size() (n int)
- func (m *CreateClaimDoc) String() string
- func (m *CreateClaimDoc) Unmarshal(dAtA []byte) error
- func (m *CreateClaimDoc) XXX_DiscardUnknown()
- func (m *CreateClaimDoc) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *CreateClaimDoc) XXX_Merge(src proto.Message)
- func (m *CreateClaimDoc) XXX_Size() int
- func (m *CreateClaimDoc) XXX_Unmarshal(b []byte) error
- type CreateEvaluationDoc
- func (*CreateEvaluationDoc) Descriptor() ([]byte, []int)
- func (m *CreateEvaluationDoc) GetClaimId() string
- func (m *CreateEvaluationDoc) GetStatus() string
- func (m *CreateEvaluationDoc) Marshal() (dAtA []byte, err error)
- func (m *CreateEvaluationDoc) MarshalTo(dAtA []byte) (int, error)
- func (m *CreateEvaluationDoc) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*CreateEvaluationDoc) ProtoMessage()
- func (m *CreateEvaluationDoc) Reset()
- func (m *CreateEvaluationDoc) Size() (n int)
- func (m *CreateEvaluationDoc) String() string
- func (m *CreateEvaluationDoc) Unmarshal(dAtA []byte) error
- func (m *CreateEvaluationDoc) XXX_DiscardUnknown()
- func (m *CreateEvaluationDoc) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *CreateEvaluationDoc) XXX_Merge(src proto.Message)
- func (m *CreateEvaluationDoc) XXX_Size() int
- func (m *CreateEvaluationDoc) XXX_Unmarshal(b []byte) error
- type FeeType
- type GenesisAccountMap
- func (*GenesisAccountMap) Descriptor() ([]byte, []int)
- func (m *GenesisAccountMap) GetMap() map[string]string
- func (m *GenesisAccountMap) Marshal() (dAtA []byte, err error)
- func (m *GenesisAccountMap) MarshalTo(dAtA []byte) (int, error)
- func (m *GenesisAccountMap) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*GenesisAccountMap) ProtoMessage()
- func (m *GenesisAccountMap) Reset()
- func (m *GenesisAccountMap) Size() (n int)
- func (m *GenesisAccountMap) String() string
- func (m *GenesisAccountMap) Unmarshal(dAtA []byte) error
- func (m *GenesisAccountMap) XXX_DiscardUnknown()
- func (m *GenesisAccountMap) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *GenesisAccountMap) XXX_Merge(src proto.Message)
- func (m *GenesisAccountMap) XXX_Size() int
- func (m *GenesisAccountMap) XXX_Unmarshal(b []byte) error
- type GenesisState
- func (*GenesisState) Descriptor() ([]byte, []int)
- func (m *GenesisState) GetAccountMaps() []GenesisAccountMap
- func (m *GenesisState) GetClaims() []Claims
- func (m *GenesisState) GetParams() Params
- func (m *GenesisState) GetProjectDocs() []ProjectDoc
- func (m *GenesisState) GetWithdrawalsInfos() []WithdrawalInfoDocs
- func (m *GenesisState) Marshal() (dAtA []byte, err error)
- func (m *GenesisState) MarshalTo(dAtA []byte) (int, error)
- func (m *GenesisState) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*GenesisState) ProtoMessage()
- func (m *GenesisState) Reset()
- func (m *GenesisState) Size() (n int)
- func (m *GenesisState) String() string
- func (m *GenesisState) Unmarshal(dAtA []byte) error
- func (m *GenesisState) XXX_DiscardUnknown()
- func (m *GenesisState) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *GenesisState) XXX_Merge(src proto.Message)
- func (m *GenesisState) XXX_Size() int
- func (m *GenesisState) XXX_Unmarshal(b []byte) error
- type InternalAccountID
- type MsgClient
- type MsgCreateAgent
- func (*MsgCreateAgent) Descriptor() ([]byte, []int)
- func (m *MsgCreateAgent) GetData() CreateAgentDoc
- func (m *MsgCreateAgent) GetProjectDid() string
- func (m *MsgCreateAgent) GetSenderDid() string
- func (msg MsgCreateAgent) GetSignBytes() []byte
- func (msg MsgCreateAgent) GetSignerDid() didexported.Did
- func (msg MsgCreateAgent) GetSigners() []sdk.AccAddress
- func (m *MsgCreateAgent) GetTxHash() string
- func (m *MsgCreateAgent) Marshal() (dAtA []byte, err error)
- func (m *MsgCreateAgent) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgCreateAgent) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgCreateAgent) ProtoMessage()
- func (m *MsgCreateAgent) Reset()
- func (msg MsgCreateAgent) Route() string
- func (m *MsgCreateAgent) Size() (n int)
- func (msg MsgCreateAgent) String() string
- func (msg MsgCreateAgent) Type() string
- func (m *MsgCreateAgent) Unmarshal(dAtA []byte) error
- func (msg MsgCreateAgent) ValidateBasic() error
- func (m *MsgCreateAgent) XXX_DiscardUnknown()
- func (m *MsgCreateAgent) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgCreateAgent) XXX_Merge(src proto.Message)
- func (m *MsgCreateAgent) XXX_Size() int
- func (m *MsgCreateAgent) XXX_Unmarshal(b []byte) error
- type MsgCreateAgentResponse
- func (*MsgCreateAgentResponse) Descriptor() ([]byte, []int)
- func (m *MsgCreateAgentResponse) Marshal() (dAtA []byte, err error)
- func (m *MsgCreateAgentResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgCreateAgentResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgCreateAgentResponse) ProtoMessage()
- func (m *MsgCreateAgentResponse) Reset()
- func (m *MsgCreateAgentResponse) Size() (n int)
- func (m *MsgCreateAgentResponse) String() string
- func (m *MsgCreateAgentResponse) Unmarshal(dAtA []byte) error
- func (m *MsgCreateAgentResponse) XXX_DiscardUnknown()
- func (m *MsgCreateAgentResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgCreateAgentResponse) XXX_Merge(src proto.Message)
- func (m *MsgCreateAgentResponse) XXX_Size() int
- func (m *MsgCreateAgentResponse) XXX_Unmarshal(b []byte) error
- type MsgCreateClaim
- func (*MsgCreateClaim) Descriptor() ([]byte, []int)
- func (m *MsgCreateClaim) GetData() CreateClaimDoc
- func (m *MsgCreateClaim) GetProjectDid() string
- func (m *MsgCreateClaim) GetSenderDid() string
- func (msg MsgCreateClaim) GetSignBytes() []byte
- func (msg MsgCreateClaim) GetSignerDid() didexported.Did
- func (msg MsgCreateClaim) GetSigners() []sdk.AccAddress
- func (m *MsgCreateClaim) GetTxHash() string
- func (m *MsgCreateClaim) Marshal() (dAtA []byte, err error)
- func (m *MsgCreateClaim) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgCreateClaim) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgCreateClaim) ProtoMessage()
- func (m *MsgCreateClaim) Reset()
- func (msg MsgCreateClaim) Route() string
- func (m *MsgCreateClaim) Size() (n int)
- func (msg MsgCreateClaim) String() string
- func (msg MsgCreateClaim) Type() string
- func (m *MsgCreateClaim) Unmarshal(dAtA []byte) error
- func (msg MsgCreateClaim) ValidateBasic() error
- func (m *MsgCreateClaim) XXX_DiscardUnknown()
- func (m *MsgCreateClaim) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgCreateClaim) XXX_Merge(src proto.Message)
- func (m *MsgCreateClaim) XXX_Size() int
- func (m *MsgCreateClaim) XXX_Unmarshal(b []byte) error
- type MsgCreateClaimResponse
- func (*MsgCreateClaimResponse) Descriptor() ([]byte, []int)
- func (m *MsgCreateClaimResponse) Marshal() (dAtA []byte, err error)
- func (m *MsgCreateClaimResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgCreateClaimResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgCreateClaimResponse) ProtoMessage()
- func (m *MsgCreateClaimResponse) Reset()
- func (m *MsgCreateClaimResponse) Size() (n int)
- func (m *MsgCreateClaimResponse) String() string
- func (m *MsgCreateClaimResponse) Unmarshal(dAtA []byte) error
- func (m *MsgCreateClaimResponse) XXX_DiscardUnknown()
- func (m *MsgCreateClaimResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgCreateClaimResponse) XXX_Merge(src proto.Message)
- func (m *MsgCreateClaimResponse) XXX_Size() int
- func (m *MsgCreateClaimResponse) XXX_Unmarshal(b []byte) error
- type MsgCreateEvaluation
- func (*MsgCreateEvaluation) Descriptor() ([]byte, []int)
- func (m *MsgCreateEvaluation) GetData() CreateEvaluationDoc
- func (m *MsgCreateEvaluation) GetProjectDid() string
- func (m *MsgCreateEvaluation) GetSenderDid() string
- func (msg MsgCreateEvaluation) GetSignBytes() []byte
- func (msg MsgCreateEvaluation) GetSignerDid() didexported.Did
- func (msg MsgCreateEvaluation) GetSigners() []sdk.AccAddress
- func (m *MsgCreateEvaluation) GetTxHash() string
- func (m *MsgCreateEvaluation) Marshal() (dAtA []byte, err error)
- func (m *MsgCreateEvaluation) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgCreateEvaluation) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgCreateEvaluation) ProtoMessage()
- func (m *MsgCreateEvaluation) Reset()
- func (msg MsgCreateEvaluation) Route() string
- func (m *MsgCreateEvaluation) Size() (n int)
- func (msg MsgCreateEvaluation) String() string
- func (msg MsgCreateEvaluation) Type() string
- func (m *MsgCreateEvaluation) Unmarshal(dAtA []byte) error
- func (msg MsgCreateEvaluation) ValidateBasic() error
- func (m *MsgCreateEvaluation) XXX_DiscardUnknown()
- func (m *MsgCreateEvaluation) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgCreateEvaluation) XXX_Merge(src proto.Message)
- func (m *MsgCreateEvaluation) XXX_Size() int
- func (m *MsgCreateEvaluation) XXX_Unmarshal(b []byte) error
- type MsgCreateEvaluationResponse
- func (*MsgCreateEvaluationResponse) Descriptor() ([]byte, []int)
- func (m *MsgCreateEvaluationResponse) Marshal() (dAtA []byte, err error)
- func (m *MsgCreateEvaluationResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgCreateEvaluationResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgCreateEvaluationResponse) ProtoMessage()
- func (m *MsgCreateEvaluationResponse) Reset()
- func (m *MsgCreateEvaluationResponse) Size() (n int)
- func (m *MsgCreateEvaluationResponse) String() string
- func (m *MsgCreateEvaluationResponse) Unmarshal(dAtA []byte) error
- func (m *MsgCreateEvaluationResponse) XXX_DiscardUnknown()
- func (m *MsgCreateEvaluationResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgCreateEvaluationResponse) XXX_Merge(src proto.Message)
- func (m *MsgCreateEvaluationResponse) XXX_Size() int
- func (m *MsgCreateEvaluationResponse) XXX_Unmarshal(b []byte) error
- type MsgCreateProject
- func (*MsgCreateProject) Descriptor() ([]byte, []int)
- func (m *MsgCreateProject) GetData() encoding_json.RawMessage
- func (m *MsgCreateProject) GetProjectDid() string
- func (m *MsgCreateProject) GetPubKey() string
- func (m *MsgCreateProject) GetSenderDid() string
- func (msg MsgCreateProject) GetSignBytes() []byte
- func (msg MsgCreateProject) GetSignerDid() didexported.Did
- func (msg MsgCreateProject) GetSigners() []sdk.AccAddress
- func (m *MsgCreateProject) GetTxHash() string
- func (m *MsgCreateProject) Marshal() (dAtA []byte, err error)
- func (m *MsgCreateProject) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgCreateProject) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgCreateProject) ProtoMessage()
- func (m *MsgCreateProject) Reset()
- func (msg MsgCreateProject) Route() string
- func (m *MsgCreateProject) Size() (n int)
- func (msg MsgCreateProject) String() string
- func (msg MsgCreateProject) ToStdSignMsg(fee int64) legacytx.StdSignMsg
- func (msg MsgCreateProject) Type() string
- func (m *MsgCreateProject) Unmarshal(dAtA []byte) error
- func (msg MsgCreateProject) ValidateBasic() error
- func (m *MsgCreateProject) XXX_DiscardUnknown()
- func (m *MsgCreateProject) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgCreateProject) XXX_Merge(src proto.Message)
- func (m *MsgCreateProject) XXX_Size() int
- func (m *MsgCreateProject) XXX_Unmarshal(b []byte) error
- type MsgCreateProjectResponse
- func (*MsgCreateProjectResponse) Descriptor() ([]byte, []int)
- func (m *MsgCreateProjectResponse) Marshal() (dAtA []byte, err error)
- func (m *MsgCreateProjectResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgCreateProjectResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgCreateProjectResponse) ProtoMessage()
- func (m *MsgCreateProjectResponse) Reset()
- func (m *MsgCreateProjectResponse) Size() (n int)
- func (m *MsgCreateProjectResponse) String() string
- func (m *MsgCreateProjectResponse) Unmarshal(dAtA []byte) error
- func (m *MsgCreateProjectResponse) XXX_DiscardUnknown()
- func (m *MsgCreateProjectResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgCreateProjectResponse) XXX_Merge(src proto.Message)
- func (m *MsgCreateProjectResponse) XXX_Size() int
- func (m *MsgCreateProjectResponse) XXX_Unmarshal(b []byte) error
- type MsgServer
- type MsgUpdateAgent
- func (*MsgUpdateAgent) Descriptor() ([]byte, []int)
- func (m *MsgUpdateAgent) GetData() UpdateAgentDoc
- func (m *MsgUpdateAgent) GetProjectDid() string
- func (m *MsgUpdateAgent) GetSenderDid() string
- func (msg MsgUpdateAgent) GetSignBytes() []byte
- func (msg MsgUpdateAgent) GetSignerDid() didexported.Did
- func (msg MsgUpdateAgent) GetSigners() []sdk.AccAddress
- func (m *MsgUpdateAgent) GetTxHash() string
- func (m *MsgUpdateAgent) Marshal() (dAtA []byte, err error)
- func (m *MsgUpdateAgent) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgUpdateAgent) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgUpdateAgent) ProtoMessage()
- func (m *MsgUpdateAgent) Reset()
- func (msg MsgUpdateAgent) Route() string
- func (m *MsgUpdateAgent) Size() (n int)
- func (msg MsgUpdateAgent) String() string
- func (msg MsgUpdateAgent) Type() string
- func (m *MsgUpdateAgent) Unmarshal(dAtA []byte) error
- func (msg MsgUpdateAgent) ValidateBasic() error
- func (m *MsgUpdateAgent) XXX_DiscardUnknown()
- func (m *MsgUpdateAgent) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgUpdateAgent) XXX_Merge(src proto.Message)
- func (m *MsgUpdateAgent) XXX_Size() int
- func (m *MsgUpdateAgent) XXX_Unmarshal(b []byte) error
- type MsgUpdateAgentResponse
- func (*MsgUpdateAgentResponse) Descriptor() ([]byte, []int)
- func (m *MsgUpdateAgentResponse) Marshal() (dAtA []byte, err error)
- func (m *MsgUpdateAgentResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgUpdateAgentResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgUpdateAgentResponse) ProtoMessage()
- func (m *MsgUpdateAgentResponse) Reset()
- func (m *MsgUpdateAgentResponse) Size() (n int)
- func (m *MsgUpdateAgentResponse) String() string
- func (m *MsgUpdateAgentResponse) Unmarshal(dAtA []byte) error
- func (m *MsgUpdateAgentResponse) XXX_DiscardUnknown()
- func (m *MsgUpdateAgentResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgUpdateAgentResponse) XXX_Merge(src proto.Message)
- func (m *MsgUpdateAgentResponse) XXX_Size() int
- func (m *MsgUpdateAgentResponse) XXX_Unmarshal(b []byte) error
- type MsgUpdateProjectDoc
- func (*MsgUpdateProjectDoc) Descriptor() ([]byte, []int)
- func (m *MsgUpdateProjectDoc) GetData() encoding_json.RawMessage
- func (m *MsgUpdateProjectDoc) GetProjectDid() string
- func (m *MsgUpdateProjectDoc) GetSenderDid() string
- func (msg MsgUpdateProjectDoc) GetSignBytes() []byte
- func (msg MsgUpdateProjectDoc) GetSignerDid() didexported.Did
- func (msg MsgUpdateProjectDoc) GetSigners() []sdk.AccAddress
- func (m *MsgUpdateProjectDoc) GetTxHash() string
- func (m *MsgUpdateProjectDoc) Marshal() (dAtA []byte, err error)
- func (m *MsgUpdateProjectDoc) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgUpdateProjectDoc) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgUpdateProjectDoc) ProtoMessage()
- func (m *MsgUpdateProjectDoc) Reset()
- func (msg MsgUpdateProjectDoc) Route() string
- func (m *MsgUpdateProjectDoc) Size() (n int)
- func (m *MsgUpdateProjectDoc) String() string
- func (msg MsgUpdateProjectDoc) Type() string
- func (m *MsgUpdateProjectDoc) Unmarshal(dAtA []byte) error
- func (msg MsgUpdateProjectDoc) ValidateBasic() error
- func (m *MsgUpdateProjectDoc) XXX_DiscardUnknown()
- func (m *MsgUpdateProjectDoc) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgUpdateProjectDoc) XXX_Merge(src proto.Message)
- func (m *MsgUpdateProjectDoc) XXX_Size() int
- func (m *MsgUpdateProjectDoc) XXX_Unmarshal(b []byte) error
- type MsgUpdateProjectDocResponse
- func (*MsgUpdateProjectDocResponse) Descriptor() ([]byte, []int)
- func (m *MsgUpdateProjectDocResponse) Marshal() (dAtA []byte, err error)
- func (m *MsgUpdateProjectDocResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgUpdateProjectDocResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgUpdateProjectDocResponse) ProtoMessage()
- func (m *MsgUpdateProjectDocResponse) Reset()
- func (m *MsgUpdateProjectDocResponse) Size() (n int)
- func (m *MsgUpdateProjectDocResponse) String() string
- func (m *MsgUpdateProjectDocResponse) Unmarshal(dAtA []byte) error
- func (m *MsgUpdateProjectDocResponse) XXX_DiscardUnknown()
- func (m *MsgUpdateProjectDocResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgUpdateProjectDocResponse) XXX_Merge(src proto.Message)
- func (m *MsgUpdateProjectDocResponse) XXX_Size() int
- func (m *MsgUpdateProjectDocResponse) XXX_Unmarshal(b []byte) error
- type MsgUpdateProjectStatus
- func (*MsgUpdateProjectStatus) Descriptor() ([]byte, []int)
- func (m *MsgUpdateProjectStatus) GetData() UpdateProjectStatusDoc
- func (m *MsgUpdateProjectStatus) GetProjectDid() string
- func (m *MsgUpdateProjectStatus) GetSenderDid() string
- func (msg MsgUpdateProjectStatus) GetSignBytes() []byte
- func (msg MsgUpdateProjectStatus) GetSignerDid() didexported.Did
- func (msg MsgUpdateProjectStatus) GetSigners() []sdk.AccAddress
- func (m *MsgUpdateProjectStatus) GetTxHash() string
- func (m *MsgUpdateProjectStatus) Marshal() (dAtA []byte, err error)
- func (m *MsgUpdateProjectStatus) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgUpdateProjectStatus) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgUpdateProjectStatus) ProtoMessage()
- func (m *MsgUpdateProjectStatus) Reset()
- func (msg MsgUpdateProjectStatus) Route() string
- func (m *MsgUpdateProjectStatus) Size() (n int)
- func (m *MsgUpdateProjectStatus) String() string
- func (msg MsgUpdateProjectStatus) Type() string
- func (m *MsgUpdateProjectStatus) Unmarshal(dAtA []byte) error
- func (msg MsgUpdateProjectStatus) ValidateBasic() error
- func (m *MsgUpdateProjectStatus) XXX_DiscardUnknown()
- func (m *MsgUpdateProjectStatus) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgUpdateProjectStatus) XXX_Merge(src proto.Message)
- func (m *MsgUpdateProjectStatus) XXX_Size() int
- func (m *MsgUpdateProjectStatus) XXX_Unmarshal(b []byte) error
- type MsgUpdateProjectStatusResponse
- func (*MsgUpdateProjectStatusResponse) Descriptor() ([]byte, []int)
- func (m *MsgUpdateProjectStatusResponse) Marshal() (dAtA []byte, err error)
- func (m *MsgUpdateProjectStatusResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgUpdateProjectStatusResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgUpdateProjectStatusResponse) ProtoMessage()
- func (m *MsgUpdateProjectStatusResponse) Reset()
- func (m *MsgUpdateProjectStatusResponse) Size() (n int)
- func (m *MsgUpdateProjectStatusResponse) String() string
- func (m *MsgUpdateProjectStatusResponse) Unmarshal(dAtA []byte) error
- func (m *MsgUpdateProjectStatusResponse) XXX_DiscardUnknown()
- func (m *MsgUpdateProjectStatusResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgUpdateProjectStatusResponse) XXX_Merge(src proto.Message)
- func (m *MsgUpdateProjectStatusResponse) XXX_Size() int
- func (m *MsgUpdateProjectStatusResponse) XXX_Unmarshal(b []byte) error
- type MsgWithdrawFunds
- func (*MsgWithdrawFunds) Descriptor() ([]byte, []int)
- func (m *MsgWithdrawFunds) GetData() WithdrawFundsDoc
- func (m *MsgWithdrawFunds) GetSenderDid() string
- func (msg MsgWithdrawFunds) GetSignBytes() []byte
- func (msg MsgWithdrawFunds) GetSignerDid() didexported.Did
- func (msg MsgWithdrawFunds) GetSigners() []sdk.AccAddress
- func (m *MsgWithdrawFunds) Marshal() (dAtA []byte, err error)
- func (m *MsgWithdrawFunds) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgWithdrawFunds) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgWithdrawFunds) ProtoMessage()
- func (m *MsgWithdrawFunds) Reset()
- func (msg MsgWithdrawFunds) Route() string
- func (m *MsgWithdrawFunds) Size() (n int)
- func (msg MsgWithdrawFunds) String() string
- func (msg MsgWithdrawFunds) Type() string
- func (m *MsgWithdrawFunds) Unmarshal(dAtA []byte) error
- func (msg MsgWithdrawFunds) ValidateBasic() error
- func (m *MsgWithdrawFunds) XXX_DiscardUnknown()
- func (m *MsgWithdrawFunds) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgWithdrawFunds) XXX_Merge(src proto.Message)
- func (m *MsgWithdrawFunds) XXX_Size() int
- func (m *MsgWithdrawFunds) XXX_Unmarshal(b []byte) error
- type MsgWithdrawFundsResponse
- func (*MsgWithdrawFundsResponse) Descriptor() ([]byte, []int)
- func (m *MsgWithdrawFundsResponse) Marshal() (dAtA []byte, err error)
- func (m *MsgWithdrawFundsResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgWithdrawFundsResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgWithdrawFundsResponse) ProtoMessage()
- func (m *MsgWithdrawFundsResponse) Reset()
- func (m *MsgWithdrawFundsResponse) Size() (n int)
- func (m *MsgWithdrawFundsResponse) String() string
- func (m *MsgWithdrawFundsResponse) Unmarshal(dAtA []byte) error
- func (m *MsgWithdrawFundsResponse) XXX_DiscardUnknown()
- func (m *MsgWithdrawFundsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgWithdrawFundsResponse) XXX_Merge(src proto.Message)
- func (m *MsgWithdrawFundsResponse) XXX_Size() int
- func (m *MsgWithdrawFundsResponse) XXX_Unmarshal(b []byte) error
- type Params
- func (*Params) Descriptor() ([]byte, []int)
- func (m *Params) GetIxoDid() string
- func (m *Params) GetProjectMinimumInitialFunding() github_com_cosmos_cosmos_sdk_types.Coins
- 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 (p *Params) ParamSetPairs() params.ParamSetPairs
- 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 ProjectDataMap
- type ProjectDoc
- func (*ProjectDoc) Descriptor() ([]byte, []int)
- func (m *ProjectDoc) GetData() encoding_json.RawMessage
- func (pd ProjectDoc) GetProjectData() (dataMap ProjectDataMap)
- func (m *ProjectDoc) GetProjectDid() string
- func (pd ProjectDoc) GetProjectFeesMap() (feesMap ProjectFeesMap)
- func (m *ProjectDoc) GetPubKey() string
- func (m *ProjectDoc) GetSenderDid() string
- func (m *ProjectDoc) GetStatus() string
- func (m *ProjectDoc) GetTxHash() string
- func (m *ProjectDoc) Marshal() (dAtA []byte, err error)
- func (m *ProjectDoc) MarshalTo(dAtA []byte) (int, error)
- func (m *ProjectDoc) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*ProjectDoc) ProtoMessage()
- func (m *ProjectDoc) Reset()
- func (m *ProjectDoc) Size() (n int)
- func (m *ProjectDoc) String() string
- func (m *ProjectDoc) Unmarshal(dAtA []byte) error
- func (m *ProjectDoc) XXX_DiscardUnknown()
- func (m *ProjectDoc) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *ProjectDoc) XXX_Merge(src proto.Message)
- func (m *ProjectDoc) XXX_Size() int
- func (m *ProjectDoc) XXX_Unmarshal(b []byte) error
- type ProjectFeesMap
- type ProjectFeesMapItem
- type ProjectStatus
- type ProjectStatusTransitionMap
- type QueryClient
- type QueryParamsRequest
- func (*QueryParamsRequest) Descriptor() ([]byte, []int)
- func (m *QueryParamsRequest) Marshal() (dAtA []byte, err error)
- func (m *QueryParamsRequest) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryParamsRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryParamsRequest) ProtoMessage()
- func (m *QueryParamsRequest) Reset()
- func (m *QueryParamsRequest) Size() (n int)
- func (m *QueryParamsRequest) String() string
- func (m *QueryParamsRequest) Unmarshal(dAtA []byte) error
- func (m *QueryParamsRequest) XXX_DiscardUnknown()
- func (m *QueryParamsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryParamsRequest) XXX_Merge(src proto.Message)
- func (m *QueryParamsRequest) XXX_Size() int
- func (m *QueryParamsRequest) XXX_Unmarshal(b []byte) error
- type QueryParamsResponse
- func (*QueryParamsResponse) Descriptor() ([]byte, []int)
- func (m *QueryParamsResponse) GetParams() Params
- func (m *QueryParamsResponse) Marshal() (dAtA []byte, err error)
- func (m *QueryParamsResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryParamsResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryParamsResponse) ProtoMessage()
- func (m *QueryParamsResponse) Reset()
- func (m *QueryParamsResponse) Size() (n int)
- func (m *QueryParamsResponse) String() string
- func (m *QueryParamsResponse) Unmarshal(dAtA []byte) error
- func (m *QueryParamsResponse) XXX_DiscardUnknown()
- func (m *QueryParamsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryParamsResponse) XXX_Merge(src proto.Message)
- func (m *QueryParamsResponse) XXX_Size() int
- func (m *QueryParamsResponse) XXX_Unmarshal(b []byte) error
- type QueryProjectAccountsRequest
- func (*QueryProjectAccountsRequest) Descriptor() ([]byte, []int)
- func (m *QueryProjectAccountsRequest) GetProjectDid() string
- func (m *QueryProjectAccountsRequest) Marshal() (dAtA []byte, err error)
- func (m *QueryProjectAccountsRequest) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryProjectAccountsRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryProjectAccountsRequest) ProtoMessage()
- func (m *QueryProjectAccountsRequest) Reset()
- func (m *QueryProjectAccountsRequest) Size() (n int)
- func (m *QueryProjectAccountsRequest) String() string
- func (m *QueryProjectAccountsRequest) Unmarshal(dAtA []byte) error
- func (m *QueryProjectAccountsRequest) XXX_DiscardUnknown()
- func (m *QueryProjectAccountsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryProjectAccountsRequest) XXX_Merge(src proto.Message)
- func (m *QueryProjectAccountsRequest) XXX_Size() int
- func (m *QueryProjectAccountsRequest) XXX_Unmarshal(b []byte) error
- type QueryProjectAccountsResponse
- func (*QueryProjectAccountsResponse) Descriptor() ([]byte, []int)
- func (m *QueryProjectAccountsResponse) GetAccountMap() *AccountMap
- func (m *QueryProjectAccountsResponse) Marshal() (dAtA []byte, err error)
- func (m *QueryProjectAccountsResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryProjectAccountsResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryProjectAccountsResponse) ProtoMessage()
- func (m *QueryProjectAccountsResponse) Reset()
- func (m *QueryProjectAccountsResponse) Size() (n int)
- func (m *QueryProjectAccountsResponse) String() string
- func (m *QueryProjectAccountsResponse) Unmarshal(dAtA []byte) error
- func (m *QueryProjectAccountsResponse) XXX_DiscardUnknown()
- func (m *QueryProjectAccountsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryProjectAccountsResponse) XXX_Merge(src proto.Message)
- func (m *QueryProjectAccountsResponse) XXX_Size() int
- func (m *QueryProjectAccountsResponse) XXX_Unmarshal(b []byte) error
- type QueryProjectDocRequest
- func (*QueryProjectDocRequest) Descriptor() ([]byte, []int)
- func (m *QueryProjectDocRequest) GetProjectDid() string
- func (m *QueryProjectDocRequest) Marshal() (dAtA []byte, err error)
- func (m *QueryProjectDocRequest) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryProjectDocRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryProjectDocRequest) ProtoMessage()
- func (m *QueryProjectDocRequest) Reset()
- func (m *QueryProjectDocRequest) Size() (n int)
- func (m *QueryProjectDocRequest) String() string
- func (m *QueryProjectDocRequest) Unmarshal(dAtA []byte) error
- func (m *QueryProjectDocRequest) XXX_DiscardUnknown()
- func (m *QueryProjectDocRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryProjectDocRequest) XXX_Merge(src proto.Message)
- func (m *QueryProjectDocRequest) XXX_Size() int
- func (m *QueryProjectDocRequest) XXX_Unmarshal(b []byte) error
- type QueryProjectDocResponse
- func (*QueryProjectDocResponse) Descriptor() ([]byte, []int)
- func (m *QueryProjectDocResponse) GetProjectDoc() *ProjectDoc
- func (m *QueryProjectDocResponse) Marshal() (dAtA []byte, err error)
- func (m *QueryProjectDocResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryProjectDocResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryProjectDocResponse) ProtoMessage()
- func (m *QueryProjectDocResponse) Reset()
- func (m *QueryProjectDocResponse) Size() (n int)
- func (m *QueryProjectDocResponse) String() string
- func (m *QueryProjectDocResponse) Unmarshal(dAtA []byte) error
- func (m *QueryProjectDocResponse) XXX_DiscardUnknown()
- func (m *QueryProjectDocResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryProjectDocResponse) XXX_Merge(src proto.Message)
- func (m *QueryProjectDocResponse) XXX_Size() int
- func (m *QueryProjectDocResponse) XXX_Unmarshal(b []byte) error
- type QueryProjectTxRequest
- func (*QueryProjectTxRequest) Descriptor() ([]byte, []int)
- func (m *QueryProjectTxRequest) GetProjectDid() string
- func (m *QueryProjectTxRequest) Marshal() (dAtA []byte, err error)
- func (m *QueryProjectTxRequest) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryProjectTxRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryProjectTxRequest) ProtoMessage()
- func (m *QueryProjectTxRequest) Reset()
- func (m *QueryProjectTxRequest) Size() (n int)
- func (m *QueryProjectTxRequest) String() string
- func (m *QueryProjectTxRequest) Unmarshal(dAtA []byte) error
- func (m *QueryProjectTxRequest) XXX_DiscardUnknown()
- func (m *QueryProjectTxRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryProjectTxRequest) XXX_Merge(src proto.Message)
- func (m *QueryProjectTxRequest) XXX_Size() int
- func (m *QueryProjectTxRequest) XXX_Unmarshal(b []byte) error
- type QueryProjectTxResponse
- func (*QueryProjectTxResponse) Descriptor() ([]byte, []int)
- func (m *QueryProjectTxResponse) GetTxs() *WithdrawalInfoDocs
- func (m *QueryProjectTxResponse) Marshal() (dAtA []byte, err error)
- func (m *QueryProjectTxResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryProjectTxResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryProjectTxResponse) ProtoMessage()
- func (m *QueryProjectTxResponse) Reset()
- func (m *QueryProjectTxResponse) Size() (n int)
- func (m *QueryProjectTxResponse) String() string
- func (m *QueryProjectTxResponse) Unmarshal(dAtA []byte) error
- func (m *QueryProjectTxResponse) XXX_DiscardUnknown()
- func (m *QueryProjectTxResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryProjectTxResponse) XXX_Merge(src proto.Message)
- func (m *QueryProjectTxResponse) XXX_Size() int
- func (m *QueryProjectTxResponse) XXX_Unmarshal(b []byte) error
- type QueryServer
- type UnimplementedMsgServer
- func (*UnimplementedMsgServer) CreateAgent(ctx context.Context, req *MsgCreateAgent) (*MsgCreateAgentResponse, error)
- func (*UnimplementedMsgServer) CreateClaim(ctx context.Context, req *MsgCreateClaim) (*MsgCreateClaimResponse, error)
- func (*UnimplementedMsgServer) CreateEvaluation(ctx context.Context, req *MsgCreateEvaluation) (*MsgCreateEvaluationResponse, error)
- func (*UnimplementedMsgServer) CreateProject(ctx context.Context, req *MsgCreateProject) (*MsgCreateProjectResponse, error)
- func (*UnimplementedMsgServer) UpdateAgent(ctx context.Context, req *MsgUpdateAgent) (*MsgUpdateAgentResponse, error)
- func (*UnimplementedMsgServer) UpdateProjectDoc(ctx context.Context, req *MsgUpdateProjectDoc) (*MsgUpdateProjectDocResponse, error)
- func (*UnimplementedMsgServer) UpdateProjectStatus(ctx context.Context, req *MsgUpdateProjectStatus) (*MsgUpdateProjectStatusResponse, error)
- func (*UnimplementedMsgServer) WithdrawFunds(ctx context.Context, req *MsgWithdrawFunds) (*MsgWithdrawFundsResponse, error)
- type UnimplementedQueryServer
- func (*UnimplementedQueryServer) Params(ctx context.Context, req *QueryParamsRequest) (*QueryParamsResponse, error)
- func (*UnimplementedQueryServer) ProjectAccounts(ctx context.Context, req *QueryProjectAccountsRequest) (*QueryProjectAccountsResponse, error)
- func (*UnimplementedQueryServer) ProjectDoc(ctx context.Context, req *QueryProjectDocRequest) (*QueryProjectDocResponse, error)
- func (*UnimplementedQueryServer) ProjectTx(ctx context.Context, req *QueryProjectTxRequest) (*QueryProjectTxResponse, error)
- type UpdateAgentDoc
- func (*UpdateAgentDoc) Descriptor() ([]byte, []int)
- func (m *UpdateAgentDoc) GetDid() string
- func (m *UpdateAgentDoc) GetRole() string
- func (m *UpdateAgentDoc) GetStatus() string
- func (m *UpdateAgentDoc) Marshal() (dAtA []byte, err error)
- func (m *UpdateAgentDoc) MarshalTo(dAtA []byte) (int, error)
- func (m *UpdateAgentDoc) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*UpdateAgentDoc) ProtoMessage()
- func (m *UpdateAgentDoc) Reset()
- func (m *UpdateAgentDoc) Size() (n int)
- func (m *UpdateAgentDoc) String() string
- func (m *UpdateAgentDoc) Unmarshal(dAtA []byte) error
- func (m *UpdateAgentDoc) XXX_DiscardUnknown()
- func (m *UpdateAgentDoc) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *UpdateAgentDoc) XXX_Merge(src proto.Message)
- func (m *UpdateAgentDoc) XXX_Size() int
- func (m *UpdateAgentDoc) XXX_Unmarshal(b []byte) error
- type UpdateProjectStatusDoc
- func (*UpdateProjectStatusDoc) Descriptor() ([]byte, []int)
- func (m *UpdateProjectStatusDoc) GetEthFundingTxnId() string
- func (m *UpdateProjectStatusDoc) GetStatus() string
- func (m *UpdateProjectStatusDoc) Marshal() (dAtA []byte, err error)
- func (m *UpdateProjectStatusDoc) MarshalTo(dAtA []byte) (int, error)
- func (m *UpdateProjectStatusDoc) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*UpdateProjectStatusDoc) ProtoMessage()
- func (m *UpdateProjectStatusDoc) Reset()
- func (m *UpdateProjectStatusDoc) Size() (n int)
- func (m *UpdateProjectStatusDoc) String() string
- func (m *UpdateProjectStatusDoc) Unmarshal(dAtA []byte) error
- func (m *UpdateProjectStatusDoc) XXX_DiscardUnknown()
- func (m *UpdateProjectStatusDoc) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *UpdateProjectStatusDoc) XXX_Merge(src proto.Message)
- func (m *UpdateProjectStatusDoc) XXX_Size() int
- func (m *UpdateProjectStatusDoc) XXX_Unmarshal(b []byte) error
- type WithdrawFundsDoc
- func (*WithdrawFundsDoc) Descriptor() ([]byte, []int)
- func (m *WithdrawFundsDoc) GetIsRefund() bool
- func (m *WithdrawFundsDoc) GetProjectDid() string
- func (m *WithdrawFundsDoc) GetRecipientDid() string
- func (m *WithdrawFundsDoc) Marshal() (dAtA []byte, err error)
- func (m *WithdrawFundsDoc) MarshalTo(dAtA []byte) (int, error)
- func (m *WithdrawFundsDoc) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*WithdrawFundsDoc) ProtoMessage()
- func (m *WithdrawFundsDoc) Reset()
- func (m *WithdrawFundsDoc) Size() (n int)
- func (m *WithdrawFundsDoc) String() string
- func (m *WithdrawFundsDoc) Unmarshal(dAtA []byte) error
- func (m *WithdrawFundsDoc) XXX_DiscardUnknown()
- func (m *WithdrawFundsDoc) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *WithdrawFundsDoc) XXX_Merge(src proto.Message)
- func (m *WithdrawFundsDoc) XXX_Size() int
- func (m *WithdrawFundsDoc) XXX_Unmarshal(b []byte) error
- type WithdrawalInfoDoc
- func (*WithdrawalInfoDoc) Descriptor() ([]byte, []int)
- func (m *WithdrawalInfoDoc) GetAmount() types.Coin
- func (m *WithdrawalInfoDoc) GetProjectDid() string
- func (m *WithdrawalInfoDoc) GetRecipientDid() string
- func (m *WithdrawalInfoDoc) Marshal() (dAtA []byte, err error)
- func (m *WithdrawalInfoDoc) MarshalTo(dAtA []byte) (int, error)
- func (m *WithdrawalInfoDoc) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*WithdrawalInfoDoc) ProtoMessage()
- func (m *WithdrawalInfoDoc) Reset()
- func (m *WithdrawalInfoDoc) Size() (n int)
- func (m *WithdrawalInfoDoc) String() string
- func (m *WithdrawalInfoDoc) Unmarshal(dAtA []byte) error
- func (m *WithdrawalInfoDoc) XXX_DiscardUnknown()
- func (m *WithdrawalInfoDoc) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *WithdrawalInfoDoc) XXX_Merge(src proto.Message)
- func (m *WithdrawalInfoDoc) XXX_Size() int
- func (m *WithdrawalInfoDoc) XXX_Unmarshal(b []byte) error
- type WithdrawalInfoDocs
- func (*WithdrawalInfoDocs) Descriptor() ([]byte, []int)
- func (m *WithdrawalInfoDocs) GetDocsList() []WithdrawalInfoDoc
- func (m *WithdrawalInfoDocs) Marshal() (dAtA []byte, err error)
- func (m *WithdrawalInfoDocs) MarshalTo(dAtA []byte) (int, error)
- func (m *WithdrawalInfoDocs) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*WithdrawalInfoDocs) ProtoMessage()
- func (m *WithdrawalInfoDocs) Reset()
- func (m *WithdrawalInfoDocs) Size() (n int)
- func (m *WithdrawalInfoDocs) String() string
- func (m *WithdrawalInfoDocs) Unmarshal(dAtA []byte) error
- func (m *WithdrawalInfoDocs) XXX_DiscardUnknown()
- func (m *WithdrawalInfoDocs) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *WithdrawalInfoDocs) XXX_Merge(src proto.Message)
- func (m *WithdrawalInfoDocs) XXX_Size() int
- func (m *WithdrawalInfoDocs) XXX_Unmarshal(b []byte) error
Constants ¶
const ( EventTypeCreateProject = "create_project" EventTypeUpdateProjectStatus = "update_project_status" EventTypeCreateAgent = "create_agent" EventTypeUpdateAgent = "update_agent" EventTypeCreateClaim = "create_claim" EventTypeCreateEvaluation = "create_evaluation" EventTypeWithdrawFunds = "withdraw_funds" AttributeKeyTxHash = "tx_hash" AttributeKeySenderDid = "sender_did" AttributeKeyProjectDid = "project_did" AttributeKeyPubKey = "pub_key" AttributeKeyRecipientDid = "recipient_did" AttributeKeyAmount = "amount" AttributeKeyIsRefund = "is_refund" AttributeKeyClaimID = "claim_id" AttributeKeyClaimTemplateID = "claim_template_id" AttributeKeyClaimStatus = "claim_status" AttributeKeyAgentDid = "agent_did" AttributeKeyAgentRole = "role" AttributeKeyEthFundingTxnID = "eth_funding_txn_id" AttributeKeyUpdatedStatus = "updated_status" AttributeValueCategory = ModuleName )
const ( ModuleName = "project" DefaultParamspace = ModuleName StoreKey = ModuleName RouterKey = ModuleName QuerierRoute = ModuleName )
const ( TypeMsgCreateProject = "create-project" TypeMsgUpdateProjectStatus = "update-project-status" TypeMsgCreateAgent = "create-agent" TypeMsgUpdateAgent = "update-agent" TypeMsgCreateClaim = "create-claim" TypeMsgCreateEvaluation = "create-evaluation" TypeMsgWithdrawFunds = "withdraw-funds" TypeMsgUpdateProjectDoc = "update-project-doc" MsgCreateProjectTotalFee = int64(1000000) MsgCreateProjectTransactionFee = int64(10000) )
Variables ¶
var ( ErrInvalidLengthGenesis = fmt.Errorf("proto: negative length found during unmarshaling") ErrIntOverflowGenesis = fmt.Errorf("proto: integer overflow") ErrUnexpectedEndOfGroupGenesis = fmt.Errorf("proto: unexpected end of group") )
var ( ProjectKey = []byte{0x01} DocKey = []byte{0x02} AccountMapKey = []byte{0x03} WithdrawalsKey = []byte{0x04} ClaimsKey = []byte{0x05} )
var ( KeyIxoDid = []byte("IxoDid") KeyProjectMinimumInitialFunding = []byte("ProjectMinimumInitialFunding") KeyOracleFeePercentage = []byte("OracleFeePercentage") KeyNodeFeePercentage = []byte("NodeFeePercentage") )
Parameter store keys
var ( ErrInvalidLengthProject = fmt.Errorf("proto: negative length found during unmarshaling") ErrIntOverflowProject = fmt.Errorf("proto: integer overflow") ErrUnexpectedEndOfGroupProject = fmt.Errorf("proto: unexpected end of group") )
var ( ErrInvalidLengthQuery = fmt.Errorf("proto: negative length found during unmarshaling") ErrIntOverflowQuery = fmt.Errorf("proto: integer overflow") ErrUnexpectedEndOfGroupQuery = fmt.Errorf("proto: unexpected end of group") )
var ( ProjectDid = "did:ixo:U7GK8p8rVhJMKhBVRCJJ8c" UserDid = "did:ixo:4XJLBfGtWSGKSz4BeRxdun" ProjectPubKey = "FmwNAfvV2xEqHwszrVJVBR3JgQ8AFCQEVzo1p6x4L8VW" ValidAddress1, _ = sdk.AccAddressFromHex("0F6A8D732716BA24B213D7C28984FBE1248D009D") ValidAccId1 = InternalAccountID(ValidAddress1.String()) )
var ( ErrInvalidLengthTx = fmt.Errorf("proto: negative length found during unmarshaling") ErrIntOverflowTx = fmt.Errorf("proto: integer overflow") ErrUnexpectedEndOfGroupTx = fmt.Errorf("proto: unexpected end of group") )
var ( // ModuleCdc references the global x/gov 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/gov and // defined at the application level. ModuleCdc = codec.NewAminoCodec(amino) )
var StateTransitions = initStateTransitions()
var ValidCreateProjectMsg = MsgCreateProject{ TxHash: "DummyTxHash", SenderDid: UserDid, ProjectDid: ProjectDid, PubKey: ProjectPubKey, Data: MustMarshalJson(validProjectData), }
var ValidProjectDoc = ProjectDoc{ TxHash: "DummyTxHash", SenderDid: UserDid, ProjectDid: ProjectDid, PubKey: ProjectPubKey, Status: string(CreatedProject), Data: MustMarshalJson(validProjectData), }
var ValidUpdatedProjectDoc = ProjectDoc{ TxHash: "DummyTxHash", SenderDid: UserDid, ProjectDid: ProjectDid, PubKey: ProjectPubKey, Status: string(PendingStatus), Data: MustMarshalJson(validProjectData), }
var ValidWithdrawalInfo = WithdrawalInfoDoc{ ProjectDid: ProjectDid, RecipientDid: UserDid, Amount: sdk.NewCoin(ixotypes.IxoNativeToken, sdk.NewInt(10)), }
Functions ¶
func GetAccountMapKey ¶
func GetAccountMapKey(projectDid didexported.Did) []byte
func GetClaimKey ¶
func GetClaimKey(projectDid didexported.Did, claimId string) []byte
func GetClaimsKey ¶
func GetClaimsKey(projectDid didexported.Did) []byte
func GetProjectKey ¶
func GetProjectKey(projectDid didexported.Did) []byte
func GetWithdrawalsKey ¶
func GetWithdrawalsKey(projectDid didexported.Did) []byte
func MustMarshalJson ¶
func MustMarshalJson(v interface{}) []byte
func RegisterInterfaces ¶
func RegisterInterfaces(registry types.InterfaceRegistry)
func RegisterLegacyAminoCodec ¶
func RegisterLegacyAminoCodec(cdc *codec.LegacyAmino)
func RegisterMsgServer ¶
func RegisterQueryHandler ¶
RegisterQueryHandler registers the http handlers for service Query to "mux". The handlers forward requests to the grpc endpoint over "conn".
func RegisterQueryHandlerClient ¶
func RegisterQueryHandlerClient(ctx context.Context, mux *runtime.ServeMux, client QueryClient) error
RegisterQueryHandlerClient registers the http handlers for service Query to "mux". The handlers forward requests to the grpc endpoint over the given implementation of "QueryClient". Note: the gRPC framework executes interceptors within the gRPC handler. If the passed in "QueryClient" doesn't go through the normal gRPC flow (creating a gRPC client etc.) then it will be up to the passed in "QueryClient" to call the correct interceptors.
func RegisterQueryHandlerFromEndpoint ¶
func RegisterQueryHandlerFromEndpoint(ctx context.Context, mux *runtime.ServeMux, endpoint string, opts []grpc.DialOption) (err error)
RegisterQueryHandlerFromEndpoint is same as RegisterQueryHandler but automatically dials to "endpoint" and closes the connection when "ctx" gets done.
func RegisterQueryHandlerServer ¶
func RegisterQueryHandlerServer(ctx context.Context, mux *runtime.ServeMux, server QueryServer) error
RegisterQueryHandlerServer registers the http handlers for service Query to "mux". UnaryRPC :call QueryServer directly. StreamingRPC :currently unsupported pending https://github.com/grpc/grpc-go/issues/906. Note that using this registration option will cause many gRPC library features (such as grpc.SendHeader, etc) to stop working. Consider using RegisterQueryHandlerFromEndpoint instead.
func RegisterQueryServer ¶
func RegisterQueryServer(s grpc1.Server, srv QueryServer)
func ValidateGenesis ¶
func ValidateGenesis(data GenesisState) error
Types ¶
type AccountMap ¶
func (*AccountMap) Descriptor ¶
func (*AccountMap) Descriptor() ([]byte, []int)
func (*AccountMap) GetMap ¶
func (m *AccountMap) GetMap() map[string]string
func (*AccountMap) Marshal ¶
func (m *AccountMap) Marshal() (dAtA []byte, err error)
func (*AccountMap) MarshalToSizedBuffer ¶
func (m *AccountMap) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*AccountMap) ProtoMessage ¶
func (*AccountMap) ProtoMessage()
func (*AccountMap) Reset ¶
func (m *AccountMap) Reset()
func (*AccountMap) Size ¶
func (m *AccountMap) Size() (n int)
func (*AccountMap) String ¶
func (m *AccountMap) String() string
func (*AccountMap) Unmarshal ¶
func (m *AccountMap) Unmarshal(dAtA []byte) error
func (*AccountMap) XXX_DiscardUnknown ¶
func (m *AccountMap) XXX_DiscardUnknown()
func (*AccountMap) XXX_Marshal ¶
func (m *AccountMap) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*AccountMap) XXX_Merge ¶
func (m *AccountMap) XXX_Merge(src proto.Message)
func (*AccountMap) XXX_Size ¶
func (m *AccountMap) XXX_Size() int
func (*AccountMap) XXX_Unmarshal ¶
func (m *AccountMap) XXX_Unmarshal(b []byte) error
type AgentStatus ¶
type AgentStatus = string
const ( PendingAgent AgentStatus = "0" ApprovedAgent AgentStatus = "1" RevokedAgent AgentStatus = "2" )
type Claim ¶
type Claim struct { Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty" yaml:"id"` TemplateId string `protobuf:"bytes,2,opt,name=template_id,json=templateId,proto3" json:"template_id,omitempty" yaml:"template_id"` ClaimerDid string `protobuf:"bytes,3,opt,name=claimer_did,json=claimerDid,proto3" json:"claimer_did,omitempty" yaml:"claimer_did"` Status string `protobuf:"bytes,4,opt,name=status,proto3" json:"status,omitempty" yaml:"status"` }
func (*Claim) Descriptor ¶
func (*Claim) GetClaimerDid ¶
func (*Claim) GetTemplateId ¶
func (*Claim) ProtoMessage ¶
func (*Claim) ProtoMessage()
func (*Claim) XXX_DiscardUnknown ¶
func (m *Claim) XXX_DiscardUnknown()
func (*Claim) XXX_Marshal ¶
func (*Claim) XXX_Unmarshal ¶
type ClaimStatus ¶
type ClaimStatus string
const ( PendingClaim ClaimStatus = "0" ApprovedClaim ClaimStatus = "1" RejectedClaim ClaimStatus = "2" )
type Claims ¶
type Claims struct {
ClaimsList []Claim `protobuf:"bytes,1,rep,name=claims_list,json=claimsList,proto3" json:"claims_list" yaml:"claims_list"`
}
func AppendClaims ¶
func (*Claims) Descriptor ¶
func (*Claims) GetClaimsList ¶
func (*Claims) MarshalToSizedBuffer ¶
func (*Claims) ProtoMessage ¶
func (*Claims) ProtoMessage()
func (*Claims) XXX_DiscardUnknown ¶
func (m *Claims) XXX_DiscardUnknown()
func (*Claims) XXX_Marshal ¶
func (*Claims) XXX_Unmarshal ¶
type CreateAgentDoc ¶
type CreateAgentDoc struct { AgentDid string `protobuf:"bytes,1,opt,name=agent_did,json=agentDid,proto3" json:"did" yaml:"did"` Role string `protobuf:"bytes,2,opt,name=role,proto3" json:"role,omitempty" yaml:"role"` }
func NewCreateAgentDoc ¶
func NewCreateAgentDoc(agentDid didexported.Did, role string) CreateAgentDoc
func (*CreateAgentDoc) Descriptor ¶
func (*CreateAgentDoc) Descriptor() ([]byte, []int)
func (*CreateAgentDoc) GetAgentDid ¶
func (m *CreateAgentDoc) GetAgentDid() string
func (*CreateAgentDoc) GetRole ¶
func (m *CreateAgentDoc) GetRole() string
func (*CreateAgentDoc) Marshal ¶
func (m *CreateAgentDoc) Marshal() (dAtA []byte, err error)
func (*CreateAgentDoc) MarshalToSizedBuffer ¶
func (m *CreateAgentDoc) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*CreateAgentDoc) ProtoMessage ¶
func (*CreateAgentDoc) ProtoMessage()
func (*CreateAgentDoc) Reset ¶
func (m *CreateAgentDoc) Reset()
func (*CreateAgentDoc) Size ¶
func (m *CreateAgentDoc) Size() (n int)
func (*CreateAgentDoc) String ¶
func (m *CreateAgentDoc) String() string
func (*CreateAgentDoc) Unmarshal ¶
func (m *CreateAgentDoc) Unmarshal(dAtA []byte) error
func (*CreateAgentDoc) XXX_DiscardUnknown ¶
func (m *CreateAgentDoc) XXX_DiscardUnknown()
func (*CreateAgentDoc) XXX_Marshal ¶
func (m *CreateAgentDoc) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*CreateAgentDoc) XXX_Merge ¶
func (m *CreateAgentDoc) XXX_Merge(src proto.Message)
func (*CreateAgentDoc) XXX_Size ¶
func (m *CreateAgentDoc) XXX_Size() int
func (*CreateAgentDoc) XXX_Unmarshal ¶
func (m *CreateAgentDoc) XXX_Unmarshal(b []byte) error
type CreateClaimDoc ¶
type CreateClaimDoc struct { ClaimId string `protobuf:"bytes,1,opt,name=claim_id,json=claimId,proto3" json:"claimID" yaml:"claimID"` ClaimTemplateId string `protobuf:"bytes,2,opt,name=claim_template_id,json=claimTemplateId,proto3" json:"claimTemplateID" yaml:"claimTemplateID"` }
func NewCreateClaimDoc ¶
func NewCreateClaimDoc(claimId string, claimTemplateID string) CreateClaimDoc
func (*CreateClaimDoc) Descriptor ¶
func (*CreateClaimDoc) Descriptor() ([]byte, []int)
func (*CreateClaimDoc) GetClaimId ¶
func (m *CreateClaimDoc) GetClaimId() string
func (*CreateClaimDoc) GetClaimTemplateId ¶
func (m *CreateClaimDoc) GetClaimTemplateId() string
func (*CreateClaimDoc) Marshal ¶
func (m *CreateClaimDoc) Marshal() (dAtA []byte, err error)
func (*CreateClaimDoc) MarshalToSizedBuffer ¶
func (m *CreateClaimDoc) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*CreateClaimDoc) ProtoMessage ¶
func (*CreateClaimDoc) ProtoMessage()
func (*CreateClaimDoc) Reset ¶
func (m *CreateClaimDoc) Reset()
func (*CreateClaimDoc) Size ¶
func (m *CreateClaimDoc) Size() (n int)
func (*CreateClaimDoc) String ¶
func (m *CreateClaimDoc) String() string
func (*CreateClaimDoc) Unmarshal ¶
func (m *CreateClaimDoc) Unmarshal(dAtA []byte) error
func (*CreateClaimDoc) XXX_DiscardUnknown ¶
func (m *CreateClaimDoc) XXX_DiscardUnknown()
func (*CreateClaimDoc) XXX_Marshal ¶
func (m *CreateClaimDoc) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*CreateClaimDoc) XXX_Merge ¶
func (m *CreateClaimDoc) XXX_Merge(src proto.Message)
func (*CreateClaimDoc) XXX_Size ¶
func (m *CreateClaimDoc) XXX_Size() int
func (*CreateClaimDoc) XXX_Unmarshal ¶
func (m *CreateClaimDoc) XXX_Unmarshal(b []byte) error
type CreateEvaluationDoc ¶
type CreateEvaluationDoc struct { ClaimId string `protobuf:"bytes,1,opt,name=claim_id,json=claimId,proto3" json:"claimID" yaml:"claimID"` Status string `protobuf:"bytes,2,opt,name=status,proto3" json:"status,omitempty" yaml:"status"` }
func NewCreateEvaluationDoc ¶
func NewCreateEvaluationDoc(claimId string, status ClaimStatus) CreateEvaluationDoc
func (*CreateEvaluationDoc) Descriptor ¶
func (*CreateEvaluationDoc) Descriptor() ([]byte, []int)
func (*CreateEvaluationDoc) GetClaimId ¶
func (m *CreateEvaluationDoc) GetClaimId() string
func (*CreateEvaluationDoc) GetStatus ¶
func (m *CreateEvaluationDoc) GetStatus() string
func (*CreateEvaluationDoc) Marshal ¶
func (m *CreateEvaluationDoc) Marshal() (dAtA []byte, err error)
func (*CreateEvaluationDoc) MarshalTo ¶
func (m *CreateEvaluationDoc) MarshalTo(dAtA []byte) (int, error)
func (*CreateEvaluationDoc) MarshalToSizedBuffer ¶
func (m *CreateEvaluationDoc) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*CreateEvaluationDoc) ProtoMessage ¶
func (*CreateEvaluationDoc) ProtoMessage()
func (*CreateEvaluationDoc) Reset ¶
func (m *CreateEvaluationDoc) Reset()
func (*CreateEvaluationDoc) Size ¶
func (m *CreateEvaluationDoc) Size() (n int)
func (*CreateEvaluationDoc) String ¶
func (m *CreateEvaluationDoc) String() string
func (*CreateEvaluationDoc) Unmarshal ¶
func (m *CreateEvaluationDoc) Unmarshal(dAtA []byte) error
func (*CreateEvaluationDoc) XXX_DiscardUnknown ¶
func (m *CreateEvaluationDoc) XXX_DiscardUnknown()
func (*CreateEvaluationDoc) XXX_Marshal ¶
func (m *CreateEvaluationDoc) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*CreateEvaluationDoc) XXX_Merge ¶
func (m *CreateEvaluationDoc) XXX_Merge(src proto.Message)
func (*CreateEvaluationDoc) XXX_Size ¶
func (m *CreateEvaluationDoc) XXX_Size() int
func (*CreateEvaluationDoc) XXX_Unmarshal ¶
func (m *CreateEvaluationDoc) XXX_Unmarshal(b []byte) error
type FeeType ¶
type FeeType string
const ( FeeForService FeeType = "FeeForService" OracleFee FeeType = "OracleFee" Subscription FeeType = "Subscription" RentalFee FeeType = "RentalFee" OutcomePayment FeeType = "OutcomePayment" InterestRepayment FeeType = "InterestRepayment" LoanRepayment FeeType = "LoanRepayment" IncomeDistribution FeeType = "IncomeDistribution" DisputeSettlement FeeType = "DisputeSettlement" )
type GenesisAccountMap ¶
type GenesisAccountMap struct {
Map map[string]string `` /* 158-byte string literal not displayed */
}
func (*GenesisAccountMap) Descriptor ¶
func (*GenesisAccountMap) Descriptor() ([]byte, []int)
func (*GenesisAccountMap) GetMap ¶
func (m *GenesisAccountMap) GetMap() map[string]string
func (*GenesisAccountMap) Marshal ¶
func (m *GenesisAccountMap) Marshal() (dAtA []byte, err error)
func (*GenesisAccountMap) MarshalTo ¶
func (m *GenesisAccountMap) MarshalTo(dAtA []byte) (int, error)
func (*GenesisAccountMap) MarshalToSizedBuffer ¶
func (m *GenesisAccountMap) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*GenesisAccountMap) ProtoMessage ¶
func (*GenesisAccountMap) ProtoMessage()
func (*GenesisAccountMap) Reset ¶
func (m *GenesisAccountMap) Reset()
func (*GenesisAccountMap) Size ¶
func (m *GenesisAccountMap) Size() (n int)
func (*GenesisAccountMap) String ¶
func (m *GenesisAccountMap) String() string
func (*GenesisAccountMap) Unmarshal ¶
func (m *GenesisAccountMap) Unmarshal(dAtA []byte) error
func (*GenesisAccountMap) XXX_DiscardUnknown ¶
func (m *GenesisAccountMap) XXX_DiscardUnknown()
func (*GenesisAccountMap) XXX_Marshal ¶
func (m *GenesisAccountMap) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*GenesisAccountMap) XXX_Merge ¶
func (m *GenesisAccountMap) XXX_Merge(src proto.Message)
func (*GenesisAccountMap) XXX_Size ¶
func (m *GenesisAccountMap) XXX_Size() int
func (*GenesisAccountMap) XXX_Unmarshal ¶
func (m *GenesisAccountMap) XXX_Unmarshal(b []byte) error
type GenesisState ¶
type GenesisState struct { ProjectDocs []ProjectDoc `protobuf:"bytes,1,rep,name=project_docs,json=projectDocs,proto3" json:"project_docs" yaml:"project_docs"` AccountMaps []GenesisAccountMap `protobuf:"bytes,2,rep,name=account_maps,json=accountMaps,proto3" json:"account_maps" yaml:"account_maps"` WithdrawalsInfos []WithdrawalInfoDocs `protobuf:"bytes,3,rep,name=withdrawals_infos,json=withdrawalsInfos,proto3" json:"withdrawal_infos" yaml:"withdrawal_infos"` Claims []Claims `protobuf:"bytes,4,rep,name=claims,proto3" json:"claims" yaml:"claims"` Params Params `protobuf:"bytes,5,opt,name=params,proto3" json:"params" yaml:"params"` }
func DefaultGenesisState ¶
func DefaultGenesisState() *GenesisState
func NewGenesisState ¶
func NewGenesisState(projectDocs []ProjectDoc, accountMaps []GenesisAccountMap, withdrawalInfos []WithdrawalInfoDocs, claims []Claims, params Params) *GenesisState
func (*GenesisState) Descriptor ¶
func (*GenesisState) Descriptor() ([]byte, []int)
func (*GenesisState) GetAccountMaps ¶
func (m *GenesisState) GetAccountMaps() []GenesisAccountMap
func (*GenesisState) GetClaims ¶
func (m *GenesisState) GetClaims() []Claims
func (*GenesisState) GetParams ¶
func (m *GenesisState) GetParams() Params
func (*GenesisState) GetProjectDocs ¶
func (m *GenesisState) GetProjectDocs() []ProjectDoc
func (*GenesisState) GetWithdrawalsInfos ¶
func (m *GenesisState) GetWithdrawalsInfos() []WithdrawalInfoDocs
func (*GenesisState) Marshal ¶
func (m *GenesisState) Marshal() (dAtA []byte, err error)
func (*GenesisState) MarshalToSizedBuffer ¶
func (m *GenesisState) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*GenesisState) ProtoMessage ¶
func (*GenesisState) ProtoMessage()
func (*GenesisState) Reset ¶
func (m *GenesisState) Reset()
func (*GenesisState) Size ¶
func (m *GenesisState) Size() (n int)
func (*GenesisState) String ¶
func (m *GenesisState) String() string
func (*GenesisState) Unmarshal ¶
func (m *GenesisState) Unmarshal(dAtA []byte) error
func (*GenesisState) XXX_DiscardUnknown ¶
func (m *GenesisState) XXX_DiscardUnknown()
func (*GenesisState) XXX_Marshal ¶
func (m *GenesisState) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*GenesisState) XXX_Merge ¶
func (m *GenesisState) XXX_Merge(src proto.Message)
func (*GenesisState) XXX_Size ¶
func (m *GenesisState) XXX_Size() int
func (*GenesisState) XXX_Unmarshal ¶
func (m *GenesisState) XXX_Unmarshal(b []byte) error
type InternalAccountID ¶
type InternalAccountID string
func (InternalAccountID) ToAddressKey ¶
func (id InternalAccountID) ToAddressKey(projectDid didexported.Did) string
type MsgClient ¶
type MsgClient interface { CreateProject(ctx context.Context, in *MsgCreateProject, opts ...grpc.CallOption) (*MsgCreateProjectResponse, error) UpdateProjectStatus(ctx context.Context, in *MsgUpdateProjectStatus, opts ...grpc.CallOption) (*MsgUpdateProjectStatusResponse, error) CreateAgent(ctx context.Context, in *MsgCreateAgent, opts ...grpc.CallOption) (*MsgCreateAgentResponse, error) UpdateAgent(ctx context.Context, in *MsgUpdateAgent, opts ...grpc.CallOption) (*MsgUpdateAgentResponse, error) CreateClaim(ctx context.Context, in *MsgCreateClaim, opts ...grpc.CallOption) (*MsgCreateClaimResponse, error) CreateEvaluation(ctx context.Context, in *MsgCreateEvaluation, opts ...grpc.CallOption) (*MsgCreateEvaluationResponse, error) WithdrawFunds(ctx context.Context, in *MsgWithdrawFunds, opts ...grpc.CallOption) (*MsgWithdrawFundsResponse, error) UpdateProjectDoc(ctx context.Context, in *MsgUpdateProjectDoc, opts ...grpc.CallOption) (*MsgUpdateProjectDocResponse, error) }
MsgClient is the client API for Msg service.
For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.
func NewMsgClient ¶
func NewMsgClient(cc grpc1.ClientConn) MsgClient
type MsgCreateAgent ¶
type MsgCreateAgent struct { TxHash string `protobuf:"bytes,1,opt,name=tx_hash,json=txHash,proto3" json:"txHash" yaml:"txHash"` SenderDid string `protobuf:"bytes,2,opt,name=sender_did,json=senderDid,proto3" json:"senderDid" yaml:"senderDid"` ProjectDid string `protobuf:"bytes,3,opt,name=project_did,json=projectDid,proto3" json:"projectDid" yaml:"projectDid"` Data CreateAgentDoc `protobuf:"bytes,4,opt,name=data,proto3" json:"data" yaml:"data"` }
func NewMsgCreateAgent ¶
func NewMsgCreateAgent(txHash string, senderDid didexported.Did, createAgentDoc CreateAgentDoc, projectDid didexported.Did) *MsgCreateAgent
func (*MsgCreateAgent) Descriptor ¶
func (*MsgCreateAgent) Descriptor() ([]byte, []int)
func (*MsgCreateAgent) GetData ¶
func (m *MsgCreateAgent) GetData() CreateAgentDoc
func (*MsgCreateAgent) GetProjectDid ¶
func (m *MsgCreateAgent) GetProjectDid() string
func (*MsgCreateAgent) GetSenderDid ¶
func (m *MsgCreateAgent) GetSenderDid() string
func (MsgCreateAgent) GetSignBytes ¶
func (msg MsgCreateAgent) GetSignBytes() []byte
func (MsgCreateAgent) GetSignerDid ¶
func (msg MsgCreateAgent) GetSignerDid() didexported.Did
func (MsgCreateAgent) GetSigners ¶
func (msg MsgCreateAgent) GetSigners() []sdk.AccAddress
func (*MsgCreateAgent) GetTxHash ¶
func (m *MsgCreateAgent) GetTxHash() string
func (*MsgCreateAgent) Marshal ¶
func (m *MsgCreateAgent) Marshal() (dAtA []byte, err error)
func (*MsgCreateAgent) MarshalToSizedBuffer ¶
func (m *MsgCreateAgent) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MsgCreateAgent) ProtoMessage ¶
func (*MsgCreateAgent) ProtoMessage()
func (*MsgCreateAgent) Reset ¶
func (m *MsgCreateAgent) Reset()
func (MsgCreateAgent) Route ¶
func (msg MsgCreateAgent) Route() string
func (*MsgCreateAgent) Size ¶
func (m *MsgCreateAgent) Size() (n int)
func (MsgCreateAgent) String ¶
func (msg MsgCreateAgent) String() string
func (MsgCreateAgent) Type ¶
func (msg MsgCreateAgent) Type() string
func (*MsgCreateAgent) Unmarshal ¶
func (m *MsgCreateAgent) Unmarshal(dAtA []byte) error
func (MsgCreateAgent) ValidateBasic ¶
func (msg MsgCreateAgent) ValidateBasic() error
func (*MsgCreateAgent) XXX_DiscardUnknown ¶
func (m *MsgCreateAgent) XXX_DiscardUnknown()
func (*MsgCreateAgent) XXX_Marshal ¶
func (m *MsgCreateAgent) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MsgCreateAgent) XXX_Merge ¶
func (m *MsgCreateAgent) XXX_Merge(src proto.Message)
func (*MsgCreateAgent) XXX_Size ¶
func (m *MsgCreateAgent) XXX_Size() int
func (*MsgCreateAgent) XXX_Unmarshal ¶
func (m *MsgCreateAgent) XXX_Unmarshal(b []byte) error
type MsgCreateAgentResponse ¶
type MsgCreateAgentResponse struct { }
func (*MsgCreateAgentResponse) Descriptor ¶
func (*MsgCreateAgentResponse) Descriptor() ([]byte, []int)
func (*MsgCreateAgentResponse) Marshal ¶
func (m *MsgCreateAgentResponse) Marshal() (dAtA []byte, err error)
func (*MsgCreateAgentResponse) MarshalTo ¶
func (m *MsgCreateAgentResponse) MarshalTo(dAtA []byte) (int, error)
func (*MsgCreateAgentResponse) MarshalToSizedBuffer ¶
func (m *MsgCreateAgentResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MsgCreateAgentResponse) ProtoMessage ¶
func (*MsgCreateAgentResponse) ProtoMessage()
func (*MsgCreateAgentResponse) Reset ¶
func (m *MsgCreateAgentResponse) Reset()
func (*MsgCreateAgentResponse) Size ¶
func (m *MsgCreateAgentResponse) Size() (n int)
func (*MsgCreateAgentResponse) String ¶
func (m *MsgCreateAgentResponse) String() string
func (*MsgCreateAgentResponse) Unmarshal ¶
func (m *MsgCreateAgentResponse) Unmarshal(dAtA []byte) error
func (*MsgCreateAgentResponse) XXX_DiscardUnknown ¶
func (m *MsgCreateAgentResponse) XXX_DiscardUnknown()
func (*MsgCreateAgentResponse) XXX_Marshal ¶
func (m *MsgCreateAgentResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MsgCreateAgentResponse) XXX_Merge ¶
func (m *MsgCreateAgentResponse) XXX_Merge(src proto.Message)
func (*MsgCreateAgentResponse) XXX_Size ¶
func (m *MsgCreateAgentResponse) XXX_Size() int
func (*MsgCreateAgentResponse) XXX_Unmarshal ¶
func (m *MsgCreateAgentResponse) XXX_Unmarshal(b []byte) error
type MsgCreateClaim ¶
type MsgCreateClaim struct { TxHash string `protobuf:"bytes,1,opt,name=tx_hash,json=txHash,proto3" json:"txHash" yaml:"txHash"` SenderDid string `protobuf:"bytes,2,opt,name=sender_did,json=senderDid,proto3" json:"senderDid" yaml:"senderDid"` ProjectDid string `protobuf:"bytes,3,opt,name=project_did,json=projectDid,proto3" json:"projectDid" yaml:"projectDid"` Data CreateClaimDoc `protobuf:"bytes,4,opt,name=data,proto3" json:"data" yaml:"data"` }
func NewMsgCreateClaim ¶
func NewMsgCreateClaim(txHash string, senderDid didexported.Did, createClaimDoc CreateClaimDoc, projectDid didexported.Did) *MsgCreateClaim
func (*MsgCreateClaim) Descriptor ¶
func (*MsgCreateClaim) Descriptor() ([]byte, []int)
func (*MsgCreateClaim) GetData ¶
func (m *MsgCreateClaim) GetData() CreateClaimDoc
func (*MsgCreateClaim) GetProjectDid ¶
func (m *MsgCreateClaim) GetProjectDid() string
func (*MsgCreateClaim) GetSenderDid ¶
func (m *MsgCreateClaim) GetSenderDid() string
func (MsgCreateClaim) GetSignBytes ¶
func (msg MsgCreateClaim) GetSignBytes() []byte
func (MsgCreateClaim) GetSignerDid ¶
func (msg MsgCreateClaim) GetSignerDid() didexported.Did
func (MsgCreateClaim) GetSigners ¶
func (msg MsgCreateClaim) GetSigners() []sdk.AccAddress
func (*MsgCreateClaim) GetTxHash ¶
func (m *MsgCreateClaim) GetTxHash() string
func (*MsgCreateClaim) Marshal ¶
func (m *MsgCreateClaim) Marshal() (dAtA []byte, err error)
func (*MsgCreateClaim) MarshalToSizedBuffer ¶
func (m *MsgCreateClaim) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MsgCreateClaim) ProtoMessage ¶
func (*MsgCreateClaim) ProtoMessage()
func (*MsgCreateClaim) Reset ¶
func (m *MsgCreateClaim) Reset()
func (MsgCreateClaim) Route ¶
func (msg MsgCreateClaim) Route() string
func (*MsgCreateClaim) Size ¶
func (m *MsgCreateClaim) Size() (n int)
func (MsgCreateClaim) String ¶
func (msg MsgCreateClaim) String() string
func (MsgCreateClaim) Type ¶
func (msg MsgCreateClaim) Type() string
func (*MsgCreateClaim) Unmarshal ¶
func (m *MsgCreateClaim) Unmarshal(dAtA []byte) error
func (MsgCreateClaim) ValidateBasic ¶
func (msg MsgCreateClaim) ValidateBasic() error
func (*MsgCreateClaim) XXX_DiscardUnknown ¶
func (m *MsgCreateClaim) XXX_DiscardUnknown()
func (*MsgCreateClaim) XXX_Marshal ¶
func (m *MsgCreateClaim) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MsgCreateClaim) XXX_Merge ¶
func (m *MsgCreateClaim) XXX_Merge(src proto.Message)
func (*MsgCreateClaim) XXX_Size ¶
func (m *MsgCreateClaim) XXX_Size() int
func (*MsgCreateClaim) XXX_Unmarshal ¶
func (m *MsgCreateClaim) XXX_Unmarshal(b []byte) error
type MsgCreateClaimResponse ¶
type MsgCreateClaimResponse struct { }
func (*MsgCreateClaimResponse) Descriptor ¶
func (*MsgCreateClaimResponse) Descriptor() ([]byte, []int)
func (*MsgCreateClaimResponse) Marshal ¶
func (m *MsgCreateClaimResponse) Marshal() (dAtA []byte, err error)
func (*MsgCreateClaimResponse) MarshalTo ¶
func (m *MsgCreateClaimResponse) MarshalTo(dAtA []byte) (int, error)
func (*MsgCreateClaimResponse) MarshalToSizedBuffer ¶
func (m *MsgCreateClaimResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MsgCreateClaimResponse) ProtoMessage ¶
func (*MsgCreateClaimResponse) ProtoMessage()
func (*MsgCreateClaimResponse) Reset ¶
func (m *MsgCreateClaimResponse) Reset()
func (*MsgCreateClaimResponse) Size ¶
func (m *MsgCreateClaimResponse) Size() (n int)
func (*MsgCreateClaimResponse) String ¶
func (m *MsgCreateClaimResponse) String() string
func (*MsgCreateClaimResponse) Unmarshal ¶
func (m *MsgCreateClaimResponse) Unmarshal(dAtA []byte) error
func (*MsgCreateClaimResponse) XXX_DiscardUnknown ¶
func (m *MsgCreateClaimResponse) XXX_DiscardUnknown()
func (*MsgCreateClaimResponse) XXX_Marshal ¶
func (m *MsgCreateClaimResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MsgCreateClaimResponse) XXX_Merge ¶
func (m *MsgCreateClaimResponse) XXX_Merge(src proto.Message)
func (*MsgCreateClaimResponse) XXX_Size ¶
func (m *MsgCreateClaimResponse) XXX_Size() int
func (*MsgCreateClaimResponse) XXX_Unmarshal ¶
func (m *MsgCreateClaimResponse) XXX_Unmarshal(b []byte) error
type MsgCreateEvaluation ¶
type MsgCreateEvaluation struct { TxHash string `protobuf:"bytes,1,opt,name=tx_hash,json=txHash,proto3" json:"txHash" yaml:"txHash"` SenderDid string `protobuf:"bytes,2,opt,name=sender_did,json=senderDid,proto3" json:"senderDid" yaml:"senderDid"` ProjectDid string `protobuf:"bytes,3,opt,name=project_did,json=projectDid,proto3" json:"projectDid" yaml:"projectDid"` Data CreateEvaluationDoc `protobuf:"bytes,4,opt,name=data,proto3" json:"data" yaml:"data"` }
func NewMsgCreateEvaluation ¶
func NewMsgCreateEvaluation(txHash string, senderDid didexported.Did, createEvaluationDoc CreateEvaluationDoc, projectDid didexported.Did) *MsgCreateEvaluation
func (*MsgCreateEvaluation) Descriptor ¶
func (*MsgCreateEvaluation) Descriptor() ([]byte, []int)
func (*MsgCreateEvaluation) GetData ¶
func (m *MsgCreateEvaluation) GetData() CreateEvaluationDoc
func (*MsgCreateEvaluation) GetProjectDid ¶
func (m *MsgCreateEvaluation) GetProjectDid() string
func (*MsgCreateEvaluation) GetSenderDid ¶
func (m *MsgCreateEvaluation) GetSenderDid() string
func (MsgCreateEvaluation) GetSignBytes ¶
func (msg MsgCreateEvaluation) GetSignBytes() []byte
func (MsgCreateEvaluation) GetSignerDid ¶
func (msg MsgCreateEvaluation) GetSignerDid() didexported.Did
func (MsgCreateEvaluation) GetSigners ¶
func (msg MsgCreateEvaluation) GetSigners() []sdk.AccAddress
func (*MsgCreateEvaluation) GetTxHash ¶
func (m *MsgCreateEvaluation) GetTxHash() string
func (*MsgCreateEvaluation) Marshal ¶
func (m *MsgCreateEvaluation) Marshal() (dAtA []byte, err error)
func (*MsgCreateEvaluation) MarshalTo ¶
func (m *MsgCreateEvaluation) MarshalTo(dAtA []byte) (int, error)
func (*MsgCreateEvaluation) MarshalToSizedBuffer ¶
func (m *MsgCreateEvaluation) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MsgCreateEvaluation) ProtoMessage ¶
func (*MsgCreateEvaluation) ProtoMessage()
func (*MsgCreateEvaluation) Reset ¶
func (m *MsgCreateEvaluation) Reset()
func (MsgCreateEvaluation) Route ¶
func (msg MsgCreateEvaluation) Route() string
func (*MsgCreateEvaluation) Size ¶
func (m *MsgCreateEvaluation) Size() (n int)
func (MsgCreateEvaluation) String ¶
func (msg MsgCreateEvaluation) String() string
func (MsgCreateEvaluation) Type ¶
func (msg MsgCreateEvaluation) Type() string
func (*MsgCreateEvaluation) Unmarshal ¶
func (m *MsgCreateEvaluation) Unmarshal(dAtA []byte) error
func (MsgCreateEvaluation) ValidateBasic ¶
func (msg MsgCreateEvaluation) ValidateBasic() error
func (*MsgCreateEvaluation) XXX_DiscardUnknown ¶
func (m *MsgCreateEvaluation) XXX_DiscardUnknown()
func (*MsgCreateEvaluation) XXX_Marshal ¶
func (m *MsgCreateEvaluation) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MsgCreateEvaluation) XXX_Merge ¶
func (m *MsgCreateEvaluation) XXX_Merge(src proto.Message)
func (*MsgCreateEvaluation) XXX_Size ¶
func (m *MsgCreateEvaluation) XXX_Size() int
func (*MsgCreateEvaluation) XXX_Unmarshal ¶
func (m *MsgCreateEvaluation) XXX_Unmarshal(b []byte) error
type MsgCreateEvaluationResponse ¶
type MsgCreateEvaluationResponse struct { }
func (*MsgCreateEvaluationResponse) Descriptor ¶
func (*MsgCreateEvaluationResponse) Descriptor() ([]byte, []int)
func (*MsgCreateEvaluationResponse) Marshal ¶
func (m *MsgCreateEvaluationResponse) Marshal() (dAtA []byte, err error)
func (*MsgCreateEvaluationResponse) MarshalTo ¶
func (m *MsgCreateEvaluationResponse) MarshalTo(dAtA []byte) (int, error)
func (*MsgCreateEvaluationResponse) MarshalToSizedBuffer ¶
func (m *MsgCreateEvaluationResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MsgCreateEvaluationResponse) ProtoMessage ¶
func (*MsgCreateEvaluationResponse) ProtoMessage()
func (*MsgCreateEvaluationResponse) Reset ¶
func (m *MsgCreateEvaluationResponse) Reset()
func (*MsgCreateEvaluationResponse) Size ¶
func (m *MsgCreateEvaluationResponse) Size() (n int)
func (*MsgCreateEvaluationResponse) String ¶
func (m *MsgCreateEvaluationResponse) String() string
func (*MsgCreateEvaluationResponse) Unmarshal ¶
func (m *MsgCreateEvaluationResponse) Unmarshal(dAtA []byte) error
func (*MsgCreateEvaluationResponse) XXX_DiscardUnknown ¶
func (m *MsgCreateEvaluationResponse) XXX_DiscardUnknown()
func (*MsgCreateEvaluationResponse) XXX_Marshal ¶
func (m *MsgCreateEvaluationResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MsgCreateEvaluationResponse) XXX_Merge ¶
func (m *MsgCreateEvaluationResponse) XXX_Merge(src proto.Message)
func (*MsgCreateEvaluationResponse) XXX_Size ¶
func (m *MsgCreateEvaluationResponse) XXX_Size() int
func (*MsgCreateEvaluationResponse) XXX_Unmarshal ¶
func (m *MsgCreateEvaluationResponse) XXX_Unmarshal(b []byte) error
type MsgCreateProject ¶
type MsgCreateProject struct { TxHash string `protobuf:"bytes,1,opt,name=tx_hash,json=txHash,proto3" json:"txHash" yaml:"txHash"` SenderDid string `protobuf:"bytes,2,opt,name=sender_did,json=senderDid,proto3" json:"senderDid" yaml:"senderDid"` ProjectDid string `protobuf:"bytes,3,opt,name=project_did,json=projectDid,proto3" json:"projectDid" yaml:"projectDid"` PubKey string `protobuf:"bytes,4,opt,name=pub_key,json=pubKey,proto3" json:"pubKey" yaml:"pubKey"` Data encoding_json.RawMessage `protobuf:"bytes,5,opt,name=data,proto3,casttype=encoding/json.RawMessage" json:"data,omitempty" yaml:"data"` }
func NewMsgCreateProject ¶
func NewMsgCreateProject(senderDid didexported.Did, projectData json.RawMessage, projectDid didexported.Did, pubKey string) *MsgCreateProject
func (*MsgCreateProject) Descriptor ¶
func (*MsgCreateProject) Descriptor() ([]byte, []int)
func (*MsgCreateProject) GetData ¶
func (m *MsgCreateProject) GetData() encoding_json.RawMessage
func (*MsgCreateProject) GetProjectDid ¶
func (m *MsgCreateProject) GetProjectDid() string
func (*MsgCreateProject) GetPubKey ¶
func (m *MsgCreateProject) GetPubKey() string
func (*MsgCreateProject) GetSenderDid ¶
func (m *MsgCreateProject) GetSenderDid() string
func (MsgCreateProject) GetSignBytes ¶
func (msg MsgCreateProject) GetSignBytes() []byte
func (MsgCreateProject) GetSignerDid ¶
func (msg MsgCreateProject) GetSignerDid() didexported.Did
func (MsgCreateProject) GetSigners ¶
func (msg MsgCreateProject) GetSigners() []sdk.AccAddress
func (*MsgCreateProject) GetTxHash ¶
func (m *MsgCreateProject) GetTxHash() string
func (*MsgCreateProject) Marshal ¶
func (m *MsgCreateProject) Marshal() (dAtA []byte, err error)
func (*MsgCreateProject) MarshalToSizedBuffer ¶
func (m *MsgCreateProject) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MsgCreateProject) ProtoMessage ¶
func (*MsgCreateProject) ProtoMessage()
func (*MsgCreateProject) Reset ¶
func (m *MsgCreateProject) Reset()
func (MsgCreateProject) Route ¶
func (msg MsgCreateProject) Route() string
func (*MsgCreateProject) Size ¶
func (m *MsgCreateProject) Size() (n int)
func (MsgCreateProject) String ¶
func (msg MsgCreateProject) String() string
func (MsgCreateProject) ToStdSignMsg ¶
func (msg MsgCreateProject) ToStdSignMsg(fee int64) legacytx.StdSignMsg
func (MsgCreateProject) Type ¶
func (msg MsgCreateProject) Type() string
func (*MsgCreateProject) Unmarshal ¶
func (m *MsgCreateProject) Unmarshal(dAtA []byte) error
func (MsgCreateProject) ValidateBasic ¶
func (msg MsgCreateProject) ValidateBasic() error
func (*MsgCreateProject) XXX_DiscardUnknown ¶
func (m *MsgCreateProject) XXX_DiscardUnknown()
func (*MsgCreateProject) XXX_Marshal ¶
func (m *MsgCreateProject) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MsgCreateProject) XXX_Merge ¶
func (m *MsgCreateProject) XXX_Merge(src proto.Message)
func (*MsgCreateProject) XXX_Size ¶
func (m *MsgCreateProject) XXX_Size() int
func (*MsgCreateProject) XXX_Unmarshal ¶
func (m *MsgCreateProject) XXX_Unmarshal(b []byte) error
type MsgCreateProjectResponse ¶
type MsgCreateProjectResponse struct { }
func (*MsgCreateProjectResponse) Descriptor ¶
func (*MsgCreateProjectResponse) Descriptor() ([]byte, []int)
func (*MsgCreateProjectResponse) Marshal ¶
func (m *MsgCreateProjectResponse) Marshal() (dAtA []byte, err error)
func (*MsgCreateProjectResponse) MarshalTo ¶
func (m *MsgCreateProjectResponse) MarshalTo(dAtA []byte) (int, error)
func (*MsgCreateProjectResponse) MarshalToSizedBuffer ¶
func (m *MsgCreateProjectResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MsgCreateProjectResponse) ProtoMessage ¶
func (*MsgCreateProjectResponse) ProtoMessage()
func (*MsgCreateProjectResponse) Reset ¶
func (m *MsgCreateProjectResponse) Reset()
func (*MsgCreateProjectResponse) Size ¶
func (m *MsgCreateProjectResponse) Size() (n int)
func (*MsgCreateProjectResponse) String ¶
func (m *MsgCreateProjectResponse) String() string
func (*MsgCreateProjectResponse) Unmarshal ¶
func (m *MsgCreateProjectResponse) Unmarshal(dAtA []byte) error
func (*MsgCreateProjectResponse) XXX_DiscardUnknown ¶
func (m *MsgCreateProjectResponse) XXX_DiscardUnknown()
func (*MsgCreateProjectResponse) XXX_Marshal ¶
func (m *MsgCreateProjectResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MsgCreateProjectResponse) XXX_Merge ¶
func (m *MsgCreateProjectResponse) XXX_Merge(src proto.Message)
func (*MsgCreateProjectResponse) XXX_Size ¶
func (m *MsgCreateProjectResponse) XXX_Size() int
func (*MsgCreateProjectResponse) XXX_Unmarshal ¶
func (m *MsgCreateProjectResponse) XXX_Unmarshal(b []byte) error
type MsgServer ¶
type MsgServer interface { CreateProject(context.Context, *MsgCreateProject) (*MsgCreateProjectResponse, error) UpdateProjectStatus(context.Context, *MsgUpdateProjectStatus) (*MsgUpdateProjectStatusResponse, error) CreateAgent(context.Context, *MsgCreateAgent) (*MsgCreateAgentResponse, error) UpdateAgent(context.Context, *MsgUpdateAgent) (*MsgUpdateAgentResponse, error) CreateClaim(context.Context, *MsgCreateClaim) (*MsgCreateClaimResponse, error) CreateEvaluation(context.Context, *MsgCreateEvaluation) (*MsgCreateEvaluationResponse, error) WithdrawFunds(context.Context, *MsgWithdrawFunds) (*MsgWithdrawFundsResponse, error) UpdateProjectDoc(context.Context, *MsgUpdateProjectDoc) (*MsgUpdateProjectDocResponse, error) }
MsgServer is the server API for Msg service.
type MsgUpdateAgent ¶
type MsgUpdateAgent struct { TxHash string `protobuf:"bytes,1,opt,name=tx_hash,json=txHash,proto3" json:"txHash" yaml:"txHash"` SenderDid string `protobuf:"bytes,2,opt,name=sender_did,json=senderDid,proto3" json:"senderDid" yaml:"senderDid"` ProjectDid string `protobuf:"bytes,3,opt,name=project_did,json=projectDid,proto3" json:"projectDid" yaml:"projectDid"` Data UpdateAgentDoc `protobuf:"bytes,4,opt,name=data,proto3" json:"data" yaml:"data"` }
func NewMsgUpdateAgent ¶
func NewMsgUpdateAgent(txHash string, senderDid didexported.Did, updateAgentDoc UpdateAgentDoc, projectDid didexported.Did) *MsgUpdateAgent
func (*MsgUpdateAgent) Descriptor ¶
func (*MsgUpdateAgent) Descriptor() ([]byte, []int)
func (*MsgUpdateAgent) GetData ¶
func (m *MsgUpdateAgent) GetData() UpdateAgentDoc
func (*MsgUpdateAgent) GetProjectDid ¶
func (m *MsgUpdateAgent) GetProjectDid() string
func (*MsgUpdateAgent) GetSenderDid ¶
func (m *MsgUpdateAgent) GetSenderDid() string
func (MsgUpdateAgent) GetSignBytes ¶
func (msg MsgUpdateAgent) GetSignBytes() []byte
func (MsgUpdateAgent) GetSignerDid ¶
func (msg MsgUpdateAgent) GetSignerDid() didexported.Did
func (MsgUpdateAgent) GetSigners ¶
func (msg MsgUpdateAgent) GetSigners() []sdk.AccAddress
func (*MsgUpdateAgent) GetTxHash ¶
func (m *MsgUpdateAgent) GetTxHash() string
func (*MsgUpdateAgent) Marshal ¶
func (m *MsgUpdateAgent) Marshal() (dAtA []byte, err error)
func (*MsgUpdateAgent) MarshalToSizedBuffer ¶
func (m *MsgUpdateAgent) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MsgUpdateAgent) ProtoMessage ¶
func (*MsgUpdateAgent) ProtoMessage()
func (*MsgUpdateAgent) Reset ¶
func (m *MsgUpdateAgent) Reset()
func (MsgUpdateAgent) Route ¶
func (msg MsgUpdateAgent) Route() string
func (*MsgUpdateAgent) Size ¶
func (m *MsgUpdateAgent) Size() (n int)
func (MsgUpdateAgent) String ¶
func (msg MsgUpdateAgent) String() string
func (MsgUpdateAgent) Type ¶
func (msg MsgUpdateAgent) Type() string
func (*MsgUpdateAgent) Unmarshal ¶
func (m *MsgUpdateAgent) Unmarshal(dAtA []byte) error
func (MsgUpdateAgent) ValidateBasic ¶
func (msg MsgUpdateAgent) ValidateBasic() error
func (*MsgUpdateAgent) XXX_DiscardUnknown ¶
func (m *MsgUpdateAgent) XXX_DiscardUnknown()
func (*MsgUpdateAgent) XXX_Marshal ¶
func (m *MsgUpdateAgent) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MsgUpdateAgent) XXX_Merge ¶
func (m *MsgUpdateAgent) XXX_Merge(src proto.Message)
func (*MsgUpdateAgent) XXX_Size ¶
func (m *MsgUpdateAgent) XXX_Size() int
func (*MsgUpdateAgent) XXX_Unmarshal ¶
func (m *MsgUpdateAgent) XXX_Unmarshal(b []byte) error
type MsgUpdateAgentResponse ¶
type MsgUpdateAgentResponse struct { }
func (*MsgUpdateAgentResponse) Descriptor ¶
func (*MsgUpdateAgentResponse) Descriptor() ([]byte, []int)
func (*MsgUpdateAgentResponse) Marshal ¶
func (m *MsgUpdateAgentResponse) Marshal() (dAtA []byte, err error)
func (*MsgUpdateAgentResponse) MarshalTo ¶
func (m *MsgUpdateAgentResponse) MarshalTo(dAtA []byte) (int, error)
func (*MsgUpdateAgentResponse) MarshalToSizedBuffer ¶
func (m *MsgUpdateAgentResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MsgUpdateAgentResponse) ProtoMessage ¶
func (*MsgUpdateAgentResponse) ProtoMessage()
func (*MsgUpdateAgentResponse) Reset ¶
func (m *MsgUpdateAgentResponse) Reset()
func (*MsgUpdateAgentResponse) Size ¶
func (m *MsgUpdateAgentResponse) Size() (n int)
func (*MsgUpdateAgentResponse) String ¶
func (m *MsgUpdateAgentResponse) String() string
func (*MsgUpdateAgentResponse) Unmarshal ¶
func (m *MsgUpdateAgentResponse) Unmarshal(dAtA []byte) error
func (*MsgUpdateAgentResponse) XXX_DiscardUnknown ¶
func (m *MsgUpdateAgentResponse) XXX_DiscardUnknown()
func (*MsgUpdateAgentResponse) XXX_Marshal ¶
func (m *MsgUpdateAgentResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MsgUpdateAgentResponse) XXX_Merge ¶
func (m *MsgUpdateAgentResponse) XXX_Merge(src proto.Message)
func (*MsgUpdateAgentResponse) XXX_Size ¶
func (m *MsgUpdateAgentResponse) XXX_Size() int
func (*MsgUpdateAgentResponse) XXX_Unmarshal ¶
func (m *MsgUpdateAgentResponse) XXX_Unmarshal(b []byte) error
type MsgUpdateProjectDoc ¶
type MsgUpdateProjectDoc struct { TxHash string `protobuf:"bytes,1,opt,name=tx_hash,json=txHash,proto3" json:"txHash" yaml:"txHash"` SenderDid string `protobuf:"bytes,2,opt,name=sender_did,json=senderDid,proto3" json:"senderDid" yaml:"senderDid"` ProjectDid string `protobuf:"bytes,3,opt,name=project_did,json=projectDid,proto3" json:"projectDid" yaml:"projectDid"` Data encoding_json.RawMessage `protobuf:"bytes,4,opt,name=data,proto3,casttype=encoding/json.RawMessage" json:"data,omitempty" yaml:"data"` }
func NewMsgUpdateProjectDoc ¶
func NewMsgUpdateProjectDoc(senderDid didexported.Did, projectData json.RawMessage, projectDid didexported.Did) *MsgUpdateProjectDoc
func (*MsgUpdateProjectDoc) Descriptor ¶
func (*MsgUpdateProjectDoc) Descriptor() ([]byte, []int)
func (*MsgUpdateProjectDoc) GetData ¶
func (m *MsgUpdateProjectDoc) GetData() encoding_json.RawMessage
func (*MsgUpdateProjectDoc) GetProjectDid ¶
func (m *MsgUpdateProjectDoc) GetProjectDid() string
func (*MsgUpdateProjectDoc) GetSenderDid ¶
func (m *MsgUpdateProjectDoc) GetSenderDid() string
func (MsgUpdateProjectDoc) GetSignBytes ¶
func (msg MsgUpdateProjectDoc) GetSignBytes() []byte
func (MsgUpdateProjectDoc) GetSignerDid ¶
func (msg MsgUpdateProjectDoc) GetSignerDid() didexported.Did
func (MsgUpdateProjectDoc) GetSigners ¶
func (msg MsgUpdateProjectDoc) GetSigners() []sdk.AccAddress
func (*MsgUpdateProjectDoc) GetTxHash ¶
func (m *MsgUpdateProjectDoc) GetTxHash() string
func (*MsgUpdateProjectDoc) Marshal ¶
func (m *MsgUpdateProjectDoc) Marshal() (dAtA []byte, err error)
func (*MsgUpdateProjectDoc) MarshalTo ¶
func (m *MsgUpdateProjectDoc) MarshalTo(dAtA []byte) (int, error)
func (*MsgUpdateProjectDoc) MarshalToSizedBuffer ¶
func (m *MsgUpdateProjectDoc) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MsgUpdateProjectDoc) ProtoMessage ¶
func (*MsgUpdateProjectDoc) ProtoMessage()
func (*MsgUpdateProjectDoc) Reset ¶
func (m *MsgUpdateProjectDoc) Reset()
func (MsgUpdateProjectDoc) Route ¶
func (msg MsgUpdateProjectDoc) Route() string
func (*MsgUpdateProjectDoc) Size ¶
func (m *MsgUpdateProjectDoc) Size() (n int)
func (*MsgUpdateProjectDoc) String ¶
func (m *MsgUpdateProjectDoc) String() string
func (MsgUpdateProjectDoc) Type ¶
func (msg MsgUpdateProjectDoc) Type() string
func (*MsgUpdateProjectDoc) Unmarshal ¶
func (m *MsgUpdateProjectDoc) Unmarshal(dAtA []byte) error
func (MsgUpdateProjectDoc) ValidateBasic ¶
func (msg MsgUpdateProjectDoc) ValidateBasic() error
func (*MsgUpdateProjectDoc) XXX_DiscardUnknown ¶
func (m *MsgUpdateProjectDoc) XXX_DiscardUnknown()
func (*MsgUpdateProjectDoc) XXX_Marshal ¶
func (m *MsgUpdateProjectDoc) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MsgUpdateProjectDoc) XXX_Merge ¶
func (m *MsgUpdateProjectDoc) XXX_Merge(src proto.Message)
func (*MsgUpdateProjectDoc) XXX_Size ¶
func (m *MsgUpdateProjectDoc) XXX_Size() int
func (*MsgUpdateProjectDoc) XXX_Unmarshal ¶
func (m *MsgUpdateProjectDoc) XXX_Unmarshal(b []byte) error
type MsgUpdateProjectDocResponse ¶
type MsgUpdateProjectDocResponse struct { }
func (*MsgUpdateProjectDocResponse) Descriptor ¶
func (*MsgUpdateProjectDocResponse) Descriptor() ([]byte, []int)
func (*MsgUpdateProjectDocResponse) Marshal ¶
func (m *MsgUpdateProjectDocResponse) Marshal() (dAtA []byte, err error)
func (*MsgUpdateProjectDocResponse) MarshalTo ¶
func (m *MsgUpdateProjectDocResponse) MarshalTo(dAtA []byte) (int, error)
func (*MsgUpdateProjectDocResponse) MarshalToSizedBuffer ¶
func (m *MsgUpdateProjectDocResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MsgUpdateProjectDocResponse) ProtoMessage ¶
func (*MsgUpdateProjectDocResponse) ProtoMessage()
func (*MsgUpdateProjectDocResponse) Reset ¶
func (m *MsgUpdateProjectDocResponse) Reset()
func (*MsgUpdateProjectDocResponse) Size ¶
func (m *MsgUpdateProjectDocResponse) Size() (n int)
func (*MsgUpdateProjectDocResponse) String ¶
func (m *MsgUpdateProjectDocResponse) String() string
func (*MsgUpdateProjectDocResponse) Unmarshal ¶
func (m *MsgUpdateProjectDocResponse) Unmarshal(dAtA []byte) error
func (*MsgUpdateProjectDocResponse) XXX_DiscardUnknown ¶
func (m *MsgUpdateProjectDocResponse) XXX_DiscardUnknown()
func (*MsgUpdateProjectDocResponse) XXX_Marshal ¶
func (m *MsgUpdateProjectDocResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MsgUpdateProjectDocResponse) XXX_Merge ¶
func (m *MsgUpdateProjectDocResponse) XXX_Merge(src proto.Message)
func (*MsgUpdateProjectDocResponse) XXX_Size ¶
func (m *MsgUpdateProjectDocResponse) XXX_Size() int
func (*MsgUpdateProjectDocResponse) XXX_Unmarshal ¶
func (m *MsgUpdateProjectDocResponse) XXX_Unmarshal(b []byte) error
type MsgUpdateProjectStatus ¶
type MsgUpdateProjectStatus struct { TxHash string `protobuf:"bytes,1,opt,name=tx_hash,json=txHash,proto3" json:"txHash" yaml:"txHash"` SenderDid string `protobuf:"bytes,2,opt,name=sender_did,json=senderDid,proto3" json:"senderDid" yaml:"senderDid"` ProjectDid string `protobuf:"bytes,3,opt,name=project_did,json=projectDid,proto3" json:"projectDid" yaml:"projectDid"` Data UpdateProjectStatusDoc `protobuf:"bytes,4,opt,name=data,proto3" json:"data" yaml:"data"` }
func NewMsgUpdateProjectStatus ¶
func NewMsgUpdateProjectStatus(senderDid didexported.Did, updateProjectStatusDoc UpdateProjectStatusDoc, projectDid didexported.Did) *MsgUpdateProjectStatus
func (*MsgUpdateProjectStatus) Descriptor ¶
func (*MsgUpdateProjectStatus) Descriptor() ([]byte, []int)
func (*MsgUpdateProjectStatus) GetData ¶
func (m *MsgUpdateProjectStatus) GetData() UpdateProjectStatusDoc
func (*MsgUpdateProjectStatus) GetProjectDid ¶
func (m *MsgUpdateProjectStatus) GetProjectDid() string
func (*MsgUpdateProjectStatus) GetSenderDid ¶
func (m *MsgUpdateProjectStatus) GetSenderDid() string
func (MsgUpdateProjectStatus) GetSignBytes ¶
func (msg MsgUpdateProjectStatus) GetSignBytes() []byte
func (MsgUpdateProjectStatus) GetSignerDid ¶
func (msg MsgUpdateProjectStatus) GetSignerDid() didexported.Did
func (MsgUpdateProjectStatus) GetSigners ¶
func (msg MsgUpdateProjectStatus) GetSigners() []sdk.AccAddress
func (*MsgUpdateProjectStatus) GetTxHash ¶
func (m *MsgUpdateProjectStatus) GetTxHash() string
func (*MsgUpdateProjectStatus) Marshal ¶
func (m *MsgUpdateProjectStatus) Marshal() (dAtA []byte, err error)
func (*MsgUpdateProjectStatus) MarshalTo ¶
func (m *MsgUpdateProjectStatus) MarshalTo(dAtA []byte) (int, error)
func (*MsgUpdateProjectStatus) MarshalToSizedBuffer ¶
func (m *MsgUpdateProjectStatus) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MsgUpdateProjectStatus) ProtoMessage ¶
func (*MsgUpdateProjectStatus) ProtoMessage()
func (*MsgUpdateProjectStatus) Reset ¶
func (m *MsgUpdateProjectStatus) Reset()
func (MsgUpdateProjectStatus) Route ¶
func (msg MsgUpdateProjectStatus) Route() string
func (*MsgUpdateProjectStatus) Size ¶
func (m *MsgUpdateProjectStatus) Size() (n int)
func (*MsgUpdateProjectStatus) String ¶
func (m *MsgUpdateProjectStatus) String() string
func (MsgUpdateProjectStatus) Type ¶
func (msg MsgUpdateProjectStatus) Type() string
func (*MsgUpdateProjectStatus) Unmarshal ¶
func (m *MsgUpdateProjectStatus) Unmarshal(dAtA []byte) error
func (MsgUpdateProjectStatus) ValidateBasic ¶
func (msg MsgUpdateProjectStatus) ValidateBasic() error
func (*MsgUpdateProjectStatus) XXX_DiscardUnknown ¶
func (m *MsgUpdateProjectStatus) XXX_DiscardUnknown()
func (*MsgUpdateProjectStatus) XXX_Marshal ¶
func (m *MsgUpdateProjectStatus) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MsgUpdateProjectStatus) XXX_Merge ¶
func (m *MsgUpdateProjectStatus) XXX_Merge(src proto.Message)
func (*MsgUpdateProjectStatus) XXX_Size ¶
func (m *MsgUpdateProjectStatus) XXX_Size() int
func (*MsgUpdateProjectStatus) XXX_Unmarshal ¶
func (m *MsgUpdateProjectStatus) XXX_Unmarshal(b []byte) error
type MsgUpdateProjectStatusResponse ¶
type MsgUpdateProjectStatusResponse struct { }
func (*MsgUpdateProjectStatusResponse) Descriptor ¶
func (*MsgUpdateProjectStatusResponse) Descriptor() ([]byte, []int)
func (*MsgUpdateProjectStatusResponse) Marshal ¶
func (m *MsgUpdateProjectStatusResponse) Marshal() (dAtA []byte, err error)
func (*MsgUpdateProjectStatusResponse) MarshalTo ¶
func (m *MsgUpdateProjectStatusResponse) MarshalTo(dAtA []byte) (int, error)
func (*MsgUpdateProjectStatusResponse) MarshalToSizedBuffer ¶
func (m *MsgUpdateProjectStatusResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MsgUpdateProjectStatusResponse) ProtoMessage ¶
func (*MsgUpdateProjectStatusResponse) ProtoMessage()
func (*MsgUpdateProjectStatusResponse) Reset ¶
func (m *MsgUpdateProjectStatusResponse) Reset()
func (*MsgUpdateProjectStatusResponse) Size ¶
func (m *MsgUpdateProjectStatusResponse) Size() (n int)
func (*MsgUpdateProjectStatusResponse) String ¶
func (m *MsgUpdateProjectStatusResponse) String() string
func (*MsgUpdateProjectStatusResponse) Unmarshal ¶
func (m *MsgUpdateProjectStatusResponse) Unmarshal(dAtA []byte) error
func (*MsgUpdateProjectStatusResponse) XXX_DiscardUnknown ¶
func (m *MsgUpdateProjectStatusResponse) XXX_DiscardUnknown()
func (*MsgUpdateProjectStatusResponse) XXX_Marshal ¶
func (m *MsgUpdateProjectStatusResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MsgUpdateProjectStatusResponse) XXX_Merge ¶
func (m *MsgUpdateProjectStatusResponse) XXX_Merge(src proto.Message)
func (*MsgUpdateProjectStatusResponse) XXX_Size ¶
func (m *MsgUpdateProjectStatusResponse) XXX_Size() int
func (*MsgUpdateProjectStatusResponse) XXX_Unmarshal ¶
func (m *MsgUpdateProjectStatusResponse) XXX_Unmarshal(b []byte) error
type MsgWithdrawFunds ¶
type MsgWithdrawFunds struct { SenderDid string `protobuf:"bytes,1,opt,name=sender_did,json=senderDid,proto3" json:"senderDid" yaml:"senderDid"` Data WithdrawFundsDoc `protobuf:"bytes,2,opt,name=data,proto3" json:"data" yaml:"data"` }
func NewMsgWithdrawFunds ¶
func NewMsgWithdrawFunds(senderDid didexported.Did, data WithdrawFundsDoc) *MsgWithdrawFunds
func (*MsgWithdrawFunds) Descriptor ¶
func (*MsgWithdrawFunds) Descriptor() ([]byte, []int)
func (*MsgWithdrawFunds) GetData ¶
func (m *MsgWithdrawFunds) GetData() WithdrawFundsDoc
func (*MsgWithdrawFunds) GetSenderDid ¶
func (m *MsgWithdrawFunds) GetSenderDid() string
func (MsgWithdrawFunds) GetSignBytes ¶
func (msg MsgWithdrawFunds) GetSignBytes() []byte
func (MsgWithdrawFunds) GetSignerDid ¶
func (msg MsgWithdrawFunds) GetSignerDid() didexported.Did
func (MsgWithdrawFunds) GetSigners ¶
func (msg MsgWithdrawFunds) GetSigners() []sdk.AccAddress
func (*MsgWithdrawFunds) Marshal ¶
func (m *MsgWithdrawFunds) Marshal() (dAtA []byte, err error)
func (*MsgWithdrawFunds) MarshalToSizedBuffer ¶
func (m *MsgWithdrawFunds) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MsgWithdrawFunds) ProtoMessage ¶
func (*MsgWithdrawFunds) ProtoMessage()
func (*MsgWithdrawFunds) Reset ¶
func (m *MsgWithdrawFunds) Reset()
func (MsgWithdrawFunds) Route ¶
func (msg MsgWithdrawFunds) Route() string
func (*MsgWithdrawFunds) Size ¶
func (m *MsgWithdrawFunds) Size() (n int)
func (MsgWithdrawFunds) String ¶
func (msg MsgWithdrawFunds) String() string
func (MsgWithdrawFunds) Type ¶
func (msg MsgWithdrawFunds) Type() string
func (*MsgWithdrawFunds) Unmarshal ¶
func (m *MsgWithdrawFunds) Unmarshal(dAtA []byte) error
func (MsgWithdrawFunds) ValidateBasic ¶
func (msg MsgWithdrawFunds) ValidateBasic() error
func (*MsgWithdrawFunds) XXX_DiscardUnknown ¶
func (m *MsgWithdrawFunds) XXX_DiscardUnknown()
func (*MsgWithdrawFunds) XXX_Marshal ¶
func (m *MsgWithdrawFunds) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MsgWithdrawFunds) XXX_Merge ¶
func (m *MsgWithdrawFunds) XXX_Merge(src proto.Message)
func (*MsgWithdrawFunds) XXX_Size ¶
func (m *MsgWithdrawFunds) XXX_Size() int
func (*MsgWithdrawFunds) XXX_Unmarshal ¶
func (m *MsgWithdrawFunds) XXX_Unmarshal(b []byte) error
type MsgWithdrawFundsResponse ¶
type MsgWithdrawFundsResponse struct { }
func (*MsgWithdrawFundsResponse) Descriptor ¶
func (*MsgWithdrawFundsResponse) Descriptor() ([]byte, []int)
func (*MsgWithdrawFundsResponse) Marshal ¶
func (m *MsgWithdrawFundsResponse) Marshal() (dAtA []byte, err error)
func (*MsgWithdrawFundsResponse) MarshalTo ¶
func (m *MsgWithdrawFundsResponse) MarshalTo(dAtA []byte) (int, error)
func (*MsgWithdrawFundsResponse) MarshalToSizedBuffer ¶
func (m *MsgWithdrawFundsResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MsgWithdrawFundsResponse) ProtoMessage ¶
func (*MsgWithdrawFundsResponse) ProtoMessage()
func (*MsgWithdrawFundsResponse) Reset ¶
func (m *MsgWithdrawFundsResponse) Reset()
func (*MsgWithdrawFundsResponse) Size ¶
func (m *MsgWithdrawFundsResponse) Size() (n int)
func (*MsgWithdrawFundsResponse) String ¶
func (m *MsgWithdrawFundsResponse) String() string
func (*MsgWithdrawFundsResponse) Unmarshal ¶
func (m *MsgWithdrawFundsResponse) Unmarshal(dAtA []byte) error
func (*MsgWithdrawFundsResponse) XXX_DiscardUnknown ¶
func (m *MsgWithdrawFundsResponse) XXX_DiscardUnknown()
func (*MsgWithdrawFundsResponse) XXX_Marshal ¶
func (m *MsgWithdrawFundsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MsgWithdrawFundsResponse) XXX_Merge ¶
func (m *MsgWithdrawFundsResponse) XXX_Merge(src proto.Message)
func (*MsgWithdrawFundsResponse) XXX_Size ¶
func (m *MsgWithdrawFundsResponse) XXX_Size() int
func (*MsgWithdrawFundsResponse) XXX_Unmarshal ¶
func (m *MsgWithdrawFundsResponse) XXX_Unmarshal(b []byte) error
type Params ¶
type Params struct { IxoDid string `protobuf:"bytes,1,opt,name=ixo_did,json=ixoDid,proto3" json:"ixo_did,omitempty" yaml:"ixo_did"` ProjectMinimumInitialFunding github_com_cosmos_cosmos_sdk_types.Coins `` /* 232-byte string literal not displayed */ OracleFeePercentage github_com_cosmos_cosmos_sdk_types.Dec `` /* 189-byte string literal not displayed */ NodeFeePercentage github_com_cosmos_cosmos_sdk_types.Dec `` /* 181-byte string literal not displayed */ }
func (*Params) Descriptor ¶
func (*Params) GetProjectMinimumInitialFunding ¶
func (m *Params) GetProjectMinimumInitialFunding() github_com_cosmos_cosmos_sdk_types.Coins
func (*Params) MarshalToSizedBuffer ¶
func (*Params) ParamSetPairs ¶
func (p *Params) ParamSetPairs() params.ParamSetPairs
Implements params.ParamSet
func (*Params) ProtoMessage ¶
func (*Params) ProtoMessage()
func (*Params) XXX_DiscardUnknown ¶
func (m *Params) XXX_DiscardUnknown()
func (*Params) XXX_Marshal ¶
func (*Params) XXX_Unmarshal ¶
type ProjectDataMap ¶
type ProjectDataMap map[string]json.RawMessage
type ProjectDoc ¶
type ProjectDoc struct { TxHash string `protobuf:"bytes,1,opt,name=tx_hash,json=txHash,proto3" json:"txHash" yaml:"txHash"` ProjectDid string `protobuf:"bytes,2,opt,name=project_did,json=projectDid,proto3" json:"projectDid" yaml:"projectDid"` SenderDid string `protobuf:"bytes,3,opt,name=sender_did,json=senderDid,proto3" json:"senderDid" yaml:"senderDid"` PubKey string `protobuf:"bytes,4,opt,name=pub_key,json=pubKey,proto3" json:"pubKey" yaml:"pubKey"` Status string `protobuf:"bytes,5,opt,name=status,proto3" json:"status,omitempty" yaml:"status"` Data encoding_json.RawMessage `protobuf:"bytes,6,opt,name=data,proto3,casttype=encoding/json.RawMessage" json:"data,omitempty" yaml:"data"` }
func NewProjectDoc ¶
func NewProjectDoc(txHash string, projectDid, senderDid didexported.Did, pubKey string, status ProjectStatus, data json.RawMessage) ProjectDoc
func (*ProjectDoc) Descriptor ¶
func (*ProjectDoc) Descriptor() ([]byte, []int)
func (*ProjectDoc) GetData ¶
func (m *ProjectDoc) GetData() encoding_json.RawMessage
func (ProjectDoc) GetProjectData ¶
func (pd ProjectDoc) GetProjectData() (dataMap ProjectDataMap)
func (*ProjectDoc) GetProjectDid ¶
func (m *ProjectDoc) GetProjectDid() string
func (ProjectDoc) GetProjectFeesMap ¶
func (pd ProjectDoc) GetProjectFeesMap() (feesMap ProjectFeesMap)
func (*ProjectDoc) GetPubKey ¶
func (m *ProjectDoc) GetPubKey() string
func (*ProjectDoc) GetSenderDid ¶
func (m *ProjectDoc) GetSenderDid() string
func (*ProjectDoc) GetStatus ¶
func (m *ProjectDoc) GetStatus() string
func (*ProjectDoc) GetTxHash ¶
func (m *ProjectDoc) GetTxHash() string
func (*ProjectDoc) Marshal ¶
func (m *ProjectDoc) Marshal() (dAtA []byte, err error)
func (*ProjectDoc) MarshalToSizedBuffer ¶
func (m *ProjectDoc) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*ProjectDoc) ProtoMessage ¶
func (*ProjectDoc) ProtoMessage()
func (*ProjectDoc) Reset ¶
func (m *ProjectDoc) Reset()
func (*ProjectDoc) Size ¶
func (m *ProjectDoc) Size() (n int)
func (*ProjectDoc) String ¶
func (m *ProjectDoc) String() string
func (*ProjectDoc) Unmarshal ¶
func (m *ProjectDoc) Unmarshal(dAtA []byte) error
func (*ProjectDoc) XXX_DiscardUnknown ¶
func (m *ProjectDoc) XXX_DiscardUnknown()
func (*ProjectDoc) XXX_Marshal ¶
func (m *ProjectDoc) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ProjectDoc) XXX_Merge ¶
func (m *ProjectDoc) XXX_Merge(src proto.Message)
func (*ProjectDoc) XXX_Size ¶
func (m *ProjectDoc) XXX_Size() int
func (*ProjectDoc) XXX_Unmarshal ¶
func (m *ProjectDoc) XXX_Unmarshal(b []byte) error
type ProjectFeesMap ¶
type ProjectFeesMap struct { Context string `json:"@context" yaml:"@context"` Items []ProjectFeesMapItem }
func (ProjectFeesMap) GetPayTemplateId ¶
func (pfm ProjectFeesMap) GetPayTemplateId(feeType FeeType) (string, error)
type ProjectFeesMapItem ¶
type ProjectStatus ¶
type ProjectStatus string
const ( NullStatus ProjectStatus = "" CreatedProject ProjectStatus = "CREATED" PendingStatus ProjectStatus = "PENDING" FundedStatus ProjectStatus = "FUNDED" StartedStatus ProjectStatus = "STARTED" StoppedStatus ProjectStatus = "STOPPED" PaidoutStatus ProjectStatus = "PAIDOUT" )
func ProjectStatusFromString ¶
func ProjectStatusFromString(s string) ProjectStatus
func (ProjectStatus) IsValidProgressionFrom ¶
func (next ProjectStatus) IsValidProgressionFrom(prev ProjectStatus) bool
type ProjectStatusTransitionMap ¶
type ProjectStatusTransitionMap map[ProjectStatus][]ProjectStatus
type QueryClient ¶
type QueryClient interface { ProjectDoc(ctx context.Context, in *QueryProjectDocRequest, opts ...grpc.CallOption) (*QueryProjectDocResponse, error) ProjectAccounts(ctx context.Context, in *QueryProjectAccountsRequest, opts ...grpc.CallOption) (*QueryProjectAccountsResponse, error) ProjectTx(ctx context.Context, in *QueryProjectTxRequest, opts ...grpc.CallOption) (*QueryProjectTxResponse, error) Params(ctx context.Context, in *QueryParamsRequest, opts ...grpc.CallOption) (*QueryParamsResponse, error) }
QueryClient is the client API for Query service.
For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.
func NewQueryClient ¶
func NewQueryClient(cc grpc1.ClientConn) QueryClient
type QueryParamsRequest ¶
type QueryParamsRequest struct { }
func (*QueryParamsRequest) Descriptor ¶
func (*QueryParamsRequest) Descriptor() ([]byte, []int)
func (*QueryParamsRequest) Marshal ¶
func (m *QueryParamsRequest) Marshal() (dAtA []byte, err error)
func (*QueryParamsRequest) MarshalTo ¶
func (m *QueryParamsRequest) MarshalTo(dAtA []byte) (int, error)
func (*QueryParamsRequest) MarshalToSizedBuffer ¶
func (m *QueryParamsRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QueryParamsRequest) ProtoMessage ¶
func (*QueryParamsRequest) ProtoMessage()
func (*QueryParamsRequest) Reset ¶
func (m *QueryParamsRequest) Reset()
func (*QueryParamsRequest) Size ¶
func (m *QueryParamsRequest) Size() (n int)
func (*QueryParamsRequest) String ¶
func (m *QueryParamsRequest) String() string
func (*QueryParamsRequest) Unmarshal ¶
func (m *QueryParamsRequest) Unmarshal(dAtA []byte) error
func (*QueryParamsRequest) XXX_DiscardUnknown ¶
func (m *QueryParamsRequest) XXX_DiscardUnknown()
func (*QueryParamsRequest) XXX_Marshal ¶
func (m *QueryParamsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QueryParamsRequest) XXX_Merge ¶
func (m *QueryParamsRequest) XXX_Merge(src proto.Message)
func (*QueryParamsRequest) XXX_Size ¶
func (m *QueryParamsRequest) XXX_Size() int
func (*QueryParamsRequest) XXX_Unmarshal ¶
func (m *QueryParamsRequest) XXX_Unmarshal(b []byte) error
type QueryParamsResponse ¶
type QueryParamsResponse struct {
Params Params `protobuf:"bytes,1,opt,name=params,proto3" json:"params" yaml:"params"`
}
func (*QueryParamsResponse) Descriptor ¶
func (*QueryParamsResponse) Descriptor() ([]byte, []int)
func (*QueryParamsResponse) GetParams ¶
func (m *QueryParamsResponse) GetParams() Params
func (*QueryParamsResponse) Marshal ¶
func (m *QueryParamsResponse) Marshal() (dAtA []byte, err error)
func (*QueryParamsResponse) MarshalTo ¶
func (m *QueryParamsResponse) MarshalTo(dAtA []byte) (int, error)
func (*QueryParamsResponse) MarshalToSizedBuffer ¶
func (m *QueryParamsResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QueryParamsResponse) ProtoMessage ¶
func (*QueryParamsResponse) ProtoMessage()
func (*QueryParamsResponse) Reset ¶
func (m *QueryParamsResponse) Reset()
func (*QueryParamsResponse) Size ¶
func (m *QueryParamsResponse) Size() (n int)
func (*QueryParamsResponse) String ¶
func (m *QueryParamsResponse) String() string
func (*QueryParamsResponse) Unmarshal ¶
func (m *QueryParamsResponse) Unmarshal(dAtA []byte) error
func (*QueryParamsResponse) XXX_DiscardUnknown ¶
func (m *QueryParamsResponse) XXX_DiscardUnknown()
func (*QueryParamsResponse) XXX_Marshal ¶
func (m *QueryParamsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QueryParamsResponse) XXX_Merge ¶
func (m *QueryParamsResponse) XXX_Merge(src proto.Message)
func (*QueryParamsResponse) XXX_Size ¶
func (m *QueryParamsResponse) XXX_Size() int
func (*QueryParamsResponse) XXX_Unmarshal ¶
func (m *QueryParamsResponse) XXX_Unmarshal(b []byte) error
type QueryProjectAccountsRequest ¶
type QueryProjectAccountsRequest struct {
ProjectDid string `protobuf:"bytes,1,opt,name=project_did,json=projectDid,proto3" json:"project_did,omitempty" yaml:"project_did"`
}
func (*QueryProjectAccountsRequest) Descriptor ¶
func (*QueryProjectAccountsRequest) Descriptor() ([]byte, []int)
func (*QueryProjectAccountsRequest) GetProjectDid ¶
func (m *QueryProjectAccountsRequest) GetProjectDid() string
func (*QueryProjectAccountsRequest) Marshal ¶
func (m *QueryProjectAccountsRequest) Marshal() (dAtA []byte, err error)
func (*QueryProjectAccountsRequest) MarshalTo ¶
func (m *QueryProjectAccountsRequest) MarshalTo(dAtA []byte) (int, error)
func (*QueryProjectAccountsRequest) MarshalToSizedBuffer ¶
func (m *QueryProjectAccountsRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QueryProjectAccountsRequest) ProtoMessage ¶
func (*QueryProjectAccountsRequest) ProtoMessage()
func (*QueryProjectAccountsRequest) Reset ¶
func (m *QueryProjectAccountsRequest) Reset()
func (*QueryProjectAccountsRequest) Size ¶
func (m *QueryProjectAccountsRequest) Size() (n int)
func (*QueryProjectAccountsRequest) String ¶
func (m *QueryProjectAccountsRequest) String() string
func (*QueryProjectAccountsRequest) Unmarshal ¶
func (m *QueryProjectAccountsRequest) Unmarshal(dAtA []byte) error
func (*QueryProjectAccountsRequest) XXX_DiscardUnknown ¶
func (m *QueryProjectAccountsRequest) XXX_DiscardUnknown()
func (*QueryProjectAccountsRequest) XXX_Marshal ¶
func (m *QueryProjectAccountsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QueryProjectAccountsRequest) XXX_Merge ¶
func (m *QueryProjectAccountsRequest) XXX_Merge(src proto.Message)
func (*QueryProjectAccountsRequest) XXX_Size ¶
func (m *QueryProjectAccountsRequest) XXX_Size() int
func (*QueryProjectAccountsRequest) XXX_Unmarshal ¶
func (m *QueryProjectAccountsRequest) XXX_Unmarshal(b []byte) error
type QueryProjectAccountsResponse ¶
type QueryProjectAccountsResponse struct {
AccountMap *AccountMap `protobuf:"bytes,1,opt,name=account_map,json=accountMap,proto3" json:"account_map,omitempty" yaml:"account_map"`
}
func (*QueryProjectAccountsResponse) Descriptor ¶
func (*QueryProjectAccountsResponse) Descriptor() ([]byte, []int)
func (*QueryProjectAccountsResponse) GetAccountMap ¶
func (m *QueryProjectAccountsResponse) GetAccountMap() *AccountMap
func (*QueryProjectAccountsResponse) Marshal ¶
func (m *QueryProjectAccountsResponse) Marshal() (dAtA []byte, err error)
func (*QueryProjectAccountsResponse) MarshalTo ¶
func (m *QueryProjectAccountsResponse) MarshalTo(dAtA []byte) (int, error)
func (*QueryProjectAccountsResponse) MarshalToSizedBuffer ¶
func (m *QueryProjectAccountsResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QueryProjectAccountsResponse) ProtoMessage ¶
func (*QueryProjectAccountsResponse) ProtoMessage()
func (*QueryProjectAccountsResponse) Reset ¶
func (m *QueryProjectAccountsResponse) Reset()
func (*QueryProjectAccountsResponse) Size ¶
func (m *QueryProjectAccountsResponse) Size() (n int)
func (*QueryProjectAccountsResponse) String ¶
func (m *QueryProjectAccountsResponse) String() string
func (*QueryProjectAccountsResponse) Unmarshal ¶
func (m *QueryProjectAccountsResponse) Unmarshal(dAtA []byte) error
func (*QueryProjectAccountsResponse) XXX_DiscardUnknown ¶
func (m *QueryProjectAccountsResponse) XXX_DiscardUnknown()
func (*QueryProjectAccountsResponse) XXX_Marshal ¶
func (m *QueryProjectAccountsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QueryProjectAccountsResponse) XXX_Merge ¶
func (m *QueryProjectAccountsResponse) XXX_Merge(src proto.Message)
func (*QueryProjectAccountsResponse) XXX_Size ¶
func (m *QueryProjectAccountsResponse) XXX_Size() int
func (*QueryProjectAccountsResponse) XXX_Unmarshal ¶
func (m *QueryProjectAccountsResponse) XXX_Unmarshal(b []byte) error
type QueryProjectDocRequest ¶
type QueryProjectDocRequest struct {
ProjectDid string `protobuf:"bytes,1,opt,name=project_did,json=projectDid,proto3" json:"project_did,omitempty" yaml:"project_did"`
}
func (*QueryProjectDocRequest) Descriptor ¶
func (*QueryProjectDocRequest) Descriptor() ([]byte, []int)
func (*QueryProjectDocRequest) GetProjectDid ¶
func (m *QueryProjectDocRequest) GetProjectDid() string
func (*QueryProjectDocRequest) Marshal ¶
func (m *QueryProjectDocRequest) Marshal() (dAtA []byte, err error)
func (*QueryProjectDocRequest) MarshalTo ¶
func (m *QueryProjectDocRequest) MarshalTo(dAtA []byte) (int, error)
func (*QueryProjectDocRequest) MarshalToSizedBuffer ¶
func (m *QueryProjectDocRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QueryProjectDocRequest) ProtoMessage ¶
func (*QueryProjectDocRequest) ProtoMessage()
func (*QueryProjectDocRequest) Reset ¶
func (m *QueryProjectDocRequest) Reset()
func (*QueryProjectDocRequest) Size ¶
func (m *QueryProjectDocRequest) Size() (n int)
func (*QueryProjectDocRequest) String ¶
func (m *QueryProjectDocRequest) String() string
func (*QueryProjectDocRequest) Unmarshal ¶
func (m *QueryProjectDocRequest) Unmarshal(dAtA []byte) error
func (*QueryProjectDocRequest) XXX_DiscardUnknown ¶
func (m *QueryProjectDocRequest) XXX_DiscardUnknown()
func (*QueryProjectDocRequest) XXX_Marshal ¶
func (m *QueryProjectDocRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QueryProjectDocRequest) XXX_Merge ¶
func (m *QueryProjectDocRequest) XXX_Merge(src proto.Message)
func (*QueryProjectDocRequest) XXX_Size ¶
func (m *QueryProjectDocRequest) XXX_Size() int
func (*QueryProjectDocRequest) XXX_Unmarshal ¶
func (m *QueryProjectDocRequest) XXX_Unmarshal(b []byte) error
type QueryProjectDocResponse ¶
type QueryProjectDocResponse struct {
ProjectDoc *ProjectDoc `protobuf:"bytes,1,opt,name=project_doc,json=projectDoc,proto3" json:"project_doc,omitempty" yaml:"project_doc"`
}
func (*QueryProjectDocResponse) Descriptor ¶
func (*QueryProjectDocResponse) Descriptor() ([]byte, []int)
func (*QueryProjectDocResponse) GetProjectDoc ¶
func (m *QueryProjectDocResponse) GetProjectDoc() *ProjectDoc
func (*QueryProjectDocResponse) Marshal ¶
func (m *QueryProjectDocResponse) Marshal() (dAtA []byte, err error)
func (*QueryProjectDocResponse) MarshalTo ¶
func (m *QueryProjectDocResponse) MarshalTo(dAtA []byte) (int, error)
func (*QueryProjectDocResponse) MarshalToSizedBuffer ¶
func (m *QueryProjectDocResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QueryProjectDocResponse) ProtoMessage ¶
func (*QueryProjectDocResponse) ProtoMessage()
func (*QueryProjectDocResponse) Reset ¶
func (m *QueryProjectDocResponse) Reset()
func (*QueryProjectDocResponse) Size ¶
func (m *QueryProjectDocResponse) Size() (n int)
func (*QueryProjectDocResponse) String ¶
func (m *QueryProjectDocResponse) String() string
func (*QueryProjectDocResponse) Unmarshal ¶
func (m *QueryProjectDocResponse) Unmarshal(dAtA []byte) error
func (*QueryProjectDocResponse) XXX_DiscardUnknown ¶
func (m *QueryProjectDocResponse) XXX_DiscardUnknown()
func (*QueryProjectDocResponse) XXX_Marshal ¶
func (m *QueryProjectDocResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QueryProjectDocResponse) XXX_Merge ¶
func (m *QueryProjectDocResponse) XXX_Merge(src proto.Message)
func (*QueryProjectDocResponse) XXX_Size ¶
func (m *QueryProjectDocResponse) XXX_Size() int
func (*QueryProjectDocResponse) XXX_Unmarshal ¶
func (m *QueryProjectDocResponse) XXX_Unmarshal(b []byte) error
type QueryProjectTxRequest ¶
type QueryProjectTxRequest struct {
ProjectDid string `protobuf:"bytes,1,opt,name=project_did,json=projectDid,proto3" json:"project_did,omitempty" yaml:"project_did"`
}
func (*QueryProjectTxRequest) Descriptor ¶
func (*QueryProjectTxRequest) Descriptor() ([]byte, []int)
func (*QueryProjectTxRequest) GetProjectDid ¶
func (m *QueryProjectTxRequest) GetProjectDid() string
func (*QueryProjectTxRequest) Marshal ¶
func (m *QueryProjectTxRequest) Marshal() (dAtA []byte, err error)
func (*QueryProjectTxRequest) MarshalTo ¶
func (m *QueryProjectTxRequest) MarshalTo(dAtA []byte) (int, error)
func (*QueryProjectTxRequest) MarshalToSizedBuffer ¶
func (m *QueryProjectTxRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QueryProjectTxRequest) ProtoMessage ¶
func (*QueryProjectTxRequest) ProtoMessage()
func (*QueryProjectTxRequest) Reset ¶
func (m *QueryProjectTxRequest) Reset()
func (*QueryProjectTxRequest) Size ¶
func (m *QueryProjectTxRequest) Size() (n int)
func (*QueryProjectTxRequest) String ¶
func (m *QueryProjectTxRequest) String() string
func (*QueryProjectTxRequest) Unmarshal ¶
func (m *QueryProjectTxRequest) Unmarshal(dAtA []byte) error
func (*QueryProjectTxRequest) XXX_DiscardUnknown ¶
func (m *QueryProjectTxRequest) XXX_DiscardUnknown()
func (*QueryProjectTxRequest) XXX_Marshal ¶
func (m *QueryProjectTxRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QueryProjectTxRequest) XXX_Merge ¶
func (m *QueryProjectTxRequest) XXX_Merge(src proto.Message)
func (*QueryProjectTxRequest) XXX_Size ¶
func (m *QueryProjectTxRequest) XXX_Size() int
func (*QueryProjectTxRequest) XXX_Unmarshal ¶
func (m *QueryProjectTxRequest) XXX_Unmarshal(b []byte) error
type QueryProjectTxResponse ¶
type QueryProjectTxResponse struct {
Txs *WithdrawalInfoDocs `protobuf:"bytes,1,opt,name=txs,proto3" json:"txs,omitempty" yaml:"txs"`
}
func (*QueryProjectTxResponse) Descriptor ¶
func (*QueryProjectTxResponse) Descriptor() ([]byte, []int)
func (*QueryProjectTxResponse) GetTxs ¶
func (m *QueryProjectTxResponse) GetTxs() *WithdrawalInfoDocs
func (*QueryProjectTxResponse) Marshal ¶
func (m *QueryProjectTxResponse) Marshal() (dAtA []byte, err error)
func (*QueryProjectTxResponse) MarshalTo ¶
func (m *QueryProjectTxResponse) MarshalTo(dAtA []byte) (int, error)
func (*QueryProjectTxResponse) MarshalToSizedBuffer ¶
func (m *QueryProjectTxResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QueryProjectTxResponse) ProtoMessage ¶
func (*QueryProjectTxResponse) ProtoMessage()
func (*QueryProjectTxResponse) Reset ¶
func (m *QueryProjectTxResponse) Reset()
func (*QueryProjectTxResponse) Size ¶
func (m *QueryProjectTxResponse) Size() (n int)
func (*QueryProjectTxResponse) String ¶
func (m *QueryProjectTxResponse) String() string
func (*QueryProjectTxResponse) Unmarshal ¶
func (m *QueryProjectTxResponse) Unmarshal(dAtA []byte) error
func (*QueryProjectTxResponse) XXX_DiscardUnknown ¶
func (m *QueryProjectTxResponse) XXX_DiscardUnknown()
func (*QueryProjectTxResponse) XXX_Marshal ¶
func (m *QueryProjectTxResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QueryProjectTxResponse) XXX_Merge ¶
func (m *QueryProjectTxResponse) XXX_Merge(src proto.Message)
func (*QueryProjectTxResponse) XXX_Size ¶
func (m *QueryProjectTxResponse) XXX_Size() int
func (*QueryProjectTxResponse) XXX_Unmarshal ¶
func (m *QueryProjectTxResponse) XXX_Unmarshal(b []byte) error
type QueryServer ¶
type QueryServer interface { ProjectDoc(context.Context, *QueryProjectDocRequest) (*QueryProjectDocResponse, error) ProjectAccounts(context.Context, *QueryProjectAccountsRequest) (*QueryProjectAccountsResponse, error) ProjectTx(context.Context, *QueryProjectTxRequest) (*QueryProjectTxResponse, error) Params(context.Context, *QueryParamsRequest) (*QueryParamsResponse, error) }
QueryServer is the server API for Query service.
type UnimplementedMsgServer ¶
type UnimplementedMsgServer struct { }
UnimplementedMsgServer can be embedded to have forward compatible implementations.
func (*UnimplementedMsgServer) CreateAgent ¶
func (*UnimplementedMsgServer) CreateAgent(ctx context.Context, req *MsgCreateAgent) (*MsgCreateAgentResponse, error)
func (*UnimplementedMsgServer) CreateClaim ¶
func (*UnimplementedMsgServer) CreateClaim(ctx context.Context, req *MsgCreateClaim) (*MsgCreateClaimResponse, error)
func (*UnimplementedMsgServer) CreateEvaluation ¶
func (*UnimplementedMsgServer) CreateEvaluation(ctx context.Context, req *MsgCreateEvaluation) (*MsgCreateEvaluationResponse, error)
func (*UnimplementedMsgServer) CreateProject ¶
func (*UnimplementedMsgServer) CreateProject(ctx context.Context, req *MsgCreateProject) (*MsgCreateProjectResponse, error)
func (*UnimplementedMsgServer) UpdateAgent ¶
func (*UnimplementedMsgServer) UpdateAgent(ctx context.Context, req *MsgUpdateAgent) (*MsgUpdateAgentResponse, error)
func (*UnimplementedMsgServer) UpdateProjectDoc ¶
func (*UnimplementedMsgServer) UpdateProjectDoc(ctx context.Context, req *MsgUpdateProjectDoc) (*MsgUpdateProjectDocResponse, error)
func (*UnimplementedMsgServer) UpdateProjectStatus ¶
func (*UnimplementedMsgServer) UpdateProjectStatus(ctx context.Context, req *MsgUpdateProjectStatus) (*MsgUpdateProjectStatusResponse, error)
func (*UnimplementedMsgServer) WithdrawFunds ¶
func (*UnimplementedMsgServer) WithdrawFunds(ctx context.Context, req *MsgWithdrawFunds) (*MsgWithdrawFundsResponse, error)
type UnimplementedQueryServer ¶
type UnimplementedQueryServer struct { }
UnimplementedQueryServer can be embedded to have forward compatible implementations.
func (*UnimplementedQueryServer) Params ¶
func (*UnimplementedQueryServer) Params(ctx context.Context, req *QueryParamsRequest) (*QueryParamsResponse, error)
func (*UnimplementedQueryServer) ProjectAccounts ¶
func (*UnimplementedQueryServer) ProjectAccounts(ctx context.Context, req *QueryProjectAccountsRequest) (*QueryProjectAccountsResponse, error)
func (*UnimplementedQueryServer) ProjectDoc ¶
func (*UnimplementedQueryServer) ProjectDoc(ctx context.Context, req *QueryProjectDocRequest) (*QueryProjectDocResponse, error)
func (*UnimplementedQueryServer) ProjectTx ¶
func (*UnimplementedQueryServer) ProjectTx(ctx context.Context, req *QueryProjectTxRequest) (*QueryProjectTxResponse, error)
type UpdateAgentDoc ¶
type UpdateAgentDoc struct { Did string `protobuf:"bytes,1,opt,name=did,proto3" json:"did,omitempty" yaml:"did"` Status string `protobuf:"bytes,2,opt,name=status,proto3" json:"status,omitempty" yaml:"status"` Role string `protobuf:"bytes,3,opt,name=role,proto3" json:"role,omitempty" yaml:"role"` }
func NewUpdateAgentDoc ¶
func NewUpdateAgentDoc(did didexported.Did, status AgentStatus, role string) UpdateAgentDoc
func (*UpdateAgentDoc) Descriptor ¶
func (*UpdateAgentDoc) Descriptor() ([]byte, []int)
func (*UpdateAgentDoc) GetDid ¶
func (m *UpdateAgentDoc) GetDid() string
func (*UpdateAgentDoc) GetRole ¶
func (m *UpdateAgentDoc) GetRole() string
func (*UpdateAgentDoc) GetStatus ¶
func (m *UpdateAgentDoc) GetStatus() string
func (*UpdateAgentDoc) Marshal ¶
func (m *UpdateAgentDoc) Marshal() (dAtA []byte, err error)
func (*UpdateAgentDoc) MarshalToSizedBuffer ¶
func (m *UpdateAgentDoc) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*UpdateAgentDoc) ProtoMessage ¶
func (*UpdateAgentDoc) ProtoMessage()
func (*UpdateAgentDoc) Reset ¶
func (m *UpdateAgentDoc) Reset()
func (*UpdateAgentDoc) Size ¶
func (m *UpdateAgentDoc) Size() (n int)
func (*UpdateAgentDoc) String ¶
func (m *UpdateAgentDoc) String() string
func (*UpdateAgentDoc) Unmarshal ¶
func (m *UpdateAgentDoc) Unmarshal(dAtA []byte) error
func (*UpdateAgentDoc) XXX_DiscardUnknown ¶
func (m *UpdateAgentDoc) XXX_DiscardUnknown()
func (*UpdateAgentDoc) XXX_Marshal ¶
func (m *UpdateAgentDoc) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*UpdateAgentDoc) XXX_Merge ¶
func (m *UpdateAgentDoc) XXX_Merge(src proto.Message)
func (*UpdateAgentDoc) XXX_Size ¶
func (m *UpdateAgentDoc) XXX_Size() int
func (*UpdateAgentDoc) XXX_Unmarshal ¶
func (m *UpdateAgentDoc) XXX_Unmarshal(b []byte) error
type UpdateProjectStatusDoc ¶
type UpdateProjectStatusDoc struct { Status string `protobuf:"bytes,1,opt,name=status,proto3" json:"status,omitempty" yaml:"status"` EthFundingTxnId string `protobuf:"bytes,2,opt,name=eth_funding_txn_id,json=ethFundingTxnId,proto3" json:"ethFundingTxnID" yaml:"ethFundingTxnID"` }
func NewUpdateProjectStatusDoc ¶
func NewUpdateProjectStatusDoc(status ProjectStatus, ethFundingTxnID string) UpdateProjectStatusDoc
func (*UpdateProjectStatusDoc) Descriptor ¶
func (*UpdateProjectStatusDoc) Descriptor() ([]byte, []int)
func (*UpdateProjectStatusDoc) GetEthFundingTxnId ¶
func (m *UpdateProjectStatusDoc) GetEthFundingTxnId() string
func (*UpdateProjectStatusDoc) GetStatus ¶
func (m *UpdateProjectStatusDoc) GetStatus() string
func (*UpdateProjectStatusDoc) Marshal ¶
func (m *UpdateProjectStatusDoc) Marshal() (dAtA []byte, err error)
func (*UpdateProjectStatusDoc) MarshalTo ¶
func (m *UpdateProjectStatusDoc) MarshalTo(dAtA []byte) (int, error)
func (*UpdateProjectStatusDoc) MarshalToSizedBuffer ¶
func (m *UpdateProjectStatusDoc) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*UpdateProjectStatusDoc) ProtoMessage ¶
func (*UpdateProjectStatusDoc) ProtoMessage()
func (*UpdateProjectStatusDoc) Reset ¶
func (m *UpdateProjectStatusDoc) Reset()
func (*UpdateProjectStatusDoc) Size ¶
func (m *UpdateProjectStatusDoc) Size() (n int)
func (*UpdateProjectStatusDoc) String ¶
func (m *UpdateProjectStatusDoc) String() string
func (*UpdateProjectStatusDoc) Unmarshal ¶
func (m *UpdateProjectStatusDoc) Unmarshal(dAtA []byte) error
func (*UpdateProjectStatusDoc) XXX_DiscardUnknown ¶
func (m *UpdateProjectStatusDoc) XXX_DiscardUnknown()
func (*UpdateProjectStatusDoc) XXX_Marshal ¶
func (m *UpdateProjectStatusDoc) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*UpdateProjectStatusDoc) XXX_Merge ¶
func (m *UpdateProjectStatusDoc) XXX_Merge(src proto.Message)
func (*UpdateProjectStatusDoc) XXX_Size ¶
func (m *UpdateProjectStatusDoc) XXX_Size() int
func (*UpdateProjectStatusDoc) XXX_Unmarshal ¶
func (m *UpdateProjectStatusDoc) XXX_Unmarshal(b []byte) error
type WithdrawFundsDoc ¶
type WithdrawFundsDoc struct { ProjectDid string `protobuf:"bytes,1,opt,name=project_did,json=projectDid,proto3" json:"projectDid" yaml:"projectDid"` RecipientDid string `protobuf:"bytes,2,opt,name=recipient_did,json=recipientDid,proto3" json:"recipientDid" yaml:"recipientDid"` Amount github_com_cosmos_cosmos_sdk_types.Int `protobuf:"bytes,3,opt,name=amount,proto3,customtype=github.com/cosmos/cosmos-sdk/types.Int" json:"amount" yaml:"amount"` IsRefund bool `protobuf:"varint,4,opt,name=is_refund,json=isRefund,proto3" json:"isRefund" yaml:"isRefund"` }
func NewWithdrawFundsDoc ¶
func NewWithdrawFundsDoc(projectDid, recipientDid didexported.Did, amount sdk.Int, isRefund bool) WithdrawFundsDoc
func (*WithdrawFundsDoc) Descriptor ¶
func (*WithdrawFundsDoc) Descriptor() ([]byte, []int)
func (*WithdrawFundsDoc) GetIsRefund ¶
func (m *WithdrawFundsDoc) GetIsRefund() bool
func (*WithdrawFundsDoc) GetProjectDid ¶
func (m *WithdrawFundsDoc) GetProjectDid() string
func (*WithdrawFundsDoc) GetRecipientDid ¶
func (m *WithdrawFundsDoc) GetRecipientDid() string
func (*WithdrawFundsDoc) Marshal ¶
func (m *WithdrawFundsDoc) Marshal() (dAtA []byte, err error)
func (*WithdrawFundsDoc) MarshalToSizedBuffer ¶
func (m *WithdrawFundsDoc) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*WithdrawFundsDoc) ProtoMessage ¶
func (*WithdrawFundsDoc) ProtoMessage()
func (*WithdrawFundsDoc) Reset ¶
func (m *WithdrawFundsDoc) Reset()
func (*WithdrawFundsDoc) Size ¶
func (m *WithdrawFundsDoc) Size() (n int)
func (*WithdrawFundsDoc) String ¶
func (m *WithdrawFundsDoc) String() string
func (*WithdrawFundsDoc) Unmarshal ¶
func (m *WithdrawFundsDoc) Unmarshal(dAtA []byte) error
func (*WithdrawFundsDoc) XXX_DiscardUnknown ¶
func (m *WithdrawFundsDoc) XXX_DiscardUnknown()
func (*WithdrawFundsDoc) XXX_Marshal ¶
func (m *WithdrawFundsDoc) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*WithdrawFundsDoc) XXX_Merge ¶
func (m *WithdrawFundsDoc) XXX_Merge(src proto.Message)
func (*WithdrawFundsDoc) XXX_Size ¶
func (m *WithdrawFundsDoc) XXX_Size() int
func (*WithdrawFundsDoc) XXX_Unmarshal ¶
func (m *WithdrawFundsDoc) XXX_Unmarshal(b []byte) error
type WithdrawalInfoDoc ¶
type WithdrawalInfoDoc struct { ProjectDid string `protobuf:"bytes,1,opt,name=project_did,json=projectDid,proto3" json:"projectDid" yaml:"projectDid"` RecipientDid string `protobuf:"bytes,2,opt,name=recipient_did,json=recipientDid,proto3" json:"recipientDid" yaml:"recipientDid"` Amount types.Coin `protobuf:"bytes,3,opt,name=amount,proto3" json:"amount" yaml:"amount"` }
func NewWithdrawalInfoDoc ¶
func NewWithdrawalInfoDoc(projectDid, recipientDid didexported.Did, amount sdk.Coin) WithdrawalInfoDoc
func (*WithdrawalInfoDoc) Descriptor ¶
func (*WithdrawalInfoDoc) Descriptor() ([]byte, []int)
func (*WithdrawalInfoDoc) GetAmount ¶
func (m *WithdrawalInfoDoc) GetAmount() types.Coin
func (*WithdrawalInfoDoc) GetProjectDid ¶
func (m *WithdrawalInfoDoc) GetProjectDid() string
func (*WithdrawalInfoDoc) GetRecipientDid ¶
func (m *WithdrawalInfoDoc) GetRecipientDid() string
func (*WithdrawalInfoDoc) Marshal ¶
func (m *WithdrawalInfoDoc) Marshal() (dAtA []byte, err error)
func (*WithdrawalInfoDoc) MarshalTo ¶
func (m *WithdrawalInfoDoc) MarshalTo(dAtA []byte) (int, error)
func (*WithdrawalInfoDoc) MarshalToSizedBuffer ¶
func (m *WithdrawalInfoDoc) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*WithdrawalInfoDoc) ProtoMessage ¶
func (*WithdrawalInfoDoc) ProtoMessage()
func (*WithdrawalInfoDoc) Reset ¶
func (m *WithdrawalInfoDoc) Reset()
func (*WithdrawalInfoDoc) Size ¶
func (m *WithdrawalInfoDoc) Size() (n int)
func (*WithdrawalInfoDoc) String ¶
func (m *WithdrawalInfoDoc) String() string
func (*WithdrawalInfoDoc) Unmarshal ¶
func (m *WithdrawalInfoDoc) Unmarshal(dAtA []byte) error
func (*WithdrawalInfoDoc) XXX_DiscardUnknown ¶
func (m *WithdrawalInfoDoc) XXX_DiscardUnknown()
func (*WithdrawalInfoDoc) XXX_Marshal ¶
func (m *WithdrawalInfoDoc) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*WithdrawalInfoDoc) XXX_Merge ¶
func (m *WithdrawalInfoDoc) XXX_Merge(src proto.Message)
func (*WithdrawalInfoDoc) XXX_Size ¶
func (m *WithdrawalInfoDoc) XXX_Size() int
func (*WithdrawalInfoDoc) XXX_Unmarshal ¶
func (m *WithdrawalInfoDoc) XXX_Unmarshal(b []byte) error
type WithdrawalInfoDocs ¶
type WithdrawalInfoDocs struct {
DocsList []WithdrawalInfoDoc `protobuf:"bytes,1,rep,name=docs_list,json=docsList,proto3" json:"docs_list" yaml:"docs_list"`
}
func AppendWithdrawalInfoDocs ¶
func AppendWithdrawalInfoDocs(list WithdrawalInfoDocs, doc WithdrawalInfoDoc) WithdrawalInfoDocs
func (*WithdrawalInfoDocs) Descriptor ¶
func (*WithdrawalInfoDocs) Descriptor() ([]byte, []int)
func (*WithdrawalInfoDocs) GetDocsList ¶
func (m *WithdrawalInfoDocs) GetDocsList() []WithdrawalInfoDoc
func (*WithdrawalInfoDocs) Marshal ¶
func (m *WithdrawalInfoDocs) Marshal() (dAtA []byte, err error)
func (*WithdrawalInfoDocs) MarshalTo ¶
func (m *WithdrawalInfoDocs) MarshalTo(dAtA []byte) (int, error)
func (*WithdrawalInfoDocs) MarshalToSizedBuffer ¶
func (m *WithdrawalInfoDocs) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*WithdrawalInfoDocs) ProtoMessage ¶
func (*WithdrawalInfoDocs) ProtoMessage()
func (*WithdrawalInfoDocs) Reset ¶
func (m *WithdrawalInfoDocs) Reset()
func (*WithdrawalInfoDocs) Size ¶
func (m *WithdrawalInfoDocs) Size() (n int)
func (*WithdrawalInfoDocs) String ¶
func (m *WithdrawalInfoDocs) String() string
func (*WithdrawalInfoDocs) Unmarshal ¶
func (m *WithdrawalInfoDocs) Unmarshal(dAtA []byte) error
func (*WithdrawalInfoDocs) XXX_DiscardUnknown ¶
func (m *WithdrawalInfoDocs) XXX_DiscardUnknown()
func (*WithdrawalInfoDocs) XXX_Marshal ¶
func (m *WithdrawalInfoDocs) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*WithdrawalInfoDocs) XXX_Merge ¶
func (m *WithdrawalInfoDocs) XXX_Merge(src proto.Message)
func (*WithdrawalInfoDocs) XXX_Size ¶
func (m *WithdrawalInfoDocs) XXX_Size() int
func (*WithdrawalInfoDocs) XXX_Unmarshal ¶
func (m *WithdrawalInfoDocs) XXX_Unmarshal(b []byte) error