Documentation ¶
Overview ¶
Package types is a reverse proxy.
It translates gRPC into RESTful JSON APIs.
Index ¶
- Constants
- Variables
- func GetKeyPrefixProject(projectId uint64) []byte
- func KeyPrefix(p string) []byte
- func NewSetProjectVerifiedProposal(title, description, projectOwner string, projectId uint64) govtypes.Content
- 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)
- type AccountKeeper
- type BankKeeper
- type GenesisState
- func (*GenesisState) Descriptor() ([]byte, []int)
- func (m *GenesisState) GetGlobalProjectIdStart() uint64
- func (m *GenesisState) GetParams() Params
- func (m *GenesisState) GetProjects() []*Project
- 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 LaunchpadHooks
- type MsgClient
- type MsgCreateProjectRequest
- func (*MsgCreateProjectRequest) Descriptor() ([]byte, []int)
- func (m *MsgCreateProjectRequest) GetOwner() string
- func (m *MsgCreateProjectRequest) GetProjectInformation() string
- func (m *MsgCreateProjectRequest) GetProjectTitle() string
- func (msg *MsgCreateProjectRequest) GetSignBytes() []byte
- func (msg *MsgCreateProjectRequest) GetSigners() []sdk.AccAddress
- func (m *MsgCreateProjectRequest) Marshal() (dAtA []byte, err error)
- func (m *MsgCreateProjectRequest) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgCreateProjectRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgCreateProjectRequest) ProtoMessage()
- func (m *MsgCreateProjectRequest) Reset()
- func (msg *MsgCreateProjectRequest) Route() string
- func (m *MsgCreateProjectRequest) Size() (n int)
- func (m *MsgCreateProjectRequest) String() string
- func (msg *MsgCreateProjectRequest) Type() string
- func (m *MsgCreateProjectRequest) Unmarshal(dAtA []byte) error
- func (msg *MsgCreateProjectRequest) ValidateBasic() error
- func (m *MsgCreateProjectRequest) XXX_DiscardUnknown()
- func (m *MsgCreateProjectRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgCreateProjectRequest) XXX_Merge(src proto.Message)
- func (m *MsgCreateProjectRequest) XXX_Size() int
- func (m *MsgCreateProjectRequest) XXX_Unmarshal(b []byte) error
- type MsgCreateProjectResponse
- func (*MsgCreateProjectResponse) Descriptor() ([]byte, []int)
- func (m *MsgCreateProjectResponse) GetProjectId() uint64
- 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 MsgDeleteProjectRequest
- func (*MsgDeleteProjectRequest) Descriptor() ([]byte, []int)
- func (m *MsgDeleteProjectRequest) GetOwner() string
- func (m *MsgDeleteProjectRequest) GetProjectId() uint64
- func (msg *MsgDeleteProjectRequest) GetSignBytes() []byte
- func (msg *MsgDeleteProjectRequest) GetSigners() []sdk.AccAddress
- func (m *MsgDeleteProjectRequest) Marshal() (dAtA []byte, err error)
- func (m *MsgDeleteProjectRequest) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgDeleteProjectRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgDeleteProjectRequest) ProtoMessage()
- func (m *MsgDeleteProjectRequest) Reset()
- func (msg *MsgDeleteProjectRequest) Route() string
- func (m *MsgDeleteProjectRequest) Size() (n int)
- func (m *MsgDeleteProjectRequest) String() string
- func (msg *MsgDeleteProjectRequest) Type() string
- func (m *MsgDeleteProjectRequest) Unmarshal(dAtA []byte) error
- func (msg *MsgDeleteProjectRequest) ValidateBasic() error
- func (m *MsgDeleteProjectRequest) XXX_DiscardUnknown()
- func (m *MsgDeleteProjectRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgDeleteProjectRequest) XXX_Merge(src proto.Message)
- func (m *MsgDeleteProjectRequest) XXX_Size() int
- func (m *MsgDeleteProjectRequest) XXX_Unmarshal(b []byte) error
- type MsgDeleteProjectResponse
- func (*MsgDeleteProjectResponse) Descriptor() ([]byte, []int)
- func (m *MsgDeleteProjectResponse) Marshal() (dAtA []byte, err error)
- func (m *MsgDeleteProjectResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgDeleteProjectResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgDeleteProjectResponse) ProtoMessage()
- func (m *MsgDeleteProjectResponse) Reset()
- func (m *MsgDeleteProjectResponse) Size() (n int)
- func (m *MsgDeleteProjectResponse) String() string
- func (m *MsgDeleteProjectResponse) Unmarshal(dAtA []byte) error
- func (m *MsgDeleteProjectResponse) XXX_DiscardUnknown()
- func (m *MsgDeleteProjectResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgDeleteProjectResponse) XXX_Merge(src proto.Message)
- func (m *MsgDeleteProjectResponse) XXX_Size() int
- func (m *MsgDeleteProjectResponse) XXX_Unmarshal(b []byte) error
- type MsgServer
- type MsgWithdrawAllTokensRequest
- func (*MsgWithdrawAllTokensRequest) Descriptor() ([]byte, []int)
- func (m *MsgWithdrawAllTokensRequest) GetOwner() string
- func (m *MsgWithdrawAllTokensRequest) GetProjectId() uint64
- func (msg *MsgWithdrawAllTokensRequest) GetSignBytes() []byte
- func (msg *MsgWithdrawAllTokensRequest) GetSigners() []sdk.AccAddress
- func (m *MsgWithdrawAllTokensRequest) Marshal() (dAtA []byte, err error)
- func (m *MsgWithdrawAllTokensRequest) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgWithdrawAllTokensRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgWithdrawAllTokensRequest) ProtoMessage()
- func (m *MsgWithdrawAllTokensRequest) Reset()
- func (msg *MsgWithdrawAllTokensRequest) Route() string
- func (m *MsgWithdrawAllTokensRequest) Size() (n int)
- func (m *MsgWithdrawAllTokensRequest) String() string
- func (msg *MsgWithdrawAllTokensRequest) Type() string
- func (m *MsgWithdrawAllTokensRequest) Unmarshal(dAtA []byte) error
- func (msg *MsgWithdrawAllTokensRequest) ValidateBasic() error
- func (m *MsgWithdrawAllTokensRequest) XXX_DiscardUnknown()
- func (m *MsgWithdrawAllTokensRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgWithdrawAllTokensRequest) XXX_Merge(src proto.Message)
- func (m *MsgWithdrawAllTokensRequest) XXX_Size() int
- func (m *MsgWithdrawAllTokensRequest) XXX_Unmarshal(b []byte) error
- type MsgWithdrawAllTokensResponse
- func (*MsgWithdrawAllTokensResponse) Descriptor() ([]byte, []int)
- func (m *MsgWithdrawAllTokensResponse) Marshal() (dAtA []byte, err error)
- func (m *MsgWithdrawAllTokensResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgWithdrawAllTokensResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgWithdrawAllTokensResponse) ProtoMessage()
- func (m *MsgWithdrawAllTokensResponse) Reset()
- func (m *MsgWithdrawAllTokensResponse) Size() (n int)
- func (m *MsgWithdrawAllTokensResponse) String() string
- func (m *MsgWithdrawAllTokensResponse) Unmarshal(dAtA []byte) error
- func (m *MsgWithdrawAllTokensResponse) XXX_DiscardUnknown()
- func (m *MsgWithdrawAllTokensResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgWithdrawAllTokensResponse) XXX_Merge(src proto.Message)
- func (m *MsgWithdrawAllTokensResponse) XXX_Size() int
- func (m *MsgWithdrawAllTokensResponse) XXX_Unmarshal(b []byte) error
- type MultiLaunchpadHooks
- type Params
- func (*Params) Descriptor() ([]byte, []int)
- func (m *Params) Marshal() (dAtA []byte, err error)
- func (m *Params) MarshalTo(dAtA []byte) (int, error)
- func (m *Params) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (p *Params) ParamSetPairs() paramtypes.ParamSetPairs
- func (*Params) ProtoMessage()
- func (m *Params) Reset()
- func (m *Params) Size() (n int)
- func (p 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 Project
- func (*Project) Descriptor() ([]byte, []int)
- func (m *Project) GetProjectAddress() string
- func (m *Project) GetProjectId() uint64
- func (m *Project) GetProjectInformation() string
- func (m *Project) GetProjectOwner() string
- func (m *Project) GetProjectStatus() uint64
- func (m *Project) GetProjectTitle() string
- func (m *Project) GetProjectVerified() bool
- func (m *Project) GetRegisteredRm() []*types.Any
- func (m *Project) Marshal() (dAtA []byte, err error)
- func (m *Project) MarshalTo(dAtA []byte) (int, error)
- func (m *Project) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*Project) ProtoMessage()
- func (m *Project) Reset()
- func (m *Project) Size() (n int)
- func (m *Project) String() string
- func (m *Project) Unmarshal(dAtA []byte) error
- func (m *Project) XXX_DiscardUnknown()
- func (m *Project) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *Project) XXX_Merge(src proto.Message)
- func (m *Project) XXX_Size() int
- func (m *Project) XXX_Unmarshal(b []byte) error
- type ProjectBalancesRequest
- func (*ProjectBalancesRequest) Descriptor() ([]byte, []int)
- func (m *ProjectBalancesRequest) GetProjectId() uint64
- func (m *ProjectBalancesRequest) Marshal() (dAtA []byte, err error)
- func (m *ProjectBalancesRequest) MarshalTo(dAtA []byte) (int, error)
- func (m *ProjectBalancesRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*ProjectBalancesRequest) ProtoMessage()
- func (m *ProjectBalancesRequest) Reset()
- func (m *ProjectBalancesRequest) Size() (n int)
- func (m *ProjectBalancesRequest) String() string
- func (m *ProjectBalancesRequest) Unmarshal(dAtA []byte) error
- func (m *ProjectBalancesRequest) XXX_DiscardUnknown()
- func (m *ProjectBalancesRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *ProjectBalancesRequest) XXX_Merge(src proto.Message)
- func (m *ProjectBalancesRequest) XXX_Size() int
- func (m *ProjectBalancesRequest) XXX_Unmarshal(b []byte) error
- type ProjectBalancesResponse
- func (*ProjectBalancesResponse) Descriptor() ([]byte, []int)
- func (m *ProjectBalancesResponse) GetBalances() github_com_cosmos_cosmos_sdk_types.Coins
- func (m *ProjectBalancesResponse) Marshal() (dAtA []byte, err error)
- func (m *ProjectBalancesResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *ProjectBalancesResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*ProjectBalancesResponse) ProtoMessage()
- func (m *ProjectBalancesResponse) Reset()
- func (m *ProjectBalancesResponse) Size() (n int)
- func (m *ProjectBalancesResponse) String() string
- func (m *ProjectBalancesResponse) Unmarshal(dAtA []byte) error
- func (m *ProjectBalancesResponse) XXX_DiscardUnknown()
- func (m *ProjectBalancesResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *ProjectBalancesResponse) XXX_Merge(src proto.Message)
- func (m *ProjectBalancesResponse) XXX_Size() int
- func (m *ProjectBalancesResponse) XXX_Unmarshal(b []byte) error
- type ProjectRequest
- func (*ProjectRequest) Descriptor() ([]byte, []int)
- func (m *ProjectRequest) GetProjectId() uint64
- func (m *ProjectRequest) Marshal() (dAtA []byte, err error)
- func (m *ProjectRequest) MarshalTo(dAtA []byte) (int, error)
- func (m *ProjectRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*ProjectRequest) ProtoMessage()
- func (m *ProjectRequest) Reset()
- func (m *ProjectRequest) Size() (n int)
- func (m *ProjectRequest) String() string
- func (m *ProjectRequest) Unmarshal(dAtA []byte) error
- func (m *ProjectRequest) XXX_DiscardUnknown()
- func (m *ProjectRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *ProjectRequest) XXX_Merge(src proto.Message)
- func (m *ProjectRequest) XXX_Size() int
- func (m *ProjectRequest) XXX_Unmarshal(b []byte) error
- type ProjectResponse
- func (*ProjectResponse) Descriptor() ([]byte, []int)
- func (m *ProjectResponse) GetProject() *Project
- func (m *ProjectResponse) Marshal() (dAtA []byte, err error)
- func (m *ProjectResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *ProjectResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*ProjectResponse) ProtoMessage()
- func (m *ProjectResponse) Reset()
- func (m *ProjectResponse) Size() (n int)
- func (m *ProjectResponse) String() string
- func (m *ProjectResponse) Unmarshal(dAtA []byte) error
- func (m *ProjectResponse) XXX_DiscardUnknown()
- func (m *ProjectResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *ProjectResponse) XXX_Merge(src proto.Message)
- func (m *ProjectResponse) XXX_Size() int
- func (m *ProjectResponse) XXX_Unmarshal(b []byte) error
- 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 QueryServer
- type ReleaseMechanismI
- type SetProjectVerifiedProposal
- func (*SetProjectVerifiedProposal) Descriptor() ([]byte, []int)
- func (this *SetProjectVerifiedProposal) Equal(that interface{}) bool
- func (p *SetProjectVerifiedProposal) GetDescription() string
- func (p *SetProjectVerifiedProposal) GetTitle() string
- func (m *SetProjectVerifiedProposal) Marshal() (dAtA []byte, err error)
- func (m *SetProjectVerifiedProposal) MarshalTo(dAtA []byte) (int, error)
- func (m *SetProjectVerifiedProposal) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (p *SetProjectVerifiedProposal) ProposalRoute() string
- func (p *SetProjectVerifiedProposal) ProposalType() string
- func (*SetProjectVerifiedProposal) ProtoMessage()
- func (m *SetProjectVerifiedProposal) Reset()
- func (m *SetProjectVerifiedProposal) Size() (n int)
- func (p SetProjectVerifiedProposal) String() string
- func (m *SetProjectVerifiedProposal) Unmarshal(dAtA []byte) error
- func (p *SetProjectVerifiedProposal) ValidateBasic() error
- func (m *SetProjectVerifiedProposal) XXX_DiscardUnknown()
- func (m *SetProjectVerifiedProposal) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *SetProjectVerifiedProposal) XXX_Merge(src proto.Message)
- func (m *SetProjectVerifiedProposal) XXX_Size() int
- func (m *SetProjectVerifiedProposal) XXX_Unmarshal(b []byte) error
- type TotalProjectRequest
- func (*TotalProjectRequest) Descriptor() ([]byte, []int)
- func (m *TotalProjectRequest) GetPagination() *query.PageRequest
- func (m *TotalProjectRequest) Marshal() (dAtA []byte, err error)
- func (m *TotalProjectRequest) MarshalTo(dAtA []byte) (int, error)
- func (m *TotalProjectRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*TotalProjectRequest) ProtoMessage()
- func (m *TotalProjectRequest) Reset()
- func (m *TotalProjectRequest) Size() (n int)
- func (m *TotalProjectRequest) String() string
- func (m *TotalProjectRequest) Unmarshal(dAtA []byte) error
- func (m *TotalProjectRequest) XXX_DiscardUnknown()
- func (m *TotalProjectRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *TotalProjectRequest) XXX_Merge(src proto.Message)
- func (m *TotalProjectRequest) XXX_Size() int
- func (m *TotalProjectRequest) XXX_Unmarshal(b []byte) error
- type TotalProjectResponse
- func (*TotalProjectResponse) Descriptor() ([]byte, []int)
- func (m *TotalProjectResponse) GetPagination() *query.PageResponse
- func (m *TotalProjectResponse) GetProjects() []Project
- func (m *TotalProjectResponse) Marshal() (dAtA []byte, err error)
- func (m *TotalProjectResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *TotalProjectResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*TotalProjectResponse) ProtoMessage()
- func (m *TotalProjectResponse) Reset()
- func (m *TotalProjectResponse) Size() (n int)
- func (m *TotalProjectResponse) String() string
- func (m *TotalProjectResponse) Unmarshal(dAtA []byte) error
- func (m *TotalProjectResponse) XXX_DiscardUnknown()
- func (m *TotalProjectResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *TotalProjectResponse) XXX_Merge(src proto.Message)
- func (m *TotalProjectResponse) XXX_Size() int
- func (m *TotalProjectResponse) XXX_Unmarshal(b []byte) error
- type UnimplementedMsgServer
- func (*UnimplementedMsgServer) CreateProject(ctx context.Context, req *MsgCreateProjectRequest) (*MsgCreateProjectResponse, error)
- func (*UnimplementedMsgServer) DeleteProject(ctx context.Context, req *MsgDeleteProjectRequest) (*MsgDeleteProjectResponse, error)
- func (*UnimplementedMsgServer) WithdrawAllTokens(ctx context.Context, req *MsgWithdrawAllTokensRequest) (*MsgWithdrawAllTokensResponse, error)
- type UnimplementedQueryServer
- func (*UnimplementedQueryServer) Params(ctx context.Context, req *QueryParamsRequest) (*QueryParamsResponse, error)
- func (*UnimplementedQueryServer) Project(ctx context.Context, req *ProjectRequest) (*ProjectResponse, error)
- func (*UnimplementedQueryServer) ProjectBalances(ctx context.Context, req *ProjectBalancesRequest) (*ProjectBalancesResponse, error)
- func (*UnimplementedQueryServer) TotalProject(ctx context.Context, req *TotalProjectRequest) (*TotalProjectResponse, error)
Constants ¶
const ( TypeProjectCreated = "project_created" TypeProjectDeleted = "project_deleted" TypeWithdrawTokens = "withdraw_tokens" TypeSetProjectVerified = "set_project_verified" AttributeValueCategory = ModuleName AttributeProjectID = "project_id" AttributeProjectAddress = "project_address" )
const ( PROJECT_INIT = uint64(0) PROJECT_ACTIVE = uint64(1) PROJECT_ENDED = uint64(2) )
const ( // ModuleName defines the module name ModuleName = "launchpad" // StoreKey defines the primary module store key StoreKey = ModuleName // RouterKey is the message route for slashing RouterKey = ModuleName // QuerierRoute defines the module's query routing key QuerierRoute = ModuleName // MemStoreKey defines the in-memory store key MemStoreKey = "mem_launchpad" )
const DefaultIndex uint64 = 1
DefaultIndex is the default capability global index
const (
ProposalTypeSetProjectVerifiedProposal = "SetProjectVerifiedProposal"
)
const (
TypeMsgCreateProjectRequest = "create_project"
)
msg types
const (
TypeMsgDeleteProjectRequest = "delete_project"
)
msg types
const (
TypeMsgWithdrawAllTokensRequest = "withdraw_all_tokens"
)
msg types
Variables ¶
var ( Amino = codec.NewLegacyAmino() ModuleCdc = codec.NewProtoCodec(cdctypes.NewInterfaceRegistry()) )
var ( ErrSample = sdkerrors.Register(ModuleName, 1100, "sample error") ErrInvalidProject = sdkerrors.Register(ModuleName, 1, "attempting to create an invalid project") ErrGenesisProjectIDDoesNotMatchProjectArray = sdkerrors.Register(ModuleName, 2, "attempting to init genesis with unequal project array length and GlobalProjectIdStart") ErrCannotModifyProject = sdkerrors.Register(ModuleName, 3, "cannot modify an active project") ErrCannotWithdrawTokens = sdkerrors.Register(ModuleName, 4, "not allowed to withdraw tokens") ErrCannotRegisterRm = sdkerrors.Register(ModuleName, 5, "not allowed to register release mechanism") ErrNotProjecOwner = sdkerrors.Register(ModuleName, 6, "not project owner") ErrCannotDeleteProject = sdkerrors.Register(ModuleName, 7, "not allowed to delete project") ErrNotImplemented = sdkerrors.Register(ModuleName, 60, "function not implemented") ErrProjectNotFound = sdkerrors.Register(ModuleName, 404, "project not found") )
x/launchpad 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 ( ErrInvalidLengthGov = fmt.Errorf("proto: negative length found during unmarshaling") ErrIntOverflowGov = fmt.Errorf("proto: integer overflow") ErrUnexpectedEndOfGroupGov = fmt.Errorf("proto: unexpected end of group") )
var ( // KeyNextGlobalPoolNumber defines key to store the next Pool ID to be used. KeyNextGlobalProjectID = []byte{0x01} // KeyPrefixProject defines prefix to store projects. KeyPrefixProject = []byte{0x02} )
var ( ErrInvalidLengthParams = fmt.Errorf("proto: negative length found during unmarshaling") ErrIntOverflowParams = fmt.Errorf("proto: integer overflow") ErrUnexpectedEndOfGroupParams = fmt.Errorf("proto: unexpected end of group") )
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 ( RM_INIT = uint64(0) RM_ACTIVE = uint64(1) RM_ENDED = uint64(2) )
Functions ¶
func GetKeyPrefixProject ¶
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)
Types ¶
type AccountKeeper ¶
type AccountKeeper interface { NewAccount(sdk.Context, authtypes.AccountI) authtypes.AccountI SetAccount(ctx sdk.Context, acc authtypes.AccountI) GetModuleAddress(name string) sdk.AccAddress SetModuleAccount(ctx sdk.Context, macc authtypes.ModuleAccountI) RemoveAccount(ctx sdk.Context, acc authtypes.AccountI) GetAccount(ctx sdk.Context, addr sdk.AccAddress) authtypes.AccountI }
AccountKeeper defines the expected account keeper used for simulations (noalias)
type BankKeeper ¶
type BankKeeper interface { SpendableCoins(ctx sdk.Context, addr sdk.AccAddress) sdk.Coins GetAllBalances(ctx sdk.Context, addr sdk.AccAddress) sdk.Coins SendCoins(ctx sdk.Context, fromAddr sdk.AccAddress, toAddr sdk.AccAddress, amt sdk.Coins) error }
BankKeeper defines the expected interface needed to retrieve account balances.
type GenesisState ¶
type GenesisState struct { Params Params `protobuf:"bytes,1,opt,name=params,proto3" json:"params"` // initial Project at genesis Projects []*Project `protobuf:"bytes,2,rep,name=projects,proto3" json:"projects,omitempty"` // global project id. The start of global project id will start from the number of project at genesis. GlobalProjectIdStart uint64 `` /* 126-byte string literal not displayed */ }
GenesisState defines the launchpad module's genesis state.
func DefaultGenesis ¶
func DefaultGenesis() *GenesisState
DefaultGenesis returns the default Capability genesis state
func (*GenesisState) Descriptor ¶
func (*GenesisState) Descriptor() ([]byte, []int)
func (*GenesisState) GetGlobalProjectIdStart ¶
func (m *GenesisState) GetGlobalProjectIdStart() uint64
func (*GenesisState) GetParams ¶
func (m *GenesisState) GetParams() Params
func (*GenesisState) GetProjects ¶
func (m *GenesisState) GetProjects() []*Project
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
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 LaunchpadHooks ¶
type MsgClient ¶
type MsgClient interface { CreateProject(ctx context.Context, in *MsgCreateProjectRequest, opts ...grpc.CallOption) (*MsgCreateProjectResponse, error) DeleteProject(ctx context.Context, in *MsgDeleteProjectRequest, opts ...grpc.CallOption) (*MsgDeleteProjectResponse, error) WithdrawAllTokens(ctx context.Context, in *MsgWithdrawAllTokensRequest, opts ...grpc.CallOption) (*MsgWithdrawAllTokensResponse, 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 MsgCreateProjectRequest ¶
type MsgCreateProjectRequest struct { // owner of this project Owner string `protobuf:"bytes,1,opt,name=owner,proto3" json:"owner,omitempty" yaml:"owner"` // the title of project ProjectTitle string `protobuf:"bytes,2,opt,name=project_title,json=projectTitle,proto3" json:"project_title,omitempty" yaml:"project_title"` // Project information ProjectInformation string `` /* 142-byte string literal not displayed */ }
func NewMsgCreateProjectRequest ¶
func NewMsgCreateProjectRequest(owner string, title string, information string) *MsgCreateProjectRequest
func (*MsgCreateProjectRequest) Descriptor ¶
func (*MsgCreateProjectRequest) Descriptor() ([]byte, []int)
func (*MsgCreateProjectRequest) GetOwner ¶
func (m *MsgCreateProjectRequest) GetOwner() string
func (*MsgCreateProjectRequest) GetProjectInformation ¶
func (m *MsgCreateProjectRequest) GetProjectInformation() string
func (*MsgCreateProjectRequest) GetProjectTitle ¶
func (m *MsgCreateProjectRequest) GetProjectTitle() string
func (*MsgCreateProjectRequest) GetSignBytes ¶
func (msg *MsgCreateProjectRequest) GetSignBytes() []byte
func (*MsgCreateProjectRequest) GetSigners ¶
func (msg *MsgCreateProjectRequest) GetSigners() []sdk.AccAddress
func (*MsgCreateProjectRequest) Marshal ¶
func (m *MsgCreateProjectRequest) Marshal() (dAtA []byte, err error)
func (*MsgCreateProjectRequest) MarshalTo ¶
func (m *MsgCreateProjectRequest) MarshalTo(dAtA []byte) (int, error)
func (*MsgCreateProjectRequest) MarshalToSizedBuffer ¶
func (m *MsgCreateProjectRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MsgCreateProjectRequest) ProtoMessage ¶
func (*MsgCreateProjectRequest) ProtoMessage()
func (*MsgCreateProjectRequest) Reset ¶
func (m *MsgCreateProjectRequest) Reset()
func (*MsgCreateProjectRequest) Route ¶
func (msg *MsgCreateProjectRequest) Route() string
func (*MsgCreateProjectRequest) Size ¶
func (m *MsgCreateProjectRequest) Size() (n int)
func (*MsgCreateProjectRequest) String ¶
func (m *MsgCreateProjectRequest) String() string
func (*MsgCreateProjectRequest) Type ¶
func (msg *MsgCreateProjectRequest) Type() string
func (*MsgCreateProjectRequest) Unmarshal ¶
func (m *MsgCreateProjectRequest) Unmarshal(dAtA []byte) error
func (*MsgCreateProjectRequest) ValidateBasic ¶
func (msg *MsgCreateProjectRequest) ValidateBasic() error
func (*MsgCreateProjectRequest) XXX_DiscardUnknown ¶
func (m *MsgCreateProjectRequest) XXX_DiscardUnknown()
func (*MsgCreateProjectRequest) XXX_Marshal ¶
func (m *MsgCreateProjectRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MsgCreateProjectRequest) XXX_Merge ¶
func (m *MsgCreateProjectRequest) XXX_Merge(src proto.Message)
func (*MsgCreateProjectRequest) XXX_Size ¶
func (m *MsgCreateProjectRequest) XXX_Size() int
func (*MsgCreateProjectRequest) XXX_Unmarshal ¶
func (m *MsgCreateProjectRequest) XXX_Unmarshal(b []byte) error
type MsgCreateProjectResponse ¶
type MsgCreateProjectResponse struct {
ProjectId uint64 `protobuf:"varint,1,opt,name=project_id,json=projectId,proto3" json:"project_id,omitempty" yaml:"project_id"`
}
func (*MsgCreateProjectResponse) Descriptor ¶
func (*MsgCreateProjectResponse) Descriptor() ([]byte, []int)
func (*MsgCreateProjectResponse) GetProjectId ¶
func (m *MsgCreateProjectResponse) GetProjectId() uint64
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 MsgDeleteProjectRequest ¶
type MsgDeleteProjectRequest struct { // owner of this project Owner string `protobuf:"bytes,1,opt,name=owner,proto3" json:"owner,omitempty" yaml:"owner"` ProjectId uint64 `protobuf:"varint,2,opt,name=project_id,json=projectId,proto3" json:"project_id,omitempty" yaml:"project_id"` }
func NewMsgDeleteProjectRequest ¶
func NewMsgDeleteProjectRequest(owner string, id uint64) *MsgDeleteProjectRequest
func (*MsgDeleteProjectRequest) Descriptor ¶
func (*MsgDeleteProjectRequest) Descriptor() ([]byte, []int)
func (*MsgDeleteProjectRequest) GetOwner ¶
func (m *MsgDeleteProjectRequest) GetOwner() string
func (*MsgDeleteProjectRequest) GetProjectId ¶
func (m *MsgDeleteProjectRequest) GetProjectId() uint64
func (*MsgDeleteProjectRequest) GetSignBytes ¶
func (msg *MsgDeleteProjectRequest) GetSignBytes() []byte
func (*MsgDeleteProjectRequest) GetSigners ¶
func (msg *MsgDeleteProjectRequest) GetSigners() []sdk.AccAddress
func (*MsgDeleteProjectRequest) Marshal ¶
func (m *MsgDeleteProjectRequest) Marshal() (dAtA []byte, err error)
func (*MsgDeleteProjectRequest) MarshalTo ¶
func (m *MsgDeleteProjectRequest) MarshalTo(dAtA []byte) (int, error)
func (*MsgDeleteProjectRequest) MarshalToSizedBuffer ¶
func (m *MsgDeleteProjectRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MsgDeleteProjectRequest) ProtoMessage ¶
func (*MsgDeleteProjectRequest) ProtoMessage()
func (*MsgDeleteProjectRequest) Reset ¶
func (m *MsgDeleteProjectRequest) Reset()
func (*MsgDeleteProjectRequest) Route ¶
func (msg *MsgDeleteProjectRequest) Route() string
func (*MsgDeleteProjectRequest) Size ¶
func (m *MsgDeleteProjectRequest) Size() (n int)
func (*MsgDeleteProjectRequest) String ¶
func (m *MsgDeleteProjectRequest) String() string
func (*MsgDeleteProjectRequest) Type ¶
func (msg *MsgDeleteProjectRequest) Type() string
func (*MsgDeleteProjectRequest) Unmarshal ¶
func (m *MsgDeleteProjectRequest) Unmarshal(dAtA []byte) error
func (*MsgDeleteProjectRequest) ValidateBasic ¶
func (msg *MsgDeleteProjectRequest) ValidateBasic() error
func (*MsgDeleteProjectRequest) XXX_DiscardUnknown ¶
func (m *MsgDeleteProjectRequest) XXX_DiscardUnknown()
func (*MsgDeleteProjectRequest) XXX_Marshal ¶
func (m *MsgDeleteProjectRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MsgDeleteProjectRequest) XXX_Merge ¶
func (m *MsgDeleteProjectRequest) XXX_Merge(src proto.Message)
func (*MsgDeleteProjectRequest) XXX_Size ¶
func (m *MsgDeleteProjectRequest) XXX_Size() int
func (*MsgDeleteProjectRequest) XXX_Unmarshal ¶
func (m *MsgDeleteProjectRequest) XXX_Unmarshal(b []byte) error
type MsgDeleteProjectResponse ¶
type MsgDeleteProjectResponse struct { }
func (*MsgDeleteProjectResponse) Descriptor ¶
func (*MsgDeleteProjectResponse) Descriptor() ([]byte, []int)
func (*MsgDeleteProjectResponse) Marshal ¶
func (m *MsgDeleteProjectResponse) Marshal() (dAtA []byte, err error)
func (*MsgDeleteProjectResponse) MarshalTo ¶
func (m *MsgDeleteProjectResponse) MarshalTo(dAtA []byte) (int, error)
func (*MsgDeleteProjectResponse) MarshalToSizedBuffer ¶
func (m *MsgDeleteProjectResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MsgDeleteProjectResponse) ProtoMessage ¶
func (*MsgDeleteProjectResponse) ProtoMessage()
func (*MsgDeleteProjectResponse) Reset ¶
func (m *MsgDeleteProjectResponse) Reset()
func (*MsgDeleteProjectResponse) Size ¶
func (m *MsgDeleteProjectResponse) Size() (n int)
func (*MsgDeleteProjectResponse) String ¶
func (m *MsgDeleteProjectResponse) String() string
func (*MsgDeleteProjectResponse) Unmarshal ¶
func (m *MsgDeleteProjectResponse) Unmarshal(dAtA []byte) error
func (*MsgDeleteProjectResponse) XXX_DiscardUnknown ¶
func (m *MsgDeleteProjectResponse) XXX_DiscardUnknown()
func (*MsgDeleteProjectResponse) XXX_Marshal ¶
func (m *MsgDeleteProjectResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MsgDeleteProjectResponse) XXX_Merge ¶
func (m *MsgDeleteProjectResponse) XXX_Merge(src proto.Message)
func (*MsgDeleteProjectResponse) XXX_Size ¶
func (m *MsgDeleteProjectResponse) XXX_Size() int
func (*MsgDeleteProjectResponse) XXX_Unmarshal ¶
func (m *MsgDeleteProjectResponse) XXX_Unmarshal(b []byte) error
type MsgServer ¶
type MsgServer interface { CreateProject(context.Context, *MsgCreateProjectRequest) (*MsgCreateProjectResponse, error) DeleteProject(context.Context, *MsgDeleteProjectRequest) (*MsgDeleteProjectResponse, error) WithdrawAllTokens(context.Context, *MsgWithdrawAllTokensRequest) (*MsgWithdrawAllTokensResponse, error) }
MsgServer is the server API for Msg service.
type MsgWithdrawAllTokensRequest ¶
type MsgWithdrawAllTokensRequest struct { // owner of this project Owner string `protobuf:"bytes,1,opt,name=owner,proto3" json:"owner,omitempty" yaml:"owner"` ProjectId uint64 `protobuf:"varint,2,opt,name=project_id,json=projectId,proto3" json:"project_id,omitempty" yaml:"project_id"` }
func NewMsgWithdrawAllTokensRequest ¶
func NewMsgWithdrawAllTokensRequest(owner string, id uint64) *MsgWithdrawAllTokensRequest
func (*MsgWithdrawAllTokensRequest) Descriptor ¶
func (*MsgWithdrawAllTokensRequest) Descriptor() ([]byte, []int)
func (*MsgWithdrawAllTokensRequest) GetOwner ¶
func (m *MsgWithdrawAllTokensRequest) GetOwner() string
func (*MsgWithdrawAllTokensRequest) GetProjectId ¶
func (m *MsgWithdrawAllTokensRequest) GetProjectId() uint64
func (*MsgWithdrawAllTokensRequest) GetSignBytes ¶
func (msg *MsgWithdrawAllTokensRequest) GetSignBytes() []byte
func (*MsgWithdrawAllTokensRequest) GetSigners ¶
func (msg *MsgWithdrawAllTokensRequest) GetSigners() []sdk.AccAddress
func (*MsgWithdrawAllTokensRequest) Marshal ¶
func (m *MsgWithdrawAllTokensRequest) Marshal() (dAtA []byte, err error)
func (*MsgWithdrawAllTokensRequest) MarshalTo ¶
func (m *MsgWithdrawAllTokensRequest) MarshalTo(dAtA []byte) (int, error)
func (*MsgWithdrawAllTokensRequest) MarshalToSizedBuffer ¶
func (m *MsgWithdrawAllTokensRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MsgWithdrawAllTokensRequest) ProtoMessage ¶
func (*MsgWithdrawAllTokensRequest) ProtoMessage()
func (*MsgWithdrawAllTokensRequest) Reset ¶
func (m *MsgWithdrawAllTokensRequest) Reset()
func (*MsgWithdrawAllTokensRequest) Route ¶
func (msg *MsgWithdrawAllTokensRequest) Route() string
func (*MsgWithdrawAllTokensRequest) Size ¶
func (m *MsgWithdrawAllTokensRequest) Size() (n int)
func (*MsgWithdrawAllTokensRequest) String ¶
func (m *MsgWithdrawAllTokensRequest) String() string
func (*MsgWithdrawAllTokensRequest) Type ¶
func (msg *MsgWithdrawAllTokensRequest) Type() string
func (*MsgWithdrawAllTokensRequest) Unmarshal ¶
func (m *MsgWithdrawAllTokensRequest) Unmarshal(dAtA []byte) error
func (*MsgWithdrawAllTokensRequest) ValidateBasic ¶
func (msg *MsgWithdrawAllTokensRequest) ValidateBasic() error
func (*MsgWithdrawAllTokensRequest) XXX_DiscardUnknown ¶
func (m *MsgWithdrawAllTokensRequest) XXX_DiscardUnknown()
func (*MsgWithdrawAllTokensRequest) XXX_Marshal ¶
func (m *MsgWithdrawAllTokensRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MsgWithdrawAllTokensRequest) XXX_Merge ¶
func (m *MsgWithdrawAllTokensRequest) XXX_Merge(src proto.Message)
func (*MsgWithdrawAllTokensRequest) XXX_Size ¶
func (m *MsgWithdrawAllTokensRequest) XXX_Size() int
func (*MsgWithdrawAllTokensRequest) XXX_Unmarshal ¶
func (m *MsgWithdrawAllTokensRequest) XXX_Unmarshal(b []byte) error
type MsgWithdrawAllTokensResponse ¶
type MsgWithdrawAllTokensResponse struct { }
func (*MsgWithdrawAllTokensResponse) Descriptor ¶
func (*MsgWithdrawAllTokensResponse) Descriptor() ([]byte, []int)
func (*MsgWithdrawAllTokensResponse) Marshal ¶
func (m *MsgWithdrawAllTokensResponse) Marshal() (dAtA []byte, err error)
func (*MsgWithdrawAllTokensResponse) MarshalTo ¶
func (m *MsgWithdrawAllTokensResponse) MarshalTo(dAtA []byte) (int, error)
func (*MsgWithdrawAllTokensResponse) MarshalToSizedBuffer ¶
func (m *MsgWithdrawAllTokensResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MsgWithdrawAllTokensResponse) ProtoMessage ¶
func (*MsgWithdrawAllTokensResponse) ProtoMessage()
func (*MsgWithdrawAllTokensResponse) Reset ¶
func (m *MsgWithdrawAllTokensResponse) Reset()
func (*MsgWithdrawAllTokensResponse) Size ¶
func (m *MsgWithdrawAllTokensResponse) Size() (n int)
func (*MsgWithdrawAllTokensResponse) String ¶
func (m *MsgWithdrawAllTokensResponse) String() string
func (*MsgWithdrawAllTokensResponse) Unmarshal ¶
func (m *MsgWithdrawAllTokensResponse) Unmarshal(dAtA []byte) error
func (*MsgWithdrawAllTokensResponse) XXX_DiscardUnknown ¶
func (m *MsgWithdrawAllTokensResponse) XXX_DiscardUnknown()
func (*MsgWithdrawAllTokensResponse) XXX_Marshal ¶
func (m *MsgWithdrawAllTokensResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MsgWithdrawAllTokensResponse) XXX_Merge ¶
func (m *MsgWithdrawAllTokensResponse) XXX_Merge(src proto.Message)
func (*MsgWithdrawAllTokensResponse) XXX_Size ¶
func (m *MsgWithdrawAllTokensResponse) XXX_Size() int
func (*MsgWithdrawAllTokensResponse) XXX_Unmarshal ¶
func (m *MsgWithdrawAllTokensResponse) XXX_Unmarshal(b []byte) error
type MultiLaunchpadHooks ¶
type MultiLaunchpadHooks []LaunchpadHooks
combine multiple launchpad hooks, all hook functions are run in array sequence.
func NewMultiProjectHooks ¶
func NewMultiProjectHooks(hooks ...LaunchpadHooks) MultiLaunchpadHooks
Creates hooks for the Launchpad Module.
func (MultiLaunchpadHooks) AfterProjectDeteted ¶
func (h MultiLaunchpadHooks) AfterProjectDeteted(ctx sdk.Context, projectID uint64)
func (MultiLaunchpadHooks) AfterWithdrawTokens ¶
func (h MultiLaunchpadHooks) AfterWithdrawTokens(ctx sdk.Context, projectID uint64)
type Params ¶
type Params struct { }
Params defines the parameters for the module.
func (*Params) Descriptor ¶
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 Project ¶
type Project struct { // Project owner ProjectOwner string `protobuf:"bytes,1,opt,name=project_owner,json=projectOwner,proto3" json:"project_owner,omitempty" yaml:"project_owner"` // Project title ProjectTitle string `protobuf:"bytes,2,opt,name=project_title,json=projectTitle,proto3" json:"project_title,omitempty" yaml:"project_title"` // Project unique id of each project (incremental from 1) ProjectId uint64 `protobuf:"varint,3,opt,name=project_id,json=projectId,proto3" json:"project_id,omitempty" yaml:"project_id"` // Project address to store assets ProjectAddress string `` /* 126-byte string literal not displayed */ // Project information ProjectInformation string `` /* 142-byte string literal not displayed */ // Project status ProjectStatus uint64 `protobuf:"varint,7,opt,name=project_status,json=projectStatus,proto3" json:"project_status,omitempty" yaml:"project_status"` // Registered Release Mechanism RegisteredRm []*types.Any `protobuf:"bytes,8,rep,name=registered_rm,json=registeredRm,proto3" json:"registered_rm,omitempty" yaml:"registered_rm"` // Project verified ProjectVerified bool `` /* 131-byte string literal not displayed */ }
func (*Project) Descriptor ¶
func (*Project) GetProjectAddress ¶
func (*Project) GetProjectId ¶
func (*Project) GetProjectInformation ¶
func (*Project) GetProjectOwner ¶
func (*Project) GetProjectStatus ¶
func (*Project) GetProjectTitle ¶
func (*Project) GetProjectVerified ¶
func (*Project) GetRegisteredRm ¶
func (*Project) MarshalToSizedBuffer ¶
func (*Project) ProtoMessage ¶
func (*Project) ProtoMessage()
func (*Project) XXX_DiscardUnknown ¶
func (m *Project) XXX_DiscardUnknown()
func (*Project) XXX_Marshal ¶
func (*Project) XXX_Unmarshal ¶
type ProjectBalancesRequest ¶
type ProjectBalancesRequest struct {
ProjectId uint64 `protobuf:"varint,1,opt,name=project_id,json=projectId,proto3" json:"project_id,omitempty" yaml:"project_id"`
}
func (*ProjectBalancesRequest) Descriptor ¶
func (*ProjectBalancesRequest) Descriptor() ([]byte, []int)
func (*ProjectBalancesRequest) GetProjectId ¶
func (m *ProjectBalancesRequest) GetProjectId() uint64
func (*ProjectBalancesRequest) Marshal ¶
func (m *ProjectBalancesRequest) Marshal() (dAtA []byte, err error)
func (*ProjectBalancesRequest) MarshalTo ¶
func (m *ProjectBalancesRequest) MarshalTo(dAtA []byte) (int, error)
func (*ProjectBalancesRequest) MarshalToSizedBuffer ¶
func (m *ProjectBalancesRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*ProjectBalancesRequest) ProtoMessage ¶
func (*ProjectBalancesRequest) ProtoMessage()
func (*ProjectBalancesRequest) Reset ¶
func (m *ProjectBalancesRequest) Reset()
func (*ProjectBalancesRequest) Size ¶
func (m *ProjectBalancesRequest) Size() (n int)
func (*ProjectBalancesRequest) String ¶
func (m *ProjectBalancesRequest) String() string
func (*ProjectBalancesRequest) Unmarshal ¶
func (m *ProjectBalancesRequest) Unmarshal(dAtA []byte) error
func (*ProjectBalancesRequest) XXX_DiscardUnknown ¶
func (m *ProjectBalancesRequest) XXX_DiscardUnknown()
func (*ProjectBalancesRequest) XXX_Marshal ¶
func (m *ProjectBalancesRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ProjectBalancesRequest) XXX_Merge ¶
func (m *ProjectBalancesRequest) XXX_Merge(src proto.Message)
func (*ProjectBalancesRequest) XXX_Size ¶
func (m *ProjectBalancesRequest) XXX_Size() int
func (*ProjectBalancesRequest) XXX_Unmarshal ¶
func (m *ProjectBalancesRequest) XXX_Unmarshal(b []byte) error
type ProjectBalancesResponse ¶
type ProjectBalancesResponse struct {
Balances github_com_cosmos_cosmos_sdk_types.Coins `` /* 129-byte string literal not displayed */
}
func (*ProjectBalancesResponse) Descriptor ¶
func (*ProjectBalancesResponse) Descriptor() ([]byte, []int)
func (*ProjectBalancesResponse) GetBalances ¶
func (m *ProjectBalancesResponse) GetBalances() github_com_cosmos_cosmos_sdk_types.Coins
func (*ProjectBalancesResponse) Marshal ¶
func (m *ProjectBalancesResponse) Marshal() (dAtA []byte, err error)
func (*ProjectBalancesResponse) MarshalTo ¶
func (m *ProjectBalancesResponse) MarshalTo(dAtA []byte) (int, error)
func (*ProjectBalancesResponse) MarshalToSizedBuffer ¶
func (m *ProjectBalancesResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*ProjectBalancesResponse) ProtoMessage ¶
func (*ProjectBalancesResponse) ProtoMessage()
func (*ProjectBalancesResponse) Reset ¶
func (m *ProjectBalancesResponse) Reset()
func (*ProjectBalancesResponse) Size ¶
func (m *ProjectBalancesResponse) Size() (n int)
func (*ProjectBalancesResponse) String ¶
func (m *ProjectBalancesResponse) String() string
func (*ProjectBalancesResponse) Unmarshal ¶
func (m *ProjectBalancesResponse) Unmarshal(dAtA []byte) error
func (*ProjectBalancesResponse) XXX_DiscardUnknown ¶
func (m *ProjectBalancesResponse) XXX_DiscardUnknown()
func (*ProjectBalancesResponse) XXX_Marshal ¶
func (m *ProjectBalancesResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ProjectBalancesResponse) XXX_Merge ¶
func (m *ProjectBalancesResponse) XXX_Merge(src proto.Message)
func (*ProjectBalancesResponse) XXX_Size ¶
func (m *ProjectBalancesResponse) XXX_Size() int
func (*ProjectBalancesResponse) XXX_Unmarshal ¶
func (m *ProjectBalancesResponse) XXX_Unmarshal(b []byte) error
type ProjectRequest ¶
type ProjectRequest struct {
ProjectId uint64 `protobuf:"varint,1,opt,name=project_id,json=projectId,proto3" json:"project_id,omitempty" yaml:"project_id"`
}
func (*ProjectRequest) Descriptor ¶
func (*ProjectRequest) Descriptor() ([]byte, []int)
func (*ProjectRequest) GetProjectId ¶
func (m *ProjectRequest) GetProjectId() uint64
func (*ProjectRequest) Marshal ¶
func (m *ProjectRequest) Marshal() (dAtA []byte, err error)
func (*ProjectRequest) MarshalToSizedBuffer ¶
func (m *ProjectRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*ProjectRequest) ProtoMessage ¶
func (*ProjectRequest) ProtoMessage()
func (*ProjectRequest) Reset ¶
func (m *ProjectRequest) Reset()
func (*ProjectRequest) Size ¶
func (m *ProjectRequest) Size() (n int)
func (*ProjectRequest) String ¶
func (m *ProjectRequest) String() string
func (*ProjectRequest) Unmarshal ¶
func (m *ProjectRequest) Unmarshal(dAtA []byte) error
func (*ProjectRequest) XXX_DiscardUnknown ¶
func (m *ProjectRequest) XXX_DiscardUnknown()
func (*ProjectRequest) XXX_Marshal ¶
func (m *ProjectRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ProjectRequest) XXX_Merge ¶
func (m *ProjectRequest) XXX_Merge(src proto.Message)
func (*ProjectRequest) XXX_Size ¶
func (m *ProjectRequest) XXX_Size() int
func (*ProjectRequest) XXX_Unmarshal ¶
func (m *ProjectRequest) XXX_Unmarshal(b []byte) error
type ProjectResponse ¶
type ProjectResponse struct {
Project *Project `protobuf:"bytes,1,opt,name=project,proto3" json:"project,omitempty" yaml:"project"`
}
func (*ProjectResponse) Descriptor ¶
func (*ProjectResponse) Descriptor() ([]byte, []int)
func (*ProjectResponse) GetProject ¶
func (m *ProjectResponse) GetProject() *Project
func (*ProjectResponse) Marshal ¶
func (m *ProjectResponse) Marshal() (dAtA []byte, err error)
func (*ProjectResponse) MarshalToSizedBuffer ¶
func (m *ProjectResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*ProjectResponse) ProtoMessage ¶
func (*ProjectResponse) ProtoMessage()
func (*ProjectResponse) Reset ¶
func (m *ProjectResponse) Reset()
func (*ProjectResponse) Size ¶
func (m *ProjectResponse) Size() (n int)
func (*ProjectResponse) String ¶
func (m *ProjectResponse) String() string
func (*ProjectResponse) Unmarshal ¶
func (m *ProjectResponse) Unmarshal(dAtA []byte) error
func (*ProjectResponse) XXX_DiscardUnknown ¶
func (m *ProjectResponse) XXX_DiscardUnknown()
func (*ProjectResponse) XXX_Marshal ¶
func (m *ProjectResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ProjectResponse) XXX_Merge ¶
func (m *ProjectResponse) XXX_Merge(src proto.Message)
func (*ProjectResponse) XXX_Size ¶
func (m *ProjectResponse) XXX_Size() int
func (*ProjectResponse) XXX_Unmarshal ¶
func (m *ProjectResponse) 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) Project(ctx context.Context, in *ProjectRequest, opts ...grpc.CallOption) (*ProjectResponse, error) TotalProject(ctx context.Context, in *TotalProjectRequest, opts ...grpc.CallOption) (*TotalProjectResponse, error) ProjectBalances(ctx context.Context, in *ProjectBalancesRequest, opts ...grpc.CallOption) (*ProjectBalancesResponse, 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 { }
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 QueryServer ¶
type QueryServer interface { // Parameters queries the parameters of the module. Params(context.Context, *QueryParamsRequest) (*QueryParamsResponse, error) Project(context.Context, *ProjectRequest) (*ProjectResponse, error) TotalProject(context.Context, *TotalProjectRequest) (*TotalProjectResponse, error) ProjectBalances(context.Context, *ProjectBalancesRequest) (*ProjectBalancesResponse, error) }
QueryServer is the server API for Query service.
type ReleaseMechanismI ¶
type ReleaseMechanismI interface { proto.Message GetId() uint64 // get active status of release mechanism // 0: has not started // 1: active // 2: ended // 3: request delete GetReleaseMechanismStatus() uint64 // get information on tokens for each release mechanism GetTokens() sdk.Coins // get information on which type this is GetType() string }
type SetProjectVerifiedProposal ¶
type SetProjectVerifiedProposal struct { Title string `protobuf:"bytes,1,opt,name=title,proto3" json:"title,omitempty"` Description string `protobuf:"bytes,2,opt,name=description,proto3" json:"description,omitempty"` // Project owner ProjectOwner string `protobuf:"bytes,3,opt,name=project_owner,json=projectOwner,proto3" json:"project_owner,omitempty" yaml:"project_owner"` // Project unique id of each project (incremental from 1) ProjectId uint64 `protobuf:"varint,4,opt,name=project_id,json=projectId,proto3" json:"project_id,omitempty" yaml:"project_id"` }
SetSuperfluidAssetsProposal is a gov Content type to update the superfluid assets
func (*SetProjectVerifiedProposal) Descriptor ¶
func (*SetProjectVerifiedProposal) Descriptor() ([]byte, []int)
func (*SetProjectVerifiedProposal) Equal ¶
func (this *SetProjectVerifiedProposal) Equal(that interface{}) bool
func (*SetProjectVerifiedProposal) GetDescription ¶
func (p *SetProjectVerifiedProposal) GetDescription() string
func (*SetProjectVerifiedProposal) GetTitle ¶
func (p *SetProjectVerifiedProposal) GetTitle() string
func (*SetProjectVerifiedProposal) Marshal ¶
func (m *SetProjectVerifiedProposal) Marshal() (dAtA []byte, err error)
func (*SetProjectVerifiedProposal) MarshalTo ¶
func (m *SetProjectVerifiedProposal) MarshalTo(dAtA []byte) (int, error)
func (*SetProjectVerifiedProposal) MarshalToSizedBuffer ¶
func (m *SetProjectVerifiedProposal) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*SetProjectVerifiedProposal) ProposalRoute ¶
func (p *SetProjectVerifiedProposal) ProposalRoute() string
func (*SetProjectVerifiedProposal) ProposalType ¶
func (p *SetProjectVerifiedProposal) ProposalType() string
func (*SetProjectVerifiedProposal) ProtoMessage ¶
func (*SetProjectVerifiedProposal) ProtoMessage()
func (*SetProjectVerifiedProposal) Reset ¶
func (m *SetProjectVerifiedProposal) Reset()
func (*SetProjectVerifiedProposal) Size ¶
func (m *SetProjectVerifiedProposal) Size() (n int)
func (SetProjectVerifiedProposal) String ¶
func (p SetProjectVerifiedProposal) String() string
func (*SetProjectVerifiedProposal) Unmarshal ¶
func (m *SetProjectVerifiedProposal) Unmarshal(dAtA []byte) error
func (*SetProjectVerifiedProposal) ValidateBasic ¶
func (p *SetProjectVerifiedProposal) ValidateBasic() error
func (*SetProjectVerifiedProposal) XXX_DiscardUnknown ¶
func (m *SetProjectVerifiedProposal) XXX_DiscardUnknown()
func (*SetProjectVerifiedProposal) XXX_Marshal ¶
func (m *SetProjectVerifiedProposal) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*SetProjectVerifiedProposal) XXX_Merge ¶
func (m *SetProjectVerifiedProposal) XXX_Merge(src proto.Message)
func (*SetProjectVerifiedProposal) XXX_Size ¶
func (m *SetProjectVerifiedProposal) XXX_Size() int
func (*SetProjectVerifiedProposal) XXX_Unmarshal ¶
func (m *SetProjectVerifiedProposal) XXX_Unmarshal(b []byte) error
type TotalProjectRequest ¶
type TotalProjectRequest struct {
Pagination *query.PageRequest `protobuf:"bytes,2,opt,name=pagination,proto3" json:"pagination,omitempty"`
}
func (*TotalProjectRequest) Descriptor ¶
func (*TotalProjectRequest) Descriptor() ([]byte, []int)
func (*TotalProjectRequest) GetPagination ¶
func (m *TotalProjectRequest) GetPagination() *query.PageRequest
func (*TotalProjectRequest) Marshal ¶
func (m *TotalProjectRequest) Marshal() (dAtA []byte, err error)
func (*TotalProjectRequest) MarshalTo ¶
func (m *TotalProjectRequest) MarshalTo(dAtA []byte) (int, error)
func (*TotalProjectRequest) MarshalToSizedBuffer ¶
func (m *TotalProjectRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*TotalProjectRequest) ProtoMessage ¶
func (*TotalProjectRequest) ProtoMessage()
func (*TotalProjectRequest) Reset ¶
func (m *TotalProjectRequest) Reset()
func (*TotalProjectRequest) Size ¶
func (m *TotalProjectRequest) Size() (n int)
func (*TotalProjectRequest) String ¶
func (m *TotalProjectRequest) String() string
func (*TotalProjectRequest) Unmarshal ¶
func (m *TotalProjectRequest) Unmarshal(dAtA []byte) error
func (*TotalProjectRequest) XXX_DiscardUnknown ¶
func (m *TotalProjectRequest) XXX_DiscardUnknown()
func (*TotalProjectRequest) XXX_Marshal ¶
func (m *TotalProjectRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*TotalProjectRequest) XXX_Merge ¶
func (m *TotalProjectRequest) XXX_Merge(src proto.Message)
func (*TotalProjectRequest) XXX_Size ¶
func (m *TotalProjectRequest) XXX_Size() int
func (*TotalProjectRequest) XXX_Unmarshal ¶
func (m *TotalProjectRequest) XXX_Unmarshal(b []byte) error
type TotalProjectResponse ¶
type TotalProjectResponse struct { Projects []Project `protobuf:"bytes,1,rep,name=projects,proto3" json:"projects"` Pagination *query.PageResponse `protobuf:"bytes,2,opt,name=pagination,proto3" json:"pagination,omitempty"` }
func (*TotalProjectResponse) Descriptor ¶
func (*TotalProjectResponse) Descriptor() ([]byte, []int)
func (*TotalProjectResponse) GetPagination ¶
func (m *TotalProjectResponse) GetPagination() *query.PageResponse
func (*TotalProjectResponse) GetProjects ¶
func (m *TotalProjectResponse) GetProjects() []Project
func (*TotalProjectResponse) Marshal ¶
func (m *TotalProjectResponse) Marshal() (dAtA []byte, err error)
func (*TotalProjectResponse) MarshalTo ¶
func (m *TotalProjectResponse) MarshalTo(dAtA []byte) (int, error)
func (*TotalProjectResponse) MarshalToSizedBuffer ¶
func (m *TotalProjectResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*TotalProjectResponse) ProtoMessage ¶
func (*TotalProjectResponse) ProtoMessage()
func (*TotalProjectResponse) Reset ¶
func (m *TotalProjectResponse) Reset()
func (*TotalProjectResponse) Size ¶
func (m *TotalProjectResponse) Size() (n int)
func (*TotalProjectResponse) String ¶
func (m *TotalProjectResponse) String() string
func (*TotalProjectResponse) Unmarshal ¶
func (m *TotalProjectResponse) Unmarshal(dAtA []byte) error
func (*TotalProjectResponse) XXX_DiscardUnknown ¶
func (m *TotalProjectResponse) XXX_DiscardUnknown()
func (*TotalProjectResponse) XXX_Marshal ¶
func (m *TotalProjectResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*TotalProjectResponse) XXX_Merge ¶
func (m *TotalProjectResponse) XXX_Merge(src proto.Message)
func (*TotalProjectResponse) XXX_Size ¶
func (m *TotalProjectResponse) XXX_Size() int
func (*TotalProjectResponse) XXX_Unmarshal ¶
func (m *TotalProjectResponse) XXX_Unmarshal(b []byte) error
type UnimplementedMsgServer ¶
type UnimplementedMsgServer struct { }
UnimplementedMsgServer can be embedded to have forward compatible implementations.
func (*UnimplementedMsgServer) CreateProject ¶
func (*UnimplementedMsgServer) CreateProject(ctx context.Context, req *MsgCreateProjectRequest) (*MsgCreateProjectResponse, error)
func (*UnimplementedMsgServer) DeleteProject ¶
func (*UnimplementedMsgServer) DeleteProject(ctx context.Context, req *MsgDeleteProjectRequest) (*MsgDeleteProjectResponse, error)
func (*UnimplementedMsgServer) WithdrawAllTokens ¶
func (*UnimplementedMsgServer) WithdrawAllTokens(ctx context.Context, req *MsgWithdrawAllTokensRequest) (*MsgWithdrawAllTokensResponse, 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) Project ¶
func (*UnimplementedQueryServer) Project(ctx context.Context, req *ProjectRequest) (*ProjectResponse, error)
func (*UnimplementedQueryServer) ProjectBalances ¶
func (*UnimplementedQueryServer) ProjectBalances(ctx context.Context, req *ProjectBalancesRequest) (*ProjectBalancesResponse, error)
func (*UnimplementedQueryServer) TotalProject ¶
func (*UnimplementedQueryServer) TotalProject(ctx context.Context, req *TotalProjectRequest) (*TotalProjectResponse, error)