Versions in this module Expand all Collapse all v0 v0.2.5 Jul 6, 2023 Changes in this version + const AttributeValueCategory + const AttributeValueFundCommunityPool + const LegacyCommunityPoolModuleName + const ModuleAccountName + const ModuleName + const ProposalTypeCommunityCDPRepayDebt + const ProposalTypeCommunityCDPWithdrawCollateral + const ProposalTypeCommunityPoolLendDeposit + const ProposalTypeCommunityPoolLendWithdraw + const QueryBalance + const RouterKey + var ErrIntOverflowProposal = fmt.Errorf("proto: integer overflow") + var ErrIntOverflowQuery = fmt.Errorf("proto: integer overflow") + var ErrIntOverflowTx = fmt.Errorf("proto: integer overflow") + var ErrInvalidLengthProposal = fmt.Errorf("proto: negative length found during unmarshaling") + var ErrInvalidLengthQuery = fmt.Errorf("proto: negative length found during unmarshaling") + var ErrInvalidLengthTx = fmt.Errorf("proto: negative length found during unmarshaling") + var ErrUnexpectedEndOfGroupProposal = fmt.Errorf("proto: unexpected end of group") + var ErrUnexpectedEndOfGroupQuery = fmt.Errorf("proto: unexpected end of group") + var ErrUnexpectedEndOfGroupTx = fmt.Errorf("proto: unexpected end of group") + var ModuleCdc = codec.NewAminoCodec(amino) + func RegisterInterfaces(registry types.InterfaceRegistry) + func RegisterLegacyAminoCodec(cdc *codec.LegacyAmino) + func RegisterMsgServer(s grpc1.Server, srv MsgServer) + func RegisterQueryHandler(ctx context.Context, mux *runtime.ServeMux, conn *grpc.ClientConn) error + func RegisterQueryHandlerClient(ctx context.Context, mux *runtime.ServeMux, client QueryClient) error + func RegisterQueryHandlerFromEndpoint(ctx context.Context, mux *runtime.ServeMux, endpoint string, ...) (err error) + func RegisterQueryHandlerServer(ctx context.Context, mux *runtime.ServeMux, server QueryServer) error + func RegisterQueryServer(s grpc1.Server, srv QueryServer) + type AccountKeeper interface + GetModuleAccount func(ctx sdk.Context, moduleName string) authtypes.ModuleAccountI + GetModuleAddress func(name string) sdk.AccAddress + type BankKeeper interface + GetAllBalances func(ctx sdk.Context, addr sdk.AccAddress) sdk.Coins + SendCoinsFromAccountToModule func(ctx sdk.Context, senderAddr sdk.AccAddress, recipientModule string, ...) error + SendCoinsFromModuleToAccount func(ctx sdk.Context, senderModule string, recipientAddr sdk.AccAddress, ...) error + type CdpKeeper interface + RepayPrincipal func(ctx sdk.Context, owner sdk.AccAddress, collateralType string, payment sdk.Coin) error + WithdrawCollateral func(ctx sdk.Context, owner, depositor sdk.AccAddress, collateral sdk.Coin, ...) error + type CommunityCDPRepayDebtProposal struct + CollateralType string + Description string + Payment types.Coin + Title string + func NewCommunityCDPRepayDebtProposal(title string, description string, collateralType string, payment sdk.Coin) *CommunityCDPRepayDebtProposal + func (*CommunityCDPRepayDebtProposal) Descriptor() ([]byte, []int) + func (*CommunityCDPRepayDebtProposal) ProtoMessage() + func (m *CommunityCDPRepayDebtProposal) Marshal() (dAtA []byte, err error) + func (m *CommunityCDPRepayDebtProposal) MarshalTo(dAtA []byte) (int, error) + func (m *CommunityCDPRepayDebtProposal) MarshalToSizedBuffer(dAtA []byte) (int, error) + func (m *CommunityCDPRepayDebtProposal) Reset() + func (m *CommunityCDPRepayDebtProposal) Size() (n int) + func (m *CommunityCDPRepayDebtProposal) Unmarshal(dAtA []byte) error + func (m *CommunityCDPRepayDebtProposal) XXX_DiscardUnknown() + func (m *CommunityCDPRepayDebtProposal) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) + func (m *CommunityCDPRepayDebtProposal) XXX_Merge(src proto.Message) + func (m *CommunityCDPRepayDebtProposal) XXX_Size() int + func (m *CommunityCDPRepayDebtProposal) XXX_Unmarshal(b []byte) error + func (p *CommunityCDPRepayDebtProposal) GetDescription() string + func (p *CommunityCDPRepayDebtProposal) GetTitle() string + func (p *CommunityCDPRepayDebtProposal) ProposalRoute() string + func (p *CommunityCDPRepayDebtProposal) ProposalType() string + func (p *CommunityCDPRepayDebtProposal) String() string + func (p *CommunityCDPRepayDebtProposal) ValidateBasic() error + type CommunityCDPWithdrawCollateralProposal struct + Collateral types.Coin + CollateralType string + Description string + Title string + func NewCommunityCDPWithdrawCollateralProposal(title string, description string, collateralType string, collateral sdk.Coin) *CommunityCDPWithdrawCollateralProposal + func (*CommunityCDPWithdrawCollateralProposal) Descriptor() ([]byte, []int) + func (*CommunityCDPWithdrawCollateralProposal) ProtoMessage() + func (m *CommunityCDPWithdrawCollateralProposal) Marshal() (dAtA []byte, err error) + func (m *CommunityCDPWithdrawCollateralProposal) MarshalTo(dAtA []byte) (int, error) + func (m *CommunityCDPWithdrawCollateralProposal) MarshalToSizedBuffer(dAtA []byte) (int, error) + func (m *CommunityCDPWithdrawCollateralProposal) Reset() + func (m *CommunityCDPWithdrawCollateralProposal) Size() (n int) + func (m *CommunityCDPWithdrawCollateralProposal) Unmarshal(dAtA []byte) error + func (m *CommunityCDPWithdrawCollateralProposal) XXX_DiscardUnknown() + func (m *CommunityCDPWithdrawCollateralProposal) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) + func (m *CommunityCDPWithdrawCollateralProposal) XXX_Merge(src proto.Message) + func (m *CommunityCDPWithdrawCollateralProposal) XXX_Size() int + func (m *CommunityCDPWithdrawCollateralProposal) XXX_Unmarshal(b []byte) error + func (p *CommunityCDPWithdrawCollateralProposal) GetDescription() string + func (p *CommunityCDPWithdrawCollateralProposal) GetTitle() string + func (p *CommunityCDPWithdrawCollateralProposal) ProposalRoute() string + func (p *CommunityCDPWithdrawCollateralProposal) ProposalType() string + func (p *CommunityCDPWithdrawCollateralProposal) String() string + func (p *CommunityCDPWithdrawCollateralProposal) ValidateBasic() error + type CommunityPoolLendDepositProposal struct + Amount github_com_cosmos_cosmos_sdk_types.Coins + Description string + Title string + func NewCommunityPoolLendDepositProposal(title, description string, amount sdk.Coins) *CommunityPoolLendDepositProposal + func (*CommunityPoolLendDepositProposal) Descriptor() ([]byte, []int) + func (*CommunityPoolLendDepositProposal) ProtoMessage() + func (m *CommunityPoolLendDepositProposal) Marshal() (dAtA []byte, err error) + func (m *CommunityPoolLendDepositProposal) MarshalTo(dAtA []byte) (int, error) + func (m *CommunityPoolLendDepositProposal) MarshalToSizedBuffer(dAtA []byte) (int, error) + func (m *CommunityPoolLendDepositProposal) Reset() + func (m *CommunityPoolLendDepositProposal) Size() (n int) + func (m *CommunityPoolLendDepositProposal) Unmarshal(dAtA []byte) error + func (m *CommunityPoolLendDepositProposal) XXX_DiscardUnknown() + func (m *CommunityPoolLendDepositProposal) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) + func (m *CommunityPoolLendDepositProposal) XXX_Merge(src proto.Message) + func (m *CommunityPoolLendDepositProposal) XXX_Size() int + func (m *CommunityPoolLendDepositProposal) XXX_Unmarshal(b []byte) error + func (p *CommunityPoolLendDepositProposal) GetDescription() string + func (p *CommunityPoolLendDepositProposal) GetTitle() string + func (p *CommunityPoolLendDepositProposal) ProposalRoute() string + func (p *CommunityPoolLendDepositProposal) ProposalType() string + func (p *CommunityPoolLendDepositProposal) String() string + func (p *CommunityPoolLendDepositProposal) ValidateBasic() error + type CommunityPoolLendWithdrawProposal struct + Amount github_com_cosmos_cosmos_sdk_types.Coins + Description string + Title string + func NewCommunityPoolLendWithdrawProposal(title, description string, amount sdk.Coins) *CommunityPoolLendWithdrawProposal + func (*CommunityPoolLendWithdrawProposal) Descriptor() ([]byte, []int) + func (*CommunityPoolLendWithdrawProposal) ProtoMessage() + func (m *CommunityPoolLendWithdrawProposal) Marshal() (dAtA []byte, err error) + func (m *CommunityPoolLendWithdrawProposal) MarshalTo(dAtA []byte) (int, error) + func (m *CommunityPoolLendWithdrawProposal) MarshalToSizedBuffer(dAtA []byte) (int, error) + func (m *CommunityPoolLendWithdrawProposal) Reset() + func (m *CommunityPoolLendWithdrawProposal) Size() (n int) + func (m *CommunityPoolLendWithdrawProposal) Unmarshal(dAtA []byte) error + func (m *CommunityPoolLendWithdrawProposal) XXX_DiscardUnknown() + func (m *CommunityPoolLendWithdrawProposal) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) + func (m *CommunityPoolLendWithdrawProposal) XXX_Merge(src proto.Message) + func (m *CommunityPoolLendWithdrawProposal) XXX_Size() int + func (m *CommunityPoolLendWithdrawProposal) XXX_Unmarshal(b []byte) error + func (p *CommunityPoolLendWithdrawProposal) GetDescription() string + func (p *CommunityPoolLendWithdrawProposal) GetTitle() string + func (p *CommunityPoolLendWithdrawProposal) ProposalRoute() string + func (p *CommunityPoolLendWithdrawProposal) ProposalType() string + func (p *CommunityPoolLendWithdrawProposal) String() string + func (p *CommunityPoolLendWithdrawProposal) ValidateBasic() error + type DistributionKeeper interface + DistributeFromFeePool func(ctx sdk.Context, amount sdk.Coins, receiveAddr sdk.AccAddress) error + FundCommunityPool func(ctx sdk.Context, amount sdk.Coins, sender sdk.AccAddress) error + GetFeePoolCommunityCoins func(ctx sdk.Context) sdk.DecCoins + type JinxKeeper interface + Deposit func(ctx sdk.Context, depositor sdk.AccAddress, coins sdk.Coins) error + Withdraw func(ctx sdk.Context, depositor sdk.AccAddress, coins sdk.Coins) error + type MsgClient interface + FundCommunityPool func(ctx context.Context, in *MsgFundCommunityPool, opts ...grpc.CallOption) (*MsgFundCommunityPoolResponse, error) + func NewMsgClient(cc grpc1.ClientConn) MsgClient + type MsgFundCommunityPool struct + Amount github_com_cosmos_cosmos_sdk_types.Coins + Depositor string + func NewMsgFundCommunityPool(depositor sdk.AccAddress, amount sdk.Coins) MsgFundCommunityPool + func (*MsgFundCommunityPool) Descriptor() ([]byte, []int) + func (*MsgFundCommunityPool) ProtoMessage() + func (m *MsgFundCommunityPool) Marshal() (dAtA []byte, err error) + func (m *MsgFundCommunityPool) MarshalTo(dAtA []byte) (int, error) + func (m *MsgFundCommunityPool) MarshalToSizedBuffer(dAtA []byte) (int, error) + func (m *MsgFundCommunityPool) Reset() + func (m *MsgFundCommunityPool) Size() (n int) + func (m *MsgFundCommunityPool) String() string + func (m *MsgFundCommunityPool) Unmarshal(dAtA []byte) error + func (m *MsgFundCommunityPool) XXX_DiscardUnknown() + func (m *MsgFundCommunityPool) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) + func (m *MsgFundCommunityPool) XXX_Merge(src proto.Message) + func (m *MsgFundCommunityPool) XXX_Size() int + func (m *MsgFundCommunityPool) XXX_Unmarshal(b []byte) error + func (msg MsgFundCommunityPool) GetSignBytes() []byte + func (msg MsgFundCommunityPool) GetSigners() []sdk.AccAddress + func (msg MsgFundCommunityPool) Route() string + func (msg MsgFundCommunityPool) Type() string + func (msg MsgFundCommunityPool) ValidateBasic() error + func (this *MsgFundCommunityPool) Equal(that interface{}) bool + type MsgFundCommunityPoolResponse struct + func (*MsgFundCommunityPoolResponse) Descriptor() ([]byte, []int) + func (*MsgFundCommunityPoolResponse) ProtoMessage() + func (m *MsgFundCommunityPoolResponse) Marshal() (dAtA []byte, err error) + func (m *MsgFundCommunityPoolResponse) MarshalTo(dAtA []byte) (int, error) + func (m *MsgFundCommunityPoolResponse) MarshalToSizedBuffer(dAtA []byte) (int, error) + func (m *MsgFundCommunityPoolResponse) Reset() + func (m *MsgFundCommunityPoolResponse) Size() (n int) + func (m *MsgFundCommunityPoolResponse) String() string + func (m *MsgFundCommunityPoolResponse) Unmarshal(dAtA []byte) error + func (m *MsgFundCommunityPoolResponse) XXX_DiscardUnknown() + func (m *MsgFundCommunityPoolResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) + func (m *MsgFundCommunityPoolResponse) XXX_Merge(src proto.Message) + func (m *MsgFundCommunityPoolResponse) XXX_Size() int + func (m *MsgFundCommunityPoolResponse) XXX_Unmarshal(b []byte) error + func (this *MsgFundCommunityPoolResponse) Equal(that interface{}) bool + type MsgServer interface + FundCommunityPool func(context.Context, *MsgFundCommunityPool) (*MsgFundCommunityPoolResponse, error) + type QueryBalanceRequest struct + func (*QueryBalanceRequest) Descriptor() ([]byte, []int) + func (*QueryBalanceRequest) ProtoMessage() + func (m *QueryBalanceRequest) Marshal() (dAtA []byte, err error) + func (m *QueryBalanceRequest) MarshalTo(dAtA []byte) (int, error) + func (m *QueryBalanceRequest) MarshalToSizedBuffer(dAtA []byte) (int, error) + func (m *QueryBalanceRequest) Reset() + func (m *QueryBalanceRequest) Size() (n int) + func (m *QueryBalanceRequest) String() string + func (m *QueryBalanceRequest) Unmarshal(dAtA []byte) error + func (m *QueryBalanceRequest) XXX_DiscardUnknown() + func (m *QueryBalanceRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) + func (m *QueryBalanceRequest) XXX_Merge(src proto.Message) + func (m *QueryBalanceRequest) XXX_Size() int + func (m *QueryBalanceRequest) XXX_Unmarshal(b []byte) error + type QueryBalanceResponse struct + Coins github_com_cosmos_cosmos_sdk_types.Coins + func (*QueryBalanceResponse) Descriptor() ([]byte, []int) + func (*QueryBalanceResponse) ProtoMessage() + func (m *QueryBalanceResponse) GetCoins() github_com_cosmos_cosmos_sdk_types.Coins + func (m *QueryBalanceResponse) Marshal() (dAtA []byte, err error) + func (m *QueryBalanceResponse) MarshalTo(dAtA []byte) (int, error) + func (m *QueryBalanceResponse) MarshalToSizedBuffer(dAtA []byte) (int, error) + func (m *QueryBalanceResponse) Reset() + func (m *QueryBalanceResponse) Size() (n int) + func (m *QueryBalanceResponse) String() string + func (m *QueryBalanceResponse) Unmarshal(dAtA []byte) error + func (m *QueryBalanceResponse) XXX_DiscardUnknown() + func (m *QueryBalanceResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) + func (m *QueryBalanceResponse) XXX_Merge(src proto.Message) + func (m *QueryBalanceResponse) XXX_Size() int + func (m *QueryBalanceResponse) XXX_Unmarshal(b []byte) error + type QueryClient interface + Balance func(ctx context.Context, in *QueryBalanceRequest, opts ...grpc.CallOption) (*QueryBalanceResponse, error) + TotalBalance func(ctx context.Context, in *QueryTotalBalanceRequest, opts ...grpc.CallOption) (*QueryTotalBalanceResponse, error) + func NewQueryClient(cc grpc1.ClientConn) QueryClient + type QueryServer interface + Balance func(context.Context, *QueryBalanceRequest) (*QueryBalanceResponse, error) + TotalBalance func(context.Context, *QueryTotalBalanceRequest) (*QueryTotalBalanceResponse, error) + type QueryTotalBalanceRequest struct + func (*QueryTotalBalanceRequest) Descriptor() ([]byte, []int) + func (*QueryTotalBalanceRequest) ProtoMessage() + func (m *QueryTotalBalanceRequest) Marshal() (dAtA []byte, err error) + func (m *QueryTotalBalanceRequest) MarshalTo(dAtA []byte) (int, error) + func (m *QueryTotalBalanceRequest) MarshalToSizedBuffer(dAtA []byte) (int, error) + func (m *QueryTotalBalanceRequest) Reset() + func (m *QueryTotalBalanceRequest) Size() (n int) + func (m *QueryTotalBalanceRequest) String() string + func (m *QueryTotalBalanceRequest) Unmarshal(dAtA []byte) error + func (m *QueryTotalBalanceRequest) XXX_DiscardUnknown() + func (m *QueryTotalBalanceRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) + func (m *QueryTotalBalanceRequest) XXX_Merge(src proto.Message) + func (m *QueryTotalBalanceRequest) XXX_Size() int + func (m *QueryTotalBalanceRequest) XXX_Unmarshal(b []byte) error + type QueryTotalBalanceResponse struct + Pool github_com_cosmos_cosmos_sdk_types.DecCoins + func (*QueryTotalBalanceResponse) Descriptor() ([]byte, []int) + func (*QueryTotalBalanceResponse) ProtoMessage() + func (m *QueryTotalBalanceResponse) GetPool() github_com_cosmos_cosmos_sdk_types.DecCoins + func (m *QueryTotalBalanceResponse) Marshal() (dAtA []byte, err error) + func (m *QueryTotalBalanceResponse) MarshalTo(dAtA []byte) (int, error) + func (m *QueryTotalBalanceResponse) MarshalToSizedBuffer(dAtA []byte) (int, error) + func (m *QueryTotalBalanceResponse) Reset() + func (m *QueryTotalBalanceResponse) Size() (n int) + func (m *QueryTotalBalanceResponse) String() string + func (m *QueryTotalBalanceResponse) Unmarshal(dAtA []byte) error + func (m *QueryTotalBalanceResponse) XXX_DiscardUnknown() + func (m *QueryTotalBalanceResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) + func (m *QueryTotalBalanceResponse) XXX_Merge(src proto.Message) + func (m *QueryTotalBalanceResponse) XXX_Size() int + func (m *QueryTotalBalanceResponse) XXX_Unmarshal(b []byte) error + type UnimplementedMsgServer struct + func (*UnimplementedMsgServer) FundCommunityPool(ctx context.Context, req *MsgFundCommunityPool) (*MsgFundCommunityPoolResponse, error) + type UnimplementedQueryServer struct + func (*UnimplementedQueryServer) Balance(ctx context.Context, req *QueryBalanceRequest) (*QueryBalanceResponse, error) + func (*UnimplementedQueryServer) TotalBalance(ctx context.Context, req *QueryTotalBalanceRequest) (*QueryTotalBalanceResponse, error)