Documentation ¶
Overview ¶
Package types is a reverse proxy.
It translates gRPC into RESTful JSON APIs.
Index ¶
- Constants
- Variables
- func KeyPrefix(p string) []byte
- func ParamKeyTable() paramtypes.KeyTable
- func RegisterCodec(cdc *codec.LegacyAmino)
- func RegisterInterfaces(registry cdctypes.InterfaceRegistry)
- 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 ValidateProject(p ProjectInfo) error
- type AccountKeeper
- type BankKeeper
- type BasicInfo
- func (*BasicInfo) Descriptor() ([]byte, []int)
- func (m *BasicInfo) GetBusinessNumber() string
- func (m *BasicInfo) GetDescription() string
- func (m *BasicInfo) GetEmail() string
- func (m *BasicInfo) GetExecutiveSummary() string
- func (m *BasicInfo) GetName() string
- func (m *BasicInfo) GetProjectBrief() string
- func (m *BasicInfo) GetProjectCountry() string
- func (m *BasicInfo) GetProjectLogo() string
- func (m *BasicInfo) GetProjectName() string
- func (m *BasicInfo) GetProjectsUrl() string
- func (m *BasicInfo) GetReserved() []byte
- func (m *BasicInfo) Marshal() (dAtA []byte, err error)
- func (m *BasicInfo) MarshalTo(dAtA []byte) (int, error)
- func (m *BasicInfo) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*BasicInfo) ProtoMessage()
- func (m *BasicInfo) Reset()
- func (m *BasicInfo) Size() (n int)
- func (m *BasicInfo) String() string
- func (m *BasicInfo) Unmarshal(dAtA []byte) error
- func (m *BasicInfo) XXX_DiscardUnknown()
- func (m *BasicInfo) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *BasicInfo) XXX_Merge(src proto.Message)
- func (m *BasicInfo) XXX_Size() int
- func (m *BasicInfo) XXX_Unmarshal(b []byte) error
- type GenesisState
- func (*GenesisState) Descriptor() ([]byte, []int)
- func (m *GenesisState) GetParams() Params
- 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 (gs GenesisState) Validate() 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 Investor
- func (*Investor) Descriptor() ([]byte, []int)
- func (m *Investor) GetInvestorId() string
- func (m *Investor) GetWalletAddress() []string
- func (m *Investor) Marshal() (dAtA []byte, err error)
- func (m *Investor) MarshalTo(dAtA []byte) (int, error)
- func (m *Investor) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*Investor) ProtoMessage()
- func (m *Investor) Reset()
- func (m *Investor) Size() (n int)
- func (m *Investor) String() string
- func (m *Investor) Unmarshal(dAtA []byte) error
- func (m *Investor) XXX_DiscardUnknown()
- func (m *Investor) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *Investor) XXX_Merge(src proto.Message)
- func (m *Investor) XXX_Size() int
- func (m *Investor) XXX_Unmarshal(b []byte) error
- type ListAllProjectsRequest
- func (*ListAllProjectsRequest) Descriptor() ([]byte, []int)
- func (m *ListAllProjectsRequest) GetPagination() *query.PageRequest
- func (m *ListAllProjectsRequest) Marshal() (dAtA []byte, err error)
- func (m *ListAllProjectsRequest) MarshalTo(dAtA []byte) (int, error)
- func (m *ListAllProjectsRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*ListAllProjectsRequest) ProtoMessage()
- func (m *ListAllProjectsRequest) Reset()
- func (m *ListAllProjectsRequest) Size() (n int)
- func (m *ListAllProjectsRequest) String() string
- func (m *ListAllProjectsRequest) Unmarshal(dAtA []byte) error
- func (m *ListAllProjectsRequest) XXX_DiscardUnknown()
- func (m *ListAllProjectsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *ListAllProjectsRequest) XXX_Merge(src proto.Message)
- func (m *ListAllProjectsRequest) XXX_Size() int
- func (m *ListAllProjectsRequest) XXX_Unmarshal(b []byte) error
- type ListAllProjectsResponse
- func (*ListAllProjectsResponse) Descriptor() ([]byte, []int)
- func (m *ListAllProjectsResponse) GetPagination() *query.PageResponse
- func (m *ListAllProjectsResponse) GetProject() []*ProjectInfo
- func (m *ListAllProjectsResponse) GetTotalNumber() int32
- func (m *ListAllProjectsResponse) Marshal() (dAtA []byte, err error)
- func (m *ListAllProjectsResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *ListAllProjectsResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*ListAllProjectsResponse) ProtoMessage()
- func (m *ListAllProjectsResponse) Reset()
- func (m *ListAllProjectsResponse) Size() (n int)
- func (m *ListAllProjectsResponse) String() string
- func (m *ListAllProjectsResponse) Unmarshal(dAtA []byte) error
- func (m *ListAllProjectsResponse) XXX_DiscardUnknown()
- func (m *ListAllProjectsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *ListAllProjectsResponse) XXX_Merge(src proto.Message)
- func (m *ListAllProjectsResponse) XXX_Size() int
- func (m *ListAllProjectsResponse) XXX_Unmarshal(b []byte) error
- type ListInvestorsRequest
- func (*ListInvestorsRequest) Descriptor() ([]byte, []int)
- func (m *ListInvestorsRequest) GetPagination() *query.PageRequest
- func (m *ListInvestorsRequest) Marshal() (dAtA []byte, err error)
- func (m *ListInvestorsRequest) MarshalTo(dAtA []byte) (int, error)
- func (m *ListInvestorsRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*ListInvestorsRequest) ProtoMessage()
- func (m *ListInvestorsRequest) Reset()
- func (m *ListInvestorsRequest) Size() (n int)
- func (m *ListInvestorsRequest) String() string
- func (m *ListInvestorsRequest) Unmarshal(dAtA []byte) error
- func (m *ListInvestorsRequest) XXX_DiscardUnknown()
- func (m *ListInvestorsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *ListInvestorsRequest) XXX_Merge(src proto.Message)
- func (m *ListInvestorsRequest) XXX_Size() int
- func (m *ListInvestorsRequest) XXX_Unmarshal(b []byte) error
- type ListInvestorsResponse
- func (*ListInvestorsResponse) Descriptor() ([]byte, []int)
- func (m *ListInvestorsResponse) GetInvestor() []*Investor
- func (m *ListInvestorsResponse) GetPagination() *query.PageResponse
- func (m *ListInvestorsResponse) Marshal() (dAtA []byte, err error)
- func (m *ListInvestorsResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *ListInvestorsResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*ListInvestorsResponse) ProtoMessage()
- func (m *ListInvestorsResponse) Reset()
- func (m *ListInvestorsResponse) Size() (n int)
- func (m *ListInvestorsResponse) String() string
- func (m *ListInvestorsResponse) Unmarshal(dAtA []byte) error
- func (m *ListInvestorsResponse) XXX_DiscardUnknown()
- func (m *ListInvestorsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *ListInvestorsResponse) XXX_Merge(src proto.Message)
- func (m *ListInvestorsResponse) XXX_Size() int
- func (m *ListInvestorsResponse) XXX_Unmarshal(b []byte) error
- type MSgCreateProjectResponse
- func (*MSgCreateProjectResponse) Descriptor() ([]byte, []int)
- func (m *MSgCreateProjectResponse) GetProjectId() string
- 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 MsgClient
- type MsgCreateProject
- func (*MsgCreateProject) Descriptor() ([]byte, []int)
- func (m *MsgCreateProject) GetCreator() string
- func (m *MsgCreateProject) GetEncodedProject() string
- func (msg *MsgCreateProject) GetSignBytes() []byte
- func (msg *MsgCreateProject) GetSigners() []sdk.AccAddress
- 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 (m *MsgCreateProject) String() string
- 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 MsgServer
- type MsgUploadInvestor
- func (*MsgUploadInvestor) Descriptor() ([]byte, []int)
- func (m *MsgUploadInvestor) GetCreator() string
- func (m *MsgUploadInvestor) GetInvestorId() string
- func (msg *MsgUploadInvestor) GetSignBytes() []byte
- func (msg *MsgUploadInvestor) GetSigners() []sdk.AccAddress
- func (m *MsgUploadInvestor) GetWalletAddress() []string
- func (m *MsgUploadInvestor) Marshal() (dAtA []byte, err error)
- func (m *MsgUploadInvestor) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgUploadInvestor) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgUploadInvestor) ProtoMessage()
- func (m *MsgUploadInvestor) Reset()
- func (msg *MsgUploadInvestor) Route() string
- func (m *MsgUploadInvestor) Size() (n int)
- func (m *MsgUploadInvestor) String() string
- func (msg *MsgUploadInvestor) Type() string
- func (m *MsgUploadInvestor) Unmarshal(dAtA []byte) error
- func (msg *MsgUploadInvestor) ValidateBasic() error
- func (m *MsgUploadInvestor) XXX_DiscardUnknown()
- func (m *MsgUploadInvestor) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgUploadInvestor) XXX_Merge(src proto.Message)
- func (m *MsgUploadInvestor) XXX_Size() int
- func (m *MsgUploadInvestor) XXX_Unmarshal(b []byte) error
- type MsgUploadInvestorResponse
- func (*MsgUploadInvestorResponse) Descriptor() ([]byte, []int)
- func (m *MsgUploadInvestorResponse) GetWallets() []string
- func (m *MsgUploadInvestorResponse) Marshal() (dAtA []byte, err error)
- func (m *MsgUploadInvestorResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgUploadInvestorResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgUploadInvestorResponse) ProtoMessage()
- func (m *MsgUploadInvestorResponse) Reset()
- func (m *MsgUploadInvestorResponse) Size() (n int)
- func (m *MsgUploadInvestorResponse) String() string
- func (m *MsgUploadInvestorResponse) Unmarshal(dAtA []byte) error
- func (m *MsgUploadInvestorResponse) XXX_DiscardUnknown()
- func (m *MsgUploadInvestorResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgUploadInvestorResponse) XXX_Merge(src proto.Message)
- func (m *MsgUploadInvestorResponse) XXX_Size() int
- func (m *MsgUploadInvestorResponse) XXX_Unmarshal(b []byte) error
- type Params
- func (*Params) Descriptor() ([]byte, []int)
- func (m *Params) GetProjectInfo() string
- func (m *Params) GetSubmitter() []github_com_cosmos_cosmos_sdk_types.AccAddress
- 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() paramtypes.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 (p Params) Validate() 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 ProjectInfo
- func (*ProjectInfo) Descriptor() ([]byte, []int)
- func (m *ProjectInfo) GetBasicInfo() *BasicInfo
- func (m *ProjectInfo) GetGraceTime() time.Duration
- func (m *ProjectInfo) GetIndex() int32
- func (m *ProjectInfo) GetMarketId() string
- func (m *ProjectInfo) GetPayFreq() string
- func (m *ProjectInfo) GetPoolLockedSeconds() int32
- func (m *ProjectInfo) GetPoolTotalBorrowLimit() int32
- func (m *ProjectInfo) GetProjectLength() uint64
- func (m *ProjectInfo) GetProjectOwner() github_com_cosmos_cosmos_sdk_types.AccAddress
- func (m *ProjectInfo) GetSPVName() string
- func (m *ProjectInfo) GetSeparatePool() bool
- func (m *ProjectInfo) GetWithdrawRequestWindowSeconds() int32
- func (m *ProjectInfo) Marshal() (dAtA []byte, err error)
- func (m *ProjectInfo) MarshalTo(dAtA []byte) (int, error)
- func (m *ProjectInfo) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*ProjectInfo) ProtoMessage()
- func (m *ProjectInfo) Reset()
- func (m *ProjectInfo) Size() (n int)
- func (m *ProjectInfo) String() string
- func (m *ProjectInfo) Unmarshal(dAtA []byte) error
- func (m *ProjectInfo) XXX_DiscardUnknown()
- func (m *ProjectInfo) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *ProjectInfo) XXX_Merge(src proto.Message)
- func (m *ProjectInfo) XXX_Size() int
- func (m *ProjectInfo) XXX_Unmarshal(b []byte) error
- type Projects
- func (*Projects) Descriptor() ([]byte, []int)
- func (m *Projects) GetItems() []*ProjectInfo
- func (m *Projects) Marshal() (dAtA []byte, err error)
- func (m *Projects) MarshalTo(dAtA []byte) (int, error)
- func (m *Projects) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*Projects) ProtoMessage()
- func (m *Projects) Reset()
- func (m *Projects) Size() (n int)
- func (m *Projects) String() string
- func (m *Projects) Unmarshal(dAtA []byte) error
- func (m *Projects) XXX_DiscardUnknown()
- func (m *Projects) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *Projects) XXX_Merge(src proto.Message)
- func (m *Projects) XXX_Size() int
- func (m *Projects) XXX_Unmarshal(b []byte) error
- type QueryByWalletRequest
- func (*QueryByWalletRequest) Descriptor() ([]byte, []int)
- func (m *QueryByWalletRequest) GetWallet() string
- func (m *QueryByWalletRequest) Marshal() (dAtA []byte, err error)
- func (m *QueryByWalletRequest) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryByWalletRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryByWalletRequest) ProtoMessage()
- func (m *QueryByWalletRequest) Reset()
- func (m *QueryByWalletRequest) Size() (n int)
- func (m *QueryByWalletRequest) String() string
- func (m *QueryByWalletRequest) Unmarshal(dAtA []byte) error
- func (m *QueryByWalletRequest) XXX_DiscardUnknown()
- func (m *QueryByWalletRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryByWalletRequest) XXX_Merge(src proto.Message)
- func (m *QueryByWalletRequest) XXX_Size() int
- func (m *QueryByWalletRequest) XXX_Unmarshal(b []byte) error
- type QueryByWalletResponse
- func (*QueryByWalletResponse) Descriptor() ([]byte, []int)
- func (m *QueryByWalletResponse) GetInvestor() *Investor
- func (m *QueryByWalletResponse) Marshal() (dAtA []byte, err error)
- func (m *QueryByWalletResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryByWalletResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryByWalletResponse) ProtoMessage()
- func (m *QueryByWalletResponse) Reset()
- func (m *QueryByWalletResponse) Size() (n int)
- func (m *QueryByWalletResponse) String() string
- func (m *QueryByWalletResponse) Unmarshal(dAtA []byte) error
- func (m *QueryByWalletResponse) XXX_DiscardUnknown()
- func (m *QueryByWalletResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryByWalletResponse) XXX_Merge(src proto.Message)
- func (m *QueryByWalletResponse) XXX_Size() int
- func (m *QueryByWalletResponse) XXX_Unmarshal(b []byte) error
- type QueryClient
- type QueryInvestorWalletsRequest
- func (*QueryInvestorWalletsRequest) Descriptor() ([]byte, []int)
- func (m *QueryInvestorWalletsRequest) GetInvestorId() string
- func (m *QueryInvestorWalletsRequest) Marshal() (dAtA []byte, err error)
- func (m *QueryInvestorWalletsRequest) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryInvestorWalletsRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryInvestorWalletsRequest) ProtoMessage()
- func (m *QueryInvestorWalletsRequest) Reset()
- func (m *QueryInvestorWalletsRequest) Size() (n int)
- func (m *QueryInvestorWalletsRequest) String() string
- func (m *QueryInvestorWalletsRequest) Unmarshal(dAtA []byte) error
- func (m *QueryInvestorWalletsRequest) XXX_DiscardUnknown()
- func (m *QueryInvestorWalletsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryInvestorWalletsRequest) XXX_Merge(src proto.Message)
- func (m *QueryInvestorWalletsRequest) XXX_Size() int
- func (m *QueryInvestorWalletsRequest) XXX_Unmarshal(b []byte) error
- type QueryInvestorWalletsResponse
- func (*QueryInvestorWalletsResponse) Descriptor() ([]byte, []int)
- func (m *QueryInvestorWalletsResponse) GetWallets() []string
- func (m *QueryInvestorWalletsResponse) Marshal() (dAtA []byte, err error)
- func (m *QueryInvestorWalletsResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryInvestorWalletsResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryInvestorWalletsResponse) ProtoMessage()
- func (m *QueryInvestorWalletsResponse) Reset()
- func (m *QueryInvestorWalletsResponse) Size() (n int)
- func (m *QueryInvestorWalletsResponse) String() string
- func (m *QueryInvestorWalletsResponse) Unmarshal(dAtA []byte) error
- func (m *QueryInvestorWalletsResponse) XXX_DiscardUnknown()
- func (m *QueryInvestorWalletsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryInvestorWalletsResponse) XXX_Merge(src proto.Message)
- func (m *QueryInvestorWalletsResponse) XXX_Size() int
- func (m *QueryInvestorWalletsResponse) XXX_Unmarshal(b []byte) error
- 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 QueryProjectRequest
- func (*QueryProjectRequest) Descriptor() ([]byte, []int)
- func (m *QueryProjectRequest) GetProjectId() int32
- func (m *QueryProjectRequest) Marshal() (dAtA []byte, err error)
- func (m *QueryProjectRequest) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryProjectRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryProjectRequest) ProtoMessage()
- func (m *QueryProjectRequest) Reset()
- func (m *QueryProjectRequest) Size() (n int)
- func (m *QueryProjectRequest) String() string
- func (m *QueryProjectRequest) Unmarshal(dAtA []byte) error
- func (m *QueryProjectRequest) XXX_DiscardUnknown()
- func (m *QueryProjectRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryProjectRequest) XXX_Merge(src proto.Message)
- func (m *QueryProjectRequest) XXX_Size() int
- func (m *QueryProjectRequest) XXX_Unmarshal(b []byte) error
- type QueryProjectResponse
- func (*QueryProjectResponse) Descriptor() ([]byte, []int)
- func (m *QueryProjectResponse) GetProject() *ProjectInfo
- func (m *QueryProjectResponse) Marshal() (dAtA []byte, err error)
- func (m *QueryProjectResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryProjectResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryProjectResponse) ProtoMessage()
- func (m *QueryProjectResponse) Reset()
- func (m *QueryProjectResponse) Size() (n int)
- func (m *QueryProjectResponse) String() string
- func (m *QueryProjectResponse) Unmarshal(dAtA []byte) error
- func (m *QueryProjectResponse) XXX_DiscardUnknown()
- func (m *QueryProjectResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryProjectResponse) XXX_Merge(src proto.Message)
- func (m *QueryProjectResponse) XXX_Size() int
- func (m *QueryProjectResponse) XXX_Unmarshal(b []byte) error
- type QueryServer
- type UnimplementedMsgServer
- type UnimplementedQueryServer
- func (*UnimplementedQueryServer) ListAllProjects(ctx context.Context, req *ListAllProjectsRequest) (*ListAllProjectsResponse, error)
- func (*UnimplementedQueryServer) ListInvestors(ctx context.Context, req *ListInvestorsRequest) (*ListInvestorsResponse, error)
- func (*UnimplementedQueryServer) Params(ctx context.Context, req *QueryParamsRequest) (*QueryParamsResponse, error)
- func (*UnimplementedQueryServer) QueryByWallet(ctx context.Context, req *QueryByWalletRequest) (*QueryByWalletResponse, error)
- func (*UnimplementedQueryServer) QueryInvestorWallets(ctx context.Context, req *QueryInvestorWalletsRequest) (*QueryInvestorWalletsResponse, error)
- func (*UnimplementedQueryServer) QueryProject(ctx context.Context, req *QueryProjectRequest) (*QueryProjectResponse, error)
Constants ¶
const ( // ModuleName defines the module name ModuleName = "kyc" // StoreKey defines the primary module store key StoreKey = ModuleName // RouterKey defines the module's message routing key RouterKey = ModuleName // MemStoreKey defines the in-memory store key MemStoreKey = "mem_kyc" )
const (
// AttributeWalletsSubmitted submitted addresses
AttributeWalletsSubmitted = "wallets submitted"
)
const MaxWalletNum = 100
const TypeMsgCreateProject = "create_project"
const TypeMsgUploadInvestor = "upload_investor"
Variables ¶
var ( Amino = codec.NewLegacyAmino() // ModuleCdc = codec.NewProtoCodec(cdctypes.NewInterfaceRegistry()) ModuleCdc = codec.NewAminoCodec(Amino) )
var ( ErrExceedMaxWalletsNum = sdkerrors.Register(ModuleName, 2, "wallets number exceed max allowed") ErrInvalidWallets = sdkerrors.Register(ModuleName, 3, "wallets address are invalid") ErrInvalidProject = sdkerrors.Register(ModuleName, 4, "project is invalid") )
x/kyc module sentinel errors
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 ( ErrInvalidLengthInvestor = fmt.Errorf("proto: negative length found during unmarshaling") ErrIntOverflowInvestor = fmt.Errorf("proto: integer overflow") ErrUnexpectedEndOfGroupInvestor = fmt.Errorf("proto: unexpected end of group") )
var ( InvestorToWalletsPrefix = "InvestorToWalletsPrefix-" // prefix for keys that store auctions ProjectInfoPrefix = "ProjectInfo-" // prefix for keys that store auctions ProjectInfoNum = "ProjectNum-" // prefix for keys that store auctions )
var ( KeyKycSubmitter = []byte("kycsubmitters") KeyProjects = []byte("projectInfo") )
Parameter keys
var ( ErrInvalidLengthParams = fmt.Errorf("proto: negative length found during unmarshaling") ErrIntOverflowParams = fmt.Errorf("proto: integer overflow") ErrUnexpectedEndOfGroupParams = fmt.Errorf("proto: unexpected end of group") )
Functions ¶
func ParamKeyTable ¶
func ParamKeyTable() paramtypes.KeyTable
ParamKeyTable the param key table for launch module
func RegisterCodec ¶
func RegisterCodec(cdc *codec.LegacyAmino)
func RegisterInterfaces ¶
func RegisterInterfaces(registry cdctypes.InterfaceRegistry)
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 to stop working. Consider using RegisterQueryHandlerFromEndpoint instead.
func RegisterQueryServer ¶
func RegisterQueryServer(s grpc1.Server, srv QueryServer)
func ValidateProject ¶ added in v0.1.0
func ValidateProject(p ProjectInfo) error
Types ¶
type AccountKeeper ¶
AccountKeeper defines the expected account keeper used for simulations (noalias)
type BankKeeper ¶
BankKeeper defines the expected interface needed to retrieve account balances.
type BasicInfo ¶
type BasicInfo struct { Description string `protobuf:"bytes,1,opt,name=description,proto3" json:"description,omitempty"` ProjectsUrl string `protobuf:"bytes,2,opt,name=projects_url,json=projectsUrl,proto3" json:"projects_url,omitempty"` ProjectCountry string `protobuf:"bytes,3,opt,name=project_country,json=projectCountry,proto3" json:"project_country,omitempty"` BusinessNumber string `protobuf:"bytes,4,opt,name=business_number,json=businessNumber,proto3" json:"business_number,omitempty"` Reserved []byte `protobuf:"bytes,5,opt,name=reserved,proto3" json:"reserved,omitempty"` ProjectName string `protobuf:"bytes,6,opt,name=project_name,json=projectName,proto3" json:"project_name,omitempty"` Email string `protobuf:"bytes,7,opt,name=email,proto3" json:"email,omitempty"` Name string `protobuf:"bytes,8,opt,name=name,proto3" json:"name,omitempty"` ProjectLogo string `protobuf:"bytes,9,opt,name=project_logo,json=projectLogo,proto3" json:"project_logo,omitempty"` ProjectBrief string `protobuf:"bytes,10,opt,name=project_brief,json=projectBrief,proto3" json:"project_brief,omitempty"` ExecutiveSummary string `protobuf:"bytes,11,opt,name=executive_summary,json=executiveSummary,proto3" json:"executive_summary,omitempty"` }
func (*BasicInfo) Descriptor ¶
func (*BasicInfo) GetBusinessNumber ¶
func (*BasicInfo) GetDescription ¶
func (*BasicInfo) GetExecutiveSummary ¶
func (*BasicInfo) GetProjectBrief ¶
func (*BasicInfo) GetProjectCountry ¶
func (*BasicInfo) GetProjectLogo ¶
func (*BasicInfo) GetProjectName ¶
func (*BasicInfo) GetProjectsUrl ¶
func (*BasicInfo) GetReserved ¶
func (*BasicInfo) MarshalToSizedBuffer ¶
func (*BasicInfo) ProtoMessage ¶
func (*BasicInfo) ProtoMessage()
func (*BasicInfo) XXX_DiscardUnknown ¶
func (m *BasicInfo) XXX_DiscardUnknown()
func (*BasicInfo) XXX_Marshal ¶
func (*BasicInfo) XXX_Unmarshal ¶
type GenesisState ¶
type GenesisState struct {
Params Params `protobuf:"bytes,1,opt,name=params,proto3" json:"params"`
}
GenesisState defines the kyc module's genesis state.
func DefaultGenesis ¶
func DefaultGenesis() *GenesisState
DefaultGenesis returns the default genesis state
func (*GenesisState) Descriptor ¶
func (*GenesisState) Descriptor() ([]byte, []int)
func (*GenesisState) GetParams ¶
func (m *GenesisState) GetParams() Params
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) Validate ¶
func (gs GenesisState) Validate() error
Validate performs basic genesis state validation returning an error upon any failure.
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 Investor ¶
type Investor struct { InvestorId string `protobuf:"bytes,1,opt,name=investorId,proto3" json:"investorId,omitempty"` WalletAddress []string `protobuf:"bytes,2,rep,name=walletAddress,proto3" json:"walletAddress,omitempty"` }
func (*Investor) Descriptor ¶
func (*Investor) GetInvestorId ¶
func (*Investor) GetWalletAddress ¶
func (*Investor) MarshalToSizedBuffer ¶
func (*Investor) ProtoMessage ¶
func (*Investor) ProtoMessage()
func (*Investor) XXX_DiscardUnknown ¶
func (m *Investor) XXX_DiscardUnknown()
func (*Investor) XXX_Marshal ¶
func (*Investor) XXX_Unmarshal ¶
type ListAllProjectsRequest ¶ added in v0.1.0
type ListAllProjectsRequest struct {
Pagination *query.PageRequest `protobuf:"bytes,1,opt,name=pagination,proto3" json:"pagination,omitempty"`
}
func (*ListAllProjectsRequest) Descriptor ¶ added in v0.1.0
func (*ListAllProjectsRequest) Descriptor() ([]byte, []int)
func (*ListAllProjectsRequest) GetPagination ¶ added in v0.1.0
func (m *ListAllProjectsRequest) GetPagination() *query.PageRequest
func (*ListAllProjectsRequest) Marshal ¶ added in v0.1.0
func (m *ListAllProjectsRequest) Marshal() (dAtA []byte, err error)
func (*ListAllProjectsRequest) MarshalTo ¶ added in v0.1.0
func (m *ListAllProjectsRequest) MarshalTo(dAtA []byte) (int, error)
func (*ListAllProjectsRequest) MarshalToSizedBuffer ¶ added in v0.1.0
func (m *ListAllProjectsRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*ListAllProjectsRequest) ProtoMessage ¶ added in v0.1.0
func (*ListAllProjectsRequest) ProtoMessage()
func (*ListAllProjectsRequest) Reset ¶ added in v0.1.0
func (m *ListAllProjectsRequest) Reset()
func (*ListAllProjectsRequest) Size ¶ added in v0.1.0
func (m *ListAllProjectsRequest) Size() (n int)
func (*ListAllProjectsRequest) String ¶ added in v0.1.0
func (m *ListAllProjectsRequest) String() string
func (*ListAllProjectsRequest) Unmarshal ¶ added in v0.1.0
func (m *ListAllProjectsRequest) Unmarshal(dAtA []byte) error
func (*ListAllProjectsRequest) XXX_DiscardUnknown ¶ added in v0.1.0
func (m *ListAllProjectsRequest) XXX_DiscardUnknown()
func (*ListAllProjectsRequest) XXX_Marshal ¶ added in v0.1.0
func (m *ListAllProjectsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ListAllProjectsRequest) XXX_Merge ¶ added in v0.1.0
func (m *ListAllProjectsRequest) XXX_Merge(src proto.Message)
func (*ListAllProjectsRequest) XXX_Size ¶ added in v0.1.0
func (m *ListAllProjectsRequest) XXX_Size() int
func (*ListAllProjectsRequest) XXX_Unmarshal ¶ added in v0.1.0
func (m *ListAllProjectsRequest) XXX_Unmarshal(b []byte) error
type ListAllProjectsResponse ¶ added in v0.1.0
type ListAllProjectsResponse struct { Project []*ProjectInfo `protobuf:"bytes,1,rep,name=project,proto3" json:"project,omitempty"` TotalNumber int32 `protobuf:"varint,2,opt,name=total_number,json=totalNumber,proto3" json:"total_number,omitempty"` Pagination *query.PageResponse `protobuf:"bytes,3,opt,name=pagination,proto3" json:"pagination,omitempty"` }
func (*ListAllProjectsResponse) Descriptor ¶ added in v0.1.0
func (*ListAllProjectsResponse) Descriptor() ([]byte, []int)
func (*ListAllProjectsResponse) GetPagination ¶ added in v0.1.0
func (m *ListAllProjectsResponse) GetPagination() *query.PageResponse
func (*ListAllProjectsResponse) GetProject ¶ added in v0.1.0
func (m *ListAllProjectsResponse) GetProject() []*ProjectInfo
func (*ListAllProjectsResponse) GetTotalNumber ¶ added in v0.1.0
func (m *ListAllProjectsResponse) GetTotalNumber() int32
func (*ListAllProjectsResponse) Marshal ¶ added in v0.1.0
func (m *ListAllProjectsResponse) Marshal() (dAtA []byte, err error)
func (*ListAllProjectsResponse) MarshalTo ¶ added in v0.1.0
func (m *ListAllProjectsResponse) MarshalTo(dAtA []byte) (int, error)
func (*ListAllProjectsResponse) MarshalToSizedBuffer ¶ added in v0.1.0
func (m *ListAllProjectsResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*ListAllProjectsResponse) ProtoMessage ¶ added in v0.1.0
func (*ListAllProjectsResponse) ProtoMessage()
func (*ListAllProjectsResponse) Reset ¶ added in v0.1.0
func (m *ListAllProjectsResponse) Reset()
func (*ListAllProjectsResponse) Size ¶ added in v0.1.0
func (m *ListAllProjectsResponse) Size() (n int)
func (*ListAllProjectsResponse) String ¶ added in v0.1.0
func (m *ListAllProjectsResponse) String() string
func (*ListAllProjectsResponse) Unmarshal ¶ added in v0.1.0
func (m *ListAllProjectsResponse) Unmarshal(dAtA []byte) error
func (*ListAllProjectsResponse) XXX_DiscardUnknown ¶ added in v0.1.0
func (m *ListAllProjectsResponse) XXX_DiscardUnknown()
func (*ListAllProjectsResponse) XXX_Marshal ¶ added in v0.1.0
func (m *ListAllProjectsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ListAllProjectsResponse) XXX_Merge ¶ added in v0.1.0
func (m *ListAllProjectsResponse) XXX_Merge(src proto.Message)
func (*ListAllProjectsResponse) XXX_Size ¶ added in v0.1.0
func (m *ListAllProjectsResponse) XXX_Size() int
func (*ListAllProjectsResponse) XXX_Unmarshal ¶ added in v0.1.0
func (m *ListAllProjectsResponse) XXX_Unmarshal(b []byte) error
type ListInvestorsRequest ¶
type ListInvestorsRequest struct {
Pagination *query.PageRequest `protobuf:"bytes,1,opt,name=pagination,proto3" json:"pagination,omitempty"`
}
func (*ListInvestorsRequest) Descriptor ¶
func (*ListInvestorsRequest) Descriptor() ([]byte, []int)
func (*ListInvestorsRequest) GetPagination ¶
func (m *ListInvestorsRequest) GetPagination() *query.PageRequest
func (*ListInvestorsRequest) Marshal ¶
func (m *ListInvestorsRequest) Marshal() (dAtA []byte, err error)
func (*ListInvestorsRequest) MarshalTo ¶
func (m *ListInvestorsRequest) MarshalTo(dAtA []byte) (int, error)
func (*ListInvestorsRequest) MarshalToSizedBuffer ¶
func (m *ListInvestorsRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*ListInvestorsRequest) ProtoMessage ¶
func (*ListInvestorsRequest) ProtoMessage()
func (*ListInvestorsRequest) Reset ¶
func (m *ListInvestorsRequest) Reset()
func (*ListInvestorsRequest) Size ¶
func (m *ListInvestorsRequest) Size() (n int)
func (*ListInvestorsRequest) String ¶
func (m *ListInvestorsRequest) String() string
func (*ListInvestorsRequest) Unmarshal ¶
func (m *ListInvestorsRequest) Unmarshal(dAtA []byte) error
func (*ListInvestorsRequest) XXX_DiscardUnknown ¶
func (m *ListInvestorsRequest) XXX_DiscardUnknown()
func (*ListInvestorsRequest) XXX_Marshal ¶
func (m *ListInvestorsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ListInvestorsRequest) XXX_Merge ¶
func (m *ListInvestorsRequest) XXX_Merge(src proto.Message)
func (*ListInvestorsRequest) XXX_Size ¶
func (m *ListInvestorsRequest) XXX_Size() int
func (*ListInvestorsRequest) XXX_Unmarshal ¶
func (m *ListInvestorsRequest) XXX_Unmarshal(b []byte) error
type ListInvestorsResponse ¶
type ListInvestorsResponse struct { Investor []*Investor `protobuf:"bytes,1,rep,name=investor,proto3" json:"investor,omitempty"` Pagination *query.PageResponse `protobuf:"bytes,2,opt,name=pagination,proto3" json:"pagination,omitempty"` }
func (*ListInvestorsResponse) Descriptor ¶
func (*ListInvestorsResponse) Descriptor() ([]byte, []int)
func (*ListInvestorsResponse) GetInvestor ¶
func (m *ListInvestorsResponse) GetInvestor() []*Investor
func (*ListInvestorsResponse) GetPagination ¶
func (m *ListInvestorsResponse) GetPagination() *query.PageResponse
func (*ListInvestorsResponse) Marshal ¶
func (m *ListInvestorsResponse) Marshal() (dAtA []byte, err error)
func (*ListInvestorsResponse) MarshalTo ¶
func (m *ListInvestorsResponse) MarshalTo(dAtA []byte) (int, error)
func (*ListInvestorsResponse) MarshalToSizedBuffer ¶
func (m *ListInvestorsResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*ListInvestorsResponse) ProtoMessage ¶
func (*ListInvestorsResponse) ProtoMessage()
func (*ListInvestorsResponse) Reset ¶
func (m *ListInvestorsResponse) Reset()
func (*ListInvestorsResponse) Size ¶
func (m *ListInvestorsResponse) Size() (n int)
func (*ListInvestorsResponse) String ¶
func (m *ListInvestorsResponse) String() string
func (*ListInvestorsResponse) Unmarshal ¶
func (m *ListInvestorsResponse) Unmarshal(dAtA []byte) error
func (*ListInvestorsResponse) XXX_DiscardUnknown ¶
func (m *ListInvestorsResponse) XXX_DiscardUnknown()
func (*ListInvestorsResponse) XXX_Marshal ¶
func (m *ListInvestorsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ListInvestorsResponse) XXX_Merge ¶
func (m *ListInvestorsResponse) XXX_Merge(src proto.Message)
func (*ListInvestorsResponse) XXX_Size ¶
func (m *ListInvestorsResponse) XXX_Size() int
func (*ListInvestorsResponse) XXX_Unmarshal ¶
func (m *ListInvestorsResponse) XXX_Unmarshal(b []byte) error
type MSgCreateProjectResponse ¶ added in v0.1.0
type MSgCreateProjectResponse struct {
ProjectId string `protobuf:"bytes,1,opt,name=project_id,json=projectId,proto3" json:"project_id,omitempty"`
}
func (*MSgCreateProjectResponse) Descriptor ¶ added in v0.1.0
func (*MSgCreateProjectResponse) Descriptor() ([]byte, []int)
func (*MSgCreateProjectResponse) GetProjectId ¶ added in v0.1.0
func (m *MSgCreateProjectResponse) GetProjectId() string
func (*MSgCreateProjectResponse) Marshal ¶ added in v0.1.0
func (m *MSgCreateProjectResponse) Marshal() (dAtA []byte, err error)
func (*MSgCreateProjectResponse) MarshalTo ¶ added in v0.1.0
func (m *MSgCreateProjectResponse) MarshalTo(dAtA []byte) (int, error)
func (*MSgCreateProjectResponse) MarshalToSizedBuffer ¶ added in v0.1.0
func (m *MSgCreateProjectResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MSgCreateProjectResponse) ProtoMessage ¶ added in v0.1.0
func (*MSgCreateProjectResponse) ProtoMessage()
func (*MSgCreateProjectResponse) Reset ¶ added in v0.1.0
func (m *MSgCreateProjectResponse) Reset()
func (*MSgCreateProjectResponse) Size ¶ added in v0.1.0
func (m *MSgCreateProjectResponse) Size() (n int)
func (*MSgCreateProjectResponse) String ¶ added in v0.1.0
func (m *MSgCreateProjectResponse) String() string
func (*MSgCreateProjectResponse) Unmarshal ¶ added in v0.1.0
func (m *MSgCreateProjectResponse) Unmarshal(dAtA []byte) error
func (*MSgCreateProjectResponse) XXX_DiscardUnknown ¶ added in v0.1.0
func (m *MSgCreateProjectResponse) XXX_DiscardUnknown()
func (*MSgCreateProjectResponse) XXX_Marshal ¶ added in v0.1.0
func (m *MSgCreateProjectResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MSgCreateProjectResponse) XXX_Merge ¶ added in v0.1.0
func (m *MSgCreateProjectResponse) XXX_Merge(src proto.Message)
func (*MSgCreateProjectResponse) XXX_Size ¶ added in v0.1.0
func (m *MSgCreateProjectResponse) XXX_Size() int
func (*MSgCreateProjectResponse) XXX_Unmarshal ¶ added in v0.1.0
func (m *MSgCreateProjectResponse) XXX_Unmarshal(b []byte) error
type MsgClient ¶
type MsgClient interface { UploadInvestor(ctx context.Context, in *MsgUploadInvestor, opts ...grpc.CallOption) (*MsgUploadInvestorResponse, error) CreateProject(ctx context.Context, in *MsgCreateProject, opts ...grpc.CallOption) (*MSgCreateProjectResponse, 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 MsgCreateProject ¶ added in v0.1.0
type MsgCreateProject struct { Creator string `protobuf:"bytes,1,opt,name=creator,proto3" json:"creator,omitempty"` EncodedProject string `protobuf:"bytes,2,opt,name=encoded_project,json=encodedProject,proto3" json:"encoded_project,omitempty"` }
func NewMsgCreateProject ¶ added in v0.1.0
func NewMsgCreateProject(creator string, encodedProject string) *MsgCreateProject
func (*MsgCreateProject) Descriptor ¶ added in v0.1.0
func (*MsgCreateProject) Descriptor() ([]byte, []int)
func (*MsgCreateProject) GetCreator ¶ added in v0.1.0
func (m *MsgCreateProject) GetCreator() string
func (*MsgCreateProject) GetEncodedProject ¶ added in v0.1.0
func (m *MsgCreateProject) GetEncodedProject() string
func (*MsgCreateProject) GetSignBytes ¶ added in v0.1.0
func (msg *MsgCreateProject) GetSignBytes() []byte
func (*MsgCreateProject) GetSigners ¶ added in v0.1.0
func (msg *MsgCreateProject) GetSigners() []sdk.AccAddress
func (*MsgCreateProject) Marshal ¶ added in v0.1.0
func (m *MsgCreateProject) Marshal() (dAtA []byte, err error)
func (*MsgCreateProject) MarshalTo ¶ added in v0.1.0
func (m *MsgCreateProject) MarshalTo(dAtA []byte) (int, error)
func (*MsgCreateProject) MarshalToSizedBuffer ¶ added in v0.1.0
func (m *MsgCreateProject) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MsgCreateProject) ProtoMessage ¶ added in v0.1.0
func (*MsgCreateProject) ProtoMessage()
func (*MsgCreateProject) Reset ¶ added in v0.1.0
func (m *MsgCreateProject) Reset()
func (*MsgCreateProject) Route ¶ added in v0.1.0
func (msg *MsgCreateProject) Route() string
func (*MsgCreateProject) Size ¶ added in v0.1.0
func (m *MsgCreateProject) Size() (n int)
func (*MsgCreateProject) String ¶ added in v0.1.0
func (m *MsgCreateProject) String() string
func (*MsgCreateProject) Type ¶ added in v0.1.0
func (msg *MsgCreateProject) Type() string
func (*MsgCreateProject) Unmarshal ¶ added in v0.1.0
func (m *MsgCreateProject) Unmarshal(dAtA []byte) error
func (*MsgCreateProject) ValidateBasic ¶ added in v0.1.0
func (msg *MsgCreateProject) ValidateBasic() error
func (*MsgCreateProject) XXX_DiscardUnknown ¶ added in v0.1.0
func (m *MsgCreateProject) XXX_DiscardUnknown()
func (*MsgCreateProject) XXX_Marshal ¶ added in v0.1.0
func (m *MsgCreateProject) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MsgCreateProject) XXX_Merge ¶ added in v0.1.0
func (m *MsgCreateProject) XXX_Merge(src proto.Message)
func (*MsgCreateProject) XXX_Size ¶ added in v0.1.0
func (m *MsgCreateProject) XXX_Size() int
func (*MsgCreateProject) XXX_Unmarshal ¶ added in v0.1.0
func (m *MsgCreateProject) XXX_Unmarshal(b []byte) error
type MsgServer ¶
type MsgServer interface { UploadInvestor(context.Context, *MsgUploadInvestor) (*MsgUploadInvestorResponse, error) CreateProject(context.Context, *MsgCreateProject) (*MSgCreateProjectResponse, error) }
MsgServer is the server API for Msg service.
type MsgUploadInvestor ¶
type MsgUploadInvestor struct { Creator string `protobuf:"bytes,1,opt,name=creator,proto3" json:"creator,omitempty"` InvestorId string `protobuf:"bytes,2,opt,name=investorId,proto3" json:"investorId,omitempty"` WalletAddress []string `protobuf:"bytes,3,rep,name=walletAddress,proto3" json:"walletAddress,omitempty"` }
func NewMsgUploadInvestor ¶
func NewMsgUploadInvestor(creator string, investorId string, walletAddress []string) *MsgUploadInvestor
func (*MsgUploadInvestor) Descriptor ¶
func (*MsgUploadInvestor) Descriptor() ([]byte, []int)
func (*MsgUploadInvestor) GetCreator ¶
func (m *MsgUploadInvestor) GetCreator() string
func (*MsgUploadInvestor) GetInvestorId ¶
func (m *MsgUploadInvestor) GetInvestorId() string
func (*MsgUploadInvestor) GetSignBytes ¶
func (msg *MsgUploadInvestor) GetSignBytes() []byte
func (*MsgUploadInvestor) GetSigners ¶
func (msg *MsgUploadInvestor) GetSigners() []sdk.AccAddress
func (*MsgUploadInvestor) GetWalletAddress ¶
func (m *MsgUploadInvestor) GetWalletAddress() []string
func (*MsgUploadInvestor) Marshal ¶
func (m *MsgUploadInvestor) Marshal() (dAtA []byte, err error)
func (*MsgUploadInvestor) MarshalTo ¶
func (m *MsgUploadInvestor) MarshalTo(dAtA []byte) (int, error)
func (*MsgUploadInvestor) MarshalToSizedBuffer ¶
func (m *MsgUploadInvestor) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MsgUploadInvestor) ProtoMessage ¶
func (*MsgUploadInvestor) ProtoMessage()
func (*MsgUploadInvestor) Reset ¶
func (m *MsgUploadInvestor) Reset()
func (*MsgUploadInvestor) Route ¶
func (msg *MsgUploadInvestor) Route() string
func (*MsgUploadInvestor) Size ¶
func (m *MsgUploadInvestor) Size() (n int)
func (*MsgUploadInvestor) String ¶
func (m *MsgUploadInvestor) String() string
func (*MsgUploadInvestor) Type ¶
func (msg *MsgUploadInvestor) Type() string
func (*MsgUploadInvestor) Unmarshal ¶
func (m *MsgUploadInvestor) Unmarshal(dAtA []byte) error
func (*MsgUploadInvestor) ValidateBasic ¶
func (msg *MsgUploadInvestor) ValidateBasic() error
func (*MsgUploadInvestor) XXX_DiscardUnknown ¶
func (m *MsgUploadInvestor) XXX_DiscardUnknown()
func (*MsgUploadInvestor) XXX_Marshal ¶
func (m *MsgUploadInvestor) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MsgUploadInvestor) XXX_Merge ¶
func (m *MsgUploadInvestor) XXX_Merge(src proto.Message)
func (*MsgUploadInvestor) XXX_Size ¶
func (m *MsgUploadInvestor) XXX_Size() int
func (*MsgUploadInvestor) XXX_Unmarshal ¶
func (m *MsgUploadInvestor) XXX_Unmarshal(b []byte) error
type MsgUploadInvestorResponse ¶
type MsgUploadInvestorResponse struct {
Wallets []string `protobuf:"bytes,1,rep,name=wallets,proto3" json:"wallets,omitempty"`
}
func (*MsgUploadInvestorResponse) Descriptor ¶
func (*MsgUploadInvestorResponse) Descriptor() ([]byte, []int)
func (*MsgUploadInvestorResponse) GetWallets ¶
func (m *MsgUploadInvestorResponse) GetWallets() []string
func (*MsgUploadInvestorResponse) Marshal ¶
func (m *MsgUploadInvestorResponse) Marshal() (dAtA []byte, err error)
func (*MsgUploadInvestorResponse) MarshalTo ¶
func (m *MsgUploadInvestorResponse) MarshalTo(dAtA []byte) (int, error)
func (*MsgUploadInvestorResponse) MarshalToSizedBuffer ¶
func (m *MsgUploadInvestorResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MsgUploadInvestorResponse) ProtoMessage ¶
func (*MsgUploadInvestorResponse) ProtoMessage()
func (*MsgUploadInvestorResponse) Reset ¶
func (m *MsgUploadInvestorResponse) Reset()
func (*MsgUploadInvestorResponse) Size ¶
func (m *MsgUploadInvestorResponse) Size() (n int)
func (*MsgUploadInvestorResponse) String ¶
func (m *MsgUploadInvestorResponse) String() string
func (*MsgUploadInvestorResponse) Unmarshal ¶
func (m *MsgUploadInvestorResponse) Unmarshal(dAtA []byte) error
func (*MsgUploadInvestorResponse) XXX_DiscardUnknown ¶
func (m *MsgUploadInvestorResponse) XXX_DiscardUnknown()
func (*MsgUploadInvestorResponse) XXX_Marshal ¶
func (m *MsgUploadInvestorResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MsgUploadInvestorResponse) XXX_Merge ¶
func (m *MsgUploadInvestorResponse) XXX_Merge(src proto.Message)
func (*MsgUploadInvestorResponse) XXX_Size ¶
func (m *MsgUploadInvestorResponse) XXX_Size() int
func (*MsgUploadInvestorResponse) XXX_Unmarshal ¶
func (m *MsgUploadInvestorResponse) XXX_Unmarshal(b []byte) error
type Params ¶
type Params struct { ProjectInfo string `protobuf:"bytes,1,opt,name=project_info,json=projectInfo,proto3" json:"project_info,omitempty"` Submitter []github_com_cosmos_cosmos_sdk_types.AccAddress `` /* 126-byte string literal not displayed */ }
Params defines the parameters for the module.
func (*Params) Descriptor ¶
func (*Params) GetProjectInfo ¶
func (*Params) GetSubmitter ¶
func (m *Params) GetSubmitter() []github_com_cosmos_cosmos_sdk_types.AccAddress
func (*Params) MarshalToSizedBuffer ¶
func (*Params) ParamSetPairs ¶
func (p *Params) ParamSetPairs() paramtypes.ParamSetPairs
ParamSetPairs get the 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 ProjectInfo ¶
type ProjectInfo struct { Index int32 `protobuf:"varint,1,opt,name=index,proto3" json:"index,omitempty"` SPVName string `protobuf:"bytes,2,opt,name=SPV_name,json=SPVName,proto3" json:"SPV_name,omitempty"` BasicInfo *BasicInfo `protobuf:"bytes,3,opt,name=basic_info,json=basicInfo,proto3" json:"basic_info,omitempty"` ProjectOwner github_com_cosmos_cosmos_sdk_types.AccAddress `` /* 152-byte string literal not displayed */ ProjectLength uint64 `protobuf:"varint,5,opt,name=project_length,json=projectLength,proto3" json:"project_length,omitempty"` SeparatePool bool `protobuf:"varint,6,opt,name=separate_pool,json=separatePool,proto3" json:"separate_pool,omitempty"` BaseApy github_com_cosmos_cosmos_sdk_types.Dec `protobuf:"bytes,7,opt,name=base_apy,json=baseApy,proto3,customtype=github.com/cosmos/cosmos-sdk/types.Dec" json:"base_apy"` PayFreq string `protobuf:"bytes,8,opt,name=pay_freq,json=payFreq,proto3" json:"pay_freq,omitempty"` WithdrawRequestWindowSeconds int32 `` /* 150-byte string literal not displayed */ PoolLockedSeconds int32 `protobuf:"varint,10,opt,name=pool_locked_seconds,json=poolLockedSeconds,proto3" json:"pool_locked_seconds,omitempty"` PoolTotalBorrowLimit int32 `` /* 127-byte string literal not displayed */ GraceTime time.Duration `protobuf:"bytes,12,opt,name=grace_time,json=graceTime,proto3,stdduration" json:"grace_time"` MarketId string `protobuf:"bytes,13,opt,name=market_id,json=marketId,proto3" json:"market_id,omitempty"` JuniorMinRatio github_com_cosmos_cosmos_sdk_types.Dec `` /* 146-byte string literal not displayed */ MinBorrowAmount github_com_cosmos_cosmos_sdk_types.Int `` /* 149-byte string literal not displayed */ MinDepositAmount github_com_cosmos_cosmos_sdk_types.Int `` /* 152-byte string literal not displayed */ }
Market defines an asset in the pricefeed.
func GenerateTestProjects ¶ added in v0.1.0
func GenerateTestProjects() []*ProjectInfo
func (*ProjectInfo) Descriptor ¶
func (*ProjectInfo) Descriptor() ([]byte, []int)
func (*ProjectInfo) GetBasicInfo ¶
func (m *ProjectInfo) GetBasicInfo() *BasicInfo
func (*ProjectInfo) GetGraceTime ¶
func (m *ProjectInfo) GetGraceTime() time.Duration
func (*ProjectInfo) GetIndex ¶
func (m *ProjectInfo) GetIndex() int32
func (*ProjectInfo) GetMarketId ¶
func (m *ProjectInfo) GetMarketId() string
func (*ProjectInfo) GetPayFreq ¶
func (m *ProjectInfo) GetPayFreq() string
func (*ProjectInfo) GetPoolLockedSeconds ¶
func (m *ProjectInfo) GetPoolLockedSeconds() int32
func (*ProjectInfo) GetPoolTotalBorrowLimit ¶
func (m *ProjectInfo) GetPoolTotalBorrowLimit() int32
func (*ProjectInfo) GetProjectLength ¶
func (m *ProjectInfo) GetProjectLength() uint64
func (*ProjectInfo) GetProjectOwner ¶
func (m *ProjectInfo) GetProjectOwner() github_com_cosmos_cosmos_sdk_types.AccAddress
func (*ProjectInfo) GetSPVName ¶
func (m *ProjectInfo) GetSPVName() string
func (*ProjectInfo) GetSeparatePool ¶
func (m *ProjectInfo) GetSeparatePool() bool
func (*ProjectInfo) GetWithdrawRequestWindowSeconds ¶
func (m *ProjectInfo) GetWithdrawRequestWindowSeconds() int32
func (*ProjectInfo) Marshal ¶
func (m *ProjectInfo) Marshal() (dAtA []byte, err error)
func (*ProjectInfo) MarshalToSizedBuffer ¶
func (m *ProjectInfo) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*ProjectInfo) ProtoMessage ¶
func (*ProjectInfo) ProtoMessage()
func (*ProjectInfo) Reset ¶
func (m *ProjectInfo) Reset()
func (*ProjectInfo) Size ¶
func (m *ProjectInfo) Size() (n int)
func (*ProjectInfo) String ¶
func (m *ProjectInfo) String() string
func (*ProjectInfo) Unmarshal ¶
func (m *ProjectInfo) Unmarshal(dAtA []byte) error
func (*ProjectInfo) XXX_DiscardUnknown ¶
func (m *ProjectInfo) XXX_DiscardUnknown()
func (*ProjectInfo) XXX_Marshal ¶
func (m *ProjectInfo) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ProjectInfo) XXX_Merge ¶
func (m *ProjectInfo) XXX_Merge(src proto.Message)
func (*ProjectInfo) XXX_Size ¶
func (m *ProjectInfo) XXX_Size() int
func (*ProjectInfo) XXX_Unmarshal ¶
func (m *ProjectInfo) XXX_Unmarshal(b []byte) error
type Projects ¶
type Projects struct {
Items []*ProjectInfo `protobuf:"bytes,1,rep,name=items,proto3" json:"items,omitempty"`
}
func (*Projects) Descriptor ¶
func (*Projects) GetItems ¶
func (m *Projects) GetItems() []*ProjectInfo
func (*Projects) MarshalToSizedBuffer ¶
func (*Projects) ProtoMessage ¶
func (*Projects) ProtoMessage()
func (*Projects) XXX_DiscardUnknown ¶
func (m *Projects) XXX_DiscardUnknown()
func (*Projects) XXX_Marshal ¶
func (*Projects) XXX_Unmarshal ¶
type QueryByWalletRequest ¶
type QueryByWalletRequest struct {
Wallet string `protobuf:"bytes,1,opt,name=wallet,proto3" json:"wallet,omitempty"`
}
func (*QueryByWalletRequest) Descriptor ¶
func (*QueryByWalletRequest) Descriptor() ([]byte, []int)
func (*QueryByWalletRequest) GetWallet ¶
func (m *QueryByWalletRequest) GetWallet() string
func (*QueryByWalletRequest) Marshal ¶
func (m *QueryByWalletRequest) Marshal() (dAtA []byte, err error)
func (*QueryByWalletRequest) MarshalTo ¶
func (m *QueryByWalletRequest) MarshalTo(dAtA []byte) (int, error)
func (*QueryByWalletRequest) MarshalToSizedBuffer ¶
func (m *QueryByWalletRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QueryByWalletRequest) ProtoMessage ¶
func (*QueryByWalletRequest) ProtoMessage()
func (*QueryByWalletRequest) Reset ¶
func (m *QueryByWalletRequest) Reset()
func (*QueryByWalletRequest) Size ¶
func (m *QueryByWalletRequest) Size() (n int)
func (*QueryByWalletRequest) String ¶
func (m *QueryByWalletRequest) String() string
func (*QueryByWalletRequest) Unmarshal ¶
func (m *QueryByWalletRequest) Unmarshal(dAtA []byte) error
func (*QueryByWalletRequest) XXX_DiscardUnknown ¶
func (m *QueryByWalletRequest) XXX_DiscardUnknown()
func (*QueryByWalletRequest) XXX_Marshal ¶
func (m *QueryByWalletRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QueryByWalletRequest) XXX_Merge ¶
func (m *QueryByWalletRequest) XXX_Merge(src proto.Message)
func (*QueryByWalletRequest) XXX_Size ¶
func (m *QueryByWalletRequest) XXX_Size() int
func (*QueryByWalletRequest) XXX_Unmarshal ¶
func (m *QueryByWalletRequest) XXX_Unmarshal(b []byte) error
type QueryByWalletResponse ¶
type QueryByWalletResponse struct {
Investor *Investor `protobuf:"bytes,1,opt,name=investor,proto3" json:"investor,omitempty"`
}
func (*QueryByWalletResponse) Descriptor ¶
func (*QueryByWalletResponse) Descriptor() ([]byte, []int)
func (*QueryByWalletResponse) GetInvestor ¶
func (m *QueryByWalletResponse) GetInvestor() *Investor
func (*QueryByWalletResponse) Marshal ¶
func (m *QueryByWalletResponse) Marshal() (dAtA []byte, err error)
func (*QueryByWalletResponse) MarshalTo ¶
func (m *QueryByWalletResponse) MarshalTo(dAtA []byte) (int, error)
func (*QueryByWalletResponse) MarshalToSizedBuffer ¶
func (m *QueryByWalletResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QueryByWalletResponse) ProtoMessage ¶
func (*QueryByWalletResponse) ProtoMessage()
func (*QueryByWalletResponse) Reset ¶
func (m *QueryByWalletResponse) Reset()
func (*QueryByWalletResponse) Size ¶
func (m *QueryByWalletResponse) Size() (n int)
func (*QueryByWalletResponse) String ¶
func (m *QueryByWalletResponse) String() string
func (*QueryByWalletResponse) Unmarshal ¶
func (m *QueryByWalletResponse) Unmarshal(dAtA []byte) error
func (*QueryByWalletResponse) XXX_DiscardUnknown ¶
func (m *QueryByWalletResponse) XXX_DiscardUnknown()
func (*QueryByWalletResponse) XXX_Marshal ¶
func (m *QueryByWalletResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QueryByWalletResponse) XXX_Merge ¶
func (m *QueryByWalletResponse) XXX_Merge(src proto.Message)
func (*QueryByWalletResponse) XXX_Size ¶
func (m *QueryByWalletResponse) XXX_Size() int
func (*QueryByWalletResponse) XXX_Unmarshal ¶
func (m *QueryByWalletResponse) XXX_Unmarshal(b []byte) error
type QueryClient ¶
type QueryClient interface { // Parameters queries the parameters of the module. Params(ctx context.Context, in *QueryParamsRequest, opts ...grpc.CallOption) (*QueryParamsResponse, error) // Queries a list of QueryInvestorWallets items. QueryInvestorWallets(ctx context.Context, in *QueryInvestorWalletsRequest, opts ...grpc.CallOption) (*QueryInvestorWalletsResponse, error) // Queries a list of QueryByWallet items. QueryByWallet(ctx context.Context, in *QueryByWalletRequest, opts ...grpc.CallOption) (*QueryByWalletResponse, error) // Queries a list of ListInvestors items. ListInvestors(ctx context.Context, in *ListInvestorsRequest, opts ...grpc.CallOption) (*ListInvestorsResponse, error) QueryProject(ctx context.Context, in *QueryProjectRequest, opts ...grpc.CallOption) (*QueryProjectResponse, error) ListAllProjects(ctx context.Context, in *ListAllProjectsRequest, opts ...grpc.CallOption) (*ListAllProjectsResponse, 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 QueryInvestorWalletsRequest ¶
type QueryInvestorWalletsRequest struct {
InvestorId string `protobuf:"bytes,1,opt,name=investorId,proto3" json:"investorId,omitempty"`
}
func (*QueryInvestorWalletsRequest) Descriptor ¶
func (*QueryInvestorWalletsRequest) Descriptor() ([]byte, []int)
func (*QueryInvestorWalletsRequest) GetInvestorId ¶
func (m *QueryInvestorWalletsRequest) GetInvestorId() string
func (*QueryInvestorWalletsRequest) Marshal ¶
func (m *QueryInvestorWalletsRequest) Marshal() (dAtA []byte, err error)
func (*QueryInvestorWalletsRequest) MarshalTo ¶
func (m *QueryInvestorWalletsRequest) MarshalTo(dAtA []byte) (int, error)
func (*QueryInvestorWalletsRequest) MarshalToSizedBuffer ¶
func (m *QueryInvestorWalletsRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QueryInvestorWalletsRequest) ProtoMessage ¶
func (*QueryInvestorWalletsRequest) ProtoMessage()
func (*QueryInvestorWalletsRequest) Reset ¶
func (m *QueryInvestorWalletsRequest) Reset()
func (*QueryInvestorWalletsRequest) Size ¶
func (m *QueryInvestorWalletsRequest) Size() (n int)
func (*QueryInvestorWalletsRequest) String ¶
func (m *QueryInvestorWalletsRequest) String() string
func (*QueryInvestorWalletsRequest) Unmarshal ¶
func (m *QueryInvestorWalletsRequest) Unmarshal(dAtA []byte) error
func (*QueryInvestorWalletsRequest) XXX_DiscardUnknown ¶
func (m *QueryInvestorWalletsRequest) XXX_DiscardUnknown()
func (*QueryInvestorWalletsRequest) XXX_Marshal ¶
func (m *QueryInvestorWalletsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QueryInvestorWalletsRequest) XXX_Merge ¶
func (m *QueryInvestorWalletsRequest) XXX_Merge(src proto.Message)
func (*QueryInvestorWalletsRequest) XXX_Size ¶
func (m *QueryInvestorWalletsRequest) XXX_Size() int
func (*QueryInvestorWalletsRequest) XXX_Unmarshal ¶
func (m *QueryInvestorWalletsRequest) XXX_Unmarshal(b []byte) error
type QueryInvestorWalletsResponse ¶
type QueryInvestorWalletsResponse struct {
Wallets []string `protobuf:"bytes,1,rep,name=wallets,proto3" json:"wallets,omitempty"`
}
func (*QueryInvestorWalletsResponse) Descriptor ¶
func (*QueryInvestorWalletsResponse) Descriptor() ([]byte, []int)
func (*QueryInvestorWalletsResponse) GetWallets ¶
func (m *QueryInvestorWalletsResponse) GetWallets() []string
func (*QueryInvestorWalletsResponse) Marshal ¶
func (m *QueryInvestorWalletsResponse) Marshal() (dAtA []byte, err error)
func (*QueryInvestorWalletsResponse) MarshalTo ¶
func (m *QueryInvestorWalletsResponse) MarshalTo(dAtA []byte) (int, error)
func (*QueryInvestorWalletsResponse) MarshalToSizedBuffer ¶
func (m *QueryInvestorWalletsResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QueryInvestorWalletsResponse) ProtoMessage ¶
func (*QueryInvestorWalletsResponse) ProtoMessage()
func (*QueryInvestorWalletsResponse) Reset ¶
func (m *QueryInvestorWalletsResponse) Reset()
func (*QueryInvestorWalletsResponse) Size ¶
func (m *QueryInvestorWalletsResponse) Size() (n int)
func (*QueryInvestorWalletsResponse) String ¶
func (m *QueryInvestorWalletsResponse) String() string
func (*QueryInvestorWalletsResponse) Unmarshal ¶
func (m *QueryInvestorWalletsResponse) Unmarshal(dAtA []byte) error
func (*QueryInvestorWalletsResponse) XXX_DiscardUnknown ¶
func (m *QueryInvestorWalletsResponse) XXX_DiscardUnknown()
func (*QueryInvestorWalletsResponse) XXX_Marshal ¶
func (m *QueryInvestorWalletsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QueryInvestorWalletsResponse) XXX_Merge ¶
func (m *QueryInvestorWalletsResponse) XXX_Merge(src proto.Message)
func (*QueryInvestorWalletsResponse) XXX_Size ¶
func (m *QueryInvestorWalletsResponse) XXX_Size() int
func (*QueryInvestorWalletsResponse) XXX_Unmarshal ¶
func (m *QueryInvestorWalletsResponse) XXX_Unmarshal(b []byte) error
type QueryParamsRequest ¶
type QueryParamsRequest struct { }
QueryParamsRequest is request type for the Query/Params RPC method.
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 holds all the parameters of this module. Params Params `protobuf:"bytes,1,opt,name=params,proto3" json:"params"` }
QueryParamsResponse is response type for the Query/Params RPC method.
func (*QueryParamsResponse) Descriptor ¶
func (*QueryParamsResponse) Descriptor() ([]byte, []int)
func (*QueryParamsResponse) GetParams ¶
func (m *QueryParamsResponse) GetParams() Params
func (*QueryParamsResponse) Marshal ¶
func (m *QueryParamsResponse) Marshal() (dAtA []byte, err error)
func (*QueryParamsResponse) MarshalTo ¶
func (m *QueryParamsResponse) MarshalTo(dAtA []byte) (int, error)
func (*QueryParamsResponse) MarshalToSizedBuffer ¶
func (m *QueryParamsResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QueryParamsResponse) ProtoMessage ¶
func (*QueryParamsResponse) ProtoMessage()
func (*QueryParamsResponse) Reset ¶
func (m *QueryParamsResponse) Reset()
func (*QueryParamsResponse) Size ¶
func (m *QueryParamsResponse) Size() (n int)
func (*QueryParamsResponse) String ¶
func (m *QueryParamsResponse) String() string
func (*QueryParamsResponse) Unmarshal ¶
func (m *QueryParamsResponse) Unmarshal(dAtA []byte) error
func (*QueryParamsResponse) XXX_DiscardUnknown ¶
func (m *QueryParamsResponse) XXX_DiscardUnknown()
func (*QueryParamsResponse) XXX_Marshal ¶
func (m *QueryParamsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QueryParamsResponse) XXX_Merge ¶
func (m *QueryParamsResponse) XXX_Merge(src proto.Message)
func (*QueryParamsResponse) XXX_Size ¶
func (m *QueryParamsResponse) XXX_Size() int
func (*QueryParamsResponse) XXX_Unmarshal ¶
func (m *QueryParamsResponse) XXX_Unmarshal(b []byte) error
type QueryProjectRequest ¶ added in v0.1.0
type QueryProjectRequest struct {
ProjectId int32 `protobuf:"varint,1,opt,name=projectId,proto3" json:"projectId,omitempty"`
}
func (*QueryProjectRequest) Descriptor ¶ added in v0.1.0
func (*QueryProjectRequest) Descriptor() ([]byte, []int)
func (*QueryProjectRequest) GetProjectId ¶ added in v0.1.0
func (m *QueryProjectRequest) GetProjectId() int32
func (*QueryProjectRequest) Marshal ¶ added in v0.1.0
func (m *QueryProjectRequest) Marshal() (dAtA []byte, err error)
func (*QueryProjectRequest) MarshalTo ¶ added in v0.1.0
func (m *QueryProjectRequest) MarshalTo(dAtA []byte) (int, error)
func (*QueryProjectRequest) MarshalToSizedBuffer ¶ added in v0.1.0
func (m *QueryProjectRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QueryProjectRequest) ProtoMessage ¶ added in v0.1.0
func (*QueryProjectRequest) ProtoMessage()
func (*QueryProjectRequest) Reset ¶ added in v0.1.0
func (m *QueryProjectRequest) Reset()
func (*QueryProjectRequest) Size ¶ added in v0.1.0
func (m *QueryProjectRequest) Size() (n int)
func (*QueryProjectRequest) String ¶ added in v0.1.0
func (m *QueryProjectRequest) String() string
func (*QueryProjectRequest) Unmarshal ¶ added in v0.1.0
func (m *QueryProjectRequest) Unmarshal(dAtA []byte) error
func (*QueryProjectRequest) XXX_DiscardUnknown ¶ added in v0.1.0
func (m *QueryProjectRequest) XXX_DiscardUnknown()
func (*QueryProjectRequest) XXX_Marshal ¶ added in v0.1.0
func (m *QueryProjectRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QueryProjectRequest) XXX_Merge ¶ added in v0.1.0
func (m *QueryProjectRequest) XXX_Merge(src proto.Message)
func (*QueryProjectRequest) XXX_Size ¶ added in v0.1.0
func (m *QueryProjectRequest) XXX_Size() int
func (*QueryProjectRequest) XXX_Unmarshal ¶ added in v0.1.0
func (m *QueryProjectRequest) XXX_Unmarshal(b []byte) error
type QueryProjectResponse ¶ added in v0.1.0
type QueryProjectResponse struct {
Project *ProjectInfo `protobuf:"bytes,1,opt,name=project,proto3" json:"project,omitempty"`
}
func (*QueryProjectResponse) Descriptor ¶ added in v0.1.0
func (*QueryProjectResponse) Descriptor() ([]byte, []int)
func (*QueryProjectResponse) GetProject ¶ added in v0.1.0
func (m *QueryProjectResponse) GetProject() *ProjectInfo
func (*QueryProjectResponse) Marshal ¶ added in v0.1.0
func (m *QueryProjectResponse) Marshal() (dAtA []byte, err error)
func (*QueryProjectResponse) MarshalTo ¶ added in v0.1.0
func (m *QueryProjectResponse) MarshalTo(dAtA []byte) (int, error)
func (*QueryProjectResponse) MarshalToSizedBuffer ¶ added in v0.1.0
func (m *QueryProjectResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QueryProjectResponse) ProtoMessage ¶ added in v0.1.0
func (*QueryProjectResponse) ProtoMessage()
func (*QueryProjectResponse) Reset ¶ added in v0.1.0
func (m *QueryProjectResponse) Reset()
func (*QueryProjectResponse) Size ¶ added in v0.1.0
func (m *QueryProjectResponse) Size() (n int)
func (*QueryProjectResponse) String ¶ added in v0.1.0
func (m *QueryProjectResponse) String() string
func (*QueryProjectResponse) Unmarshal ¶ added in v0.1.0
func (m *QueryProjectResponse) Unmarshal(dAtA []byte) error
func (*QueryProjectResponse) XXX_DiscardUnknown ¶ added in v0.1.0
func (m *QueryProjectResponse) XXX_DiscardUnknown()
func (*QueryProjectResponse) XXX_Marshal ¶ added in v0.1.0
func (m *QueryProjectResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QueryProjectResponse) XXX_Merge ¶ added in v0.1.0
func (m *QueryProjectResponse) XXX_Merge(src proto.Message)
func (*QueryProjectResponse) XXX_Size ¶ added in v0.1.0
func (m *QueryProjectResponse) XXX_Size() int
func (*QueryProjectResponse) XXX_Unmarshal ¶ added in v0.1.0
func (m *QueryProjectResponse) XXX_Unmarshal(b []byte) error
type QueryServer ¶
type QueryServer interface { // Parameters queries the parameters of the module. Params(context.Context, *QueryParamsRequest) (*QueryParamsResponse, error) // Queries a list of QueryInvestorWallets items. QueryInvestorWallets(context.Context, *QueryInvestorWalletsRequest) (*QueryInvestorWalletsResponse, error) // Queries a list of QueryByWallet items. QueryByWallet(context.Context, *QueryByWalletRequest) (*QueryByWalletResponse, error) // Queries a list of ListInvestors items. ListInvestors(context.Context, *ListInvestorsRequest) (*ListInvestorsResponse, error) QueryProject(context.Context, *QueryProjectRequest) (*QueryProjectResponse, error) ListAllProjects(context.Context, *ListAllProjectsRequest) (*ListAllProjectsResponse, 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) CreateProject ¶ added in v0.1.0
func (*UnimplementedMsgServer) CreateProject(ctx context.Context, req *MsgCreateProject) (*MSgCreateProjectResponse, error)
func (*UnimplementedMsgServer) UploadInvestor ¶
func (*UnimplementedMsgServer) UploadInvestor(ctx context.Context, req *MsgUploadInvestor) (*MsgUploadInvestorResponse, error)
type UnimplementedQueryServer ¶
type UnimplementedQueryServer struct { }
UnimplementedQueryServer can be embedded to have forward compatible implementations.
func (*UnimplementedQueryServer) ListAllProjects ¶ added in v0.1.0
func (*UnimplementedQueryServer) ListAllProjects(ctx context.Context, req *ListAllProjectsRequest) (*ListAllProjectsResponse, error)
func (*UnimplementedQueryServer) ListInvestors ¶
func (*UnimplementedQueryServer) ListInvestors(ctx context.Context, req *ListInvestorsRequest) (*ListInvestorsResponse, error)
func (*UnimplementedQueryServer) Params ¶
func (*UnimplementedQueryServer) Params(ctx context.Context, req *QueryParamsRequest) (*QueryParamsResponse, error)
func (*UnimplementedQueryServer) QueryByWallet ¶
func (*UnimplementedQueryServer) QueryByWallet(ctx context.Context, req *QueryByWalletRequest) (*QueryByWalletResponse, error)
func (*UnimplementedQueryServer) QueryInvestorWallets ¶
func (*UnimplementedQueryServer) QueryInvestorWallets(ctx context.Context, req *QueryInvestorWalletsRequest) (*QueryInvestorWalletsResponse, error)
func (*UnimplementedQueryServer) QueryProject ¶ added in v0.1.0
func (*UnimplementedQueryServer) QueryProject(ctx context.Context, req *QueryProjectRequest) (*QueryProjectResponse, error)