protocolpoolv1

package
v0.8.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jan 13, 2025 License: Apache-2.0 Imports: 20 Imported by: 1

Documentation

Overview

Code generated by protoc-gen-go-pulsar. DO NOT EDIT.

Code generated by protoc-gen-go-pulsar. DO NOT EDIT.

Code generated by protoc-gen-go-pulsar. DO NOT EDIT.

Code generated by protoc-gen-go-pulsar. DO NOT EDIT.

Index

Constants

View Source
const (
	Query_CommunityPool_FullMethodName   = "/cosmos.protocolpool.v1.Query/CommunityPool"
	Query_UnclaimedBudget_FullMethodName = "/cosmos.protocolpool.v1.Query/UnclaimedBudget"
)
View Source
const (
	Msg_FundCommunityPool_FullMethodName      = "/cosmos.protocolpool.v1.Msg/FundCommunityPool"
	Msg_CommunityPoolSpend_FullMethodName     = "/cosmos.protocolpool.v1.Msg/CommunityPoolSpend"
	Msg_SubmitBudgetProposal_FullMethodName   = "/cosmos.protocolpool.v1.Msg/SubmitBudgetProposal"
	Msg_ClaimBudget_FullMethodName            = "/cosmos.protocolpool.v1.Msg/ClaimBudget"
	Msg_CreateContinuousFund_FullMethodName   = "/cosmos.protocolpool.v1.Msg/CreateContinuousFund"
	Msg_WithdrawContinuousFund_FullMethodName = "/cosmos.protocolpool.v1.Msg/WithdrawContinuousFund"
	Msg_CancelContinuousFund_FullMethodName   = "/cosmos.protocolpool.v1.Msg/CancelContinuousFund"
	Msg_UpdateParams_FullMethodName           = "/cosmos.protocolpool.v1.Msg/UpdateParams"
)

Variables

View Source
var File_cosmos_protocolpool_v1_genesis_proto protoreflect.FileDescriptor
View Source
var File_cosmos_protocolpool_v1_query_proto protoreflect.FileDescriptor
View Source
var File_cosmos_protocolpool_v1_tx_proto protoreflect.FileDescriptor
View Source
var File_cosmos_protocolpool_v1_types_proto protoreflect.FileDescriptor
View Source
var Msg_ServiceDesc = grpc.ServiceDesc{
	ServiceName: "cosmos.protocolpool.v1.Msg",
	HandlerType: (*MsgServer)(nil),
	Methods: []grpc.MethodDesc{
		{
			MethodName: "FundCommunityPool",
			Handler:    _Msg_FundCommunityPool_Handler,
		},
		{
			MethodName: "CommunityPoolSpend",
			Handler:    _Msg_CommunityPoolSpend_Handler,
		},
		{
			MethodName: "SubmitBudgetProposal",
			Handler:    _Msg_SubmitBudgetProposal_Handler,
		},
		{
			MethodName: "ClaimBudget",
			Handler:    _Msg_ClaimBudget_Handler,
		},
		{
			MethodName: "CreateContinuousFund",
			Handler:    _Msg_CreateContinuousFund_Handler,
		},
		{
			MethodName: "WithdrawContinuousFund",
			Handler:    _Msg_WithdrawContinuousFund_Handler,
		},
		{
			MethodName: "CancelContinuousFund",
			Handler:    _Msg_CancelContinuousFund_Handler,
		},
		{
			MethodName: "UpdateParams",
			Handler:    _Msg_UpdateParams_Handler,
		},
	},
	Streams:  []grpc.StreamDesc{},
	Metadata: "cosmos/protocolpool/v1/tx.proto",
}

Msg_ServiceDesc is the grpc.ServiceDesc for Msg service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)

View Source
var Query_ServiceDesc = grpc.ServiceDesc{
	ServiceName: "cosmos.protocolpool.v1.Query",
	HandlerType: (*QueryServer)(nil),
	Methods: []grpc.MethodDesc{
		{
			MethodName: "CommunityPool",
			Handler:    _Query_CommunityPool_Handler,
		},
		{
			MethodName: "UnclaimedBudget",
			Handler:    _Query_UnclaimedBudget_Handler,
		},
	},
	Streams:  []grpc.StreamDesc{},
	Metadata: "cosmos/protocolpool/v1/query.proto",
}

Query_ServiceDesc is the grpc.ServiceDesc for Query service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)

Functions

func RegisterMsgServer

func RegisterMsgServer(s grpc.ServiceRegistrar, srv MsgServer)

func RegisterQueryServer

func RegisterQueryServer(s grpc.ServiceRegistrar, srv QueryServer)

Types

type Budget added in v0.8.0

type Budget struct {

	// recipient_address is the address of the recipient who can claim the budget.
	RecipientAddress string `protobuf:"bytes,1,opt,name=recipient_address,json=recipientAddress,proto3" json:"recipient_address,omitempty"`
	// claimed_amount is the total amount claimed from the total budget amount requested.
	ClaimedAmount *v1beta1.Coin `protobuf:"bytes,2,opt,name=claimed_amount,json=claimedAmount,proto3" json:"claimed_amount,omitempty"`
	// last_claimed_at is the time when the budget was last successfully claimed or distributed.
	// It is used to track the next starting claim time for fund distribution.
	LastClaimedAt *timestamppb.Timestamp `protobuf:"bytes,3,opt,name=last_claimed_at,json=lastClaimedAt,proto3" json:"last_claimed_at,omitempty"`
	// tranches_left is the number of tranches left for the amount to be distributed.
	TranchesLeft uint64 `protobuf:"varint,4,opt,name=tranches_left,json=tranchesLeft,proto3" json:"tranches_left,omitempty"`
	// budget_per_tranche is the amount allocated per tranche.
	BudgetPerTranche *v1beta1.Coin `protobuf:"bytes,5,opt,name=budget_per_tranche,json=budgetPerTranche,proto3" json:"budget_per_tranche,omitempty"`
	// Period is the time interval(number of seconds) at which funds distribution should be performed.
	// For example, if a period is set to 3600, it represents an action that
	// should occur every hour (3600 seconds).
	Period *durationpb.Duration `protobuf:"bytes,6,opt,name=period,proto3" json:"period,omitempty"`
	// contains filtered or unexported fields
}

Budget defines the fields of a budget proposal.

func (*Budget) Descriptor deprecated added in v0.8.0

func (*Budget) Descriptor() ([]byte, []int)

Deprecated: Use Budget.ProtoReflect.Descriptor instead.

func (*Budget) GetBudgetPerTranche added in v0.8.0

func (x *Budget) GetBudgetPerTranche() *v1beta1.Coin

func (*Budget) GetClaimedAmount added in v0.8.0

func (x *Budget) GetClaimedAmount() *v1beta1.Coin

func (*Budget) GetLastClaimedAt added in v0.8.0

func (x *Budget) GetLastClaimedAt() *timestamppb.Timestamp

func (*Budget) GetPeriod added in v0.8.0

func (x *Budget) GetPeriod() *durationpb.Duration

func (*Budget) GetRecipientAddress added in v0.8.0

func (x *Budget) GetRecipientAddress() string

func (*Budget) GetTranchesLeft added in v0.8.0

func (x *Budget) GetTranchesLeft() uint64

func (*Budget) ProtoMessage added in v0.8.0

func (*Budget) ProtoMessage()

func (*Budget) ProtoReflect added in v0.8.0

func (x *Budget) ProtoReflect() protoreflect.Message

func (*Budget) Reset added in v0.8.0

func (x *Budget) Reset()

func (*Budget) String added in v0.8.0

func (x *Budget) String() string

type ContinuousFund added in v0.8.0

type ContinuousFund struct {

	// Recipient address of the account receiving funds.
	Recipient string `protobuf:"bytes,1,opt,name=recipient,proto3" json:"recipient,omitempty"`
	// Percentage is the percentage of funds to be allocated from Community pool.
	Percentage string `protobuf:"bytes,2,opt,name=percentage,proto3" json:"percentage,omitempty"`
	// Optional, if expiry is set, removes the state object when expired.
	Expiry *timestamppb.Timestamp `protobuf:"bytes,3,opt,name=expiry,proto3" json:"expiry,omitempty"`
	// contains filtered or unexported fields
}

ContinuousFund defines the fields of continuous fund proposal.

func (*ContinuousFund) Descriptor deprecated added in v0.8.0

func (*ContinuousFund) Descriptor() ([]byte, []int)

Deprecated: Use ContinuousFund.ProtoReflect.Descriptor instead.

func (*ContinuousFund) GetExpiry added in v0.8.0

func (x *ContinuousFund) GetExpiry() *timestamppb.Timestamp

func (*ContinuousFund) GetPercentage added in v0.8.0

func (x *ContinuousFund) GetPercentage() string

func (*ContinuousFund) GetRecipient added in v0.8.0

func (x *ContinuousFund) GetRecipient() string

func (*ContinuousFund) ProtoMessage added in v0.8.0

func (*ContinuousFund) ProtoMessage()

func (*ContinuousFund) ProtoReflect added in v0.8.0

func (x *ContinuousFund) ProtoReflect() protoreflect.Message

func (*ContinuousFund) Reset added in v0.8.0

func (x *ContinuousFund) Reset()

func (*ContinuousFund) String added in v0.8.0

func (x *ContinuousFund) String() string

type Distribution added in v0.8.0

type Distribution struct {

	// time at which this distribution was made, in order to distribute to non-expired funds only
	// and funds that existed at that time. Because we don't distribute right away, we keep track
	// of the time of distribution.
	Time *timestamppb.Timestamp `protobuf:"bytes,1,opt,name=time,proto3" json:"time,omitempty"`
	// amount is the list of coins to be distributed.
	Amount *DistributionAmount `protobuf:"bytes,2,opt,name=amount,proto3" json:"amount,omitempty"`
	// contains filtered or unexported fields
}

func (*Distribution) Descriptor deprecated added in v0.8.0

func (*Distribution) Descriptor() ([]byte, []int)

Deprecated: Use Distribution.ProtoReflect.Descriptor instead.

func (*Distribution) GetAmount added in v0.8.0

func (x *Distribution) GetAmount() *DistributionAmount

func (*Distribution) GetTime added in v0.8.0

func (x *Distribution) GetTime() *timestamppb.Timestamp

func (*Distribution) ProtoMessage added in v0.8.0

func (*Distribution) ProtoMessage()

func (*Distribution) ProtoReflect added in v0.8.0

func (x *Distribution) ProtoReflect() protoreflect.Message

func (*Distribution) Reset added in v0.8.0

func (x *Distribution) Reset()

func (*Distribution) String added in v0.8.0

func (x *Distribution) String() string

type DistributionAmount added in v0.8.0

type DistributionAmount struct {
	Amount []*v1beta1.Coin `protobuf:"bytes,1,rep,name=amount,proto3" json:"amount,omitempty"`
	// contains filtered or unexported fields
}

DistributionAmount is used to store the coins of periodic distributions.

func (*DistributionAmount) Descriptor deprecated added in v0.8.0

func (*DistributionAmount) Descriptor() ([]byte, []int)

Deprecated: Use DistributionAmount.ProtoReflect.Descriptor instead.

func (*DistributionAmount) GetAmount added in v0.8.0

func (x *DistributionAmount) GetAmount() []*v1beta1.Coin

func (*DistributionAmount) ProtoMessage added in v0.8.0

func (*DistributionAmount) ProtoMessage()

func (*DistributionAmount) ProtoReflect added in v0.8.0

func (x *DistributionAmount) ProtoReflect() protoreflect.Message

func (*DistributionAmount) Reset added in v0.8.0

func (x *DistributionAmount) Reset()

func (*DistributionAmount) String added in v0.8.0

func (x *DistributionAmount) String() string

type GenesisState added in v0.8.0

type GenesisState struct {

	// ContinuousFund defines the continuous funds at genesis.
	ContinuousFund []*ContinuousFund `protobuf:"bytes,1,rep,name=continuous_fund,json=continuousFund,proto3" json:"continuous_fund,omitempty"`
	// Budget defines the budget proposals at genesis.
	Budget []*Budget `protobuf:"bytes,2,rep,name=budget,proto3" json:"budget,omitempty"`
	// last_balance contains the amount of tokens yet to be distributed, will be zero if
	// there are no funds to distribute.
	LastBalance *DistributionAmount `protobuf:"bytes,3,opt,name=last_balance,json=lastBalance,proto3" json:"last_balance,omitempty"`
	// distributions contains the list of distributions to be made to continuous
	// funds and budgets. It contains time in order to distribute to non-expired
	// funds only.
	Distributions []*Distribution `protobuf:"bytes,4,rep,name=distributions,proto3" json:"distributions,omitempty"`
	// params defines the parameters of this module, currently only contains the
	// denoms that will be used for continuous fund distributions.
	Params *Params `protobuf:"bytes,5,opt,name=params,proto3" json:"params,omitempty"`
	// contains filtered or unexported fields
}

GenesisState defines the protocolpool module's genesis state.

func (*GenesisState) Descriptor deprecated added in v0.8.0

func (*GenesisState) Descriptor() ([]byte, []int)

Deprecated: Use GenesisState.ProtoReflect.Descriptor instead.

func (*GenesisState) GetBudget added in v0.8.0

func (x *GenesisState) GetBudget() []*Budget

func (*GenesisState) GetContinuousFund added in v0.8.0

func (x *GenesisState) GetContinuousFund() []*ContinuousFund

func (*GenesisState) GetDistributions added in v0.8.0

func (x *GenesisState) GetDistributions() []*Distribution

func (*GenesisState) GetLastBalance added in v0.8.0

func (x *GenesisState) GetLastBalance() *DistributionAmount

func (*GenesisState) GetParams added in v0.8.0

func (x *GenesisState) GetParams() *Params

func (*GenesisState) ProtoMessage added in v0.8.0

func (*GenesisState) ProtoMessage()

func (*GenesisState) ProtoReflect added in v0.8.0

func (x *GenesisState) ProtoReflect() protoreflect.Message

func (*GenesisState) Reset added in v0.8.0

func (x *GenesisState) Reset()

func (*GenesisState) String added in v0.8.0

func (x *GenesisState) String() string

type MsgCancelContinuousFund added in v0.8.0

type MsgCancelContinuousFund struct {

	// Authority is the account address of authority.
	Authority string `protobuf:"bytes,1,opt,name=authority,proto3" json:"authority,omitempty"`
	// RecipientAddress is the account address of recipient whose funds are to be cancelled.
	RecipientAddress string `protobuf:"bytes,2,opt,name=recipient_address,json=recipientAddress,proto3" json:"recipient_address,omitempty"`
	// contains filtered or unexported fields
}

MsgCancelContinuousFund defines a message to cancel continuous funds for a specific recipient.

func (*MsgCancelContinuousFund) Descriptor deprecated added in v0.8.0

func (*MsgCancelContinuousFund) Descriptor() ([]byte, []int)

Deprecated: Use MsgCancelContinuousFund.ProtoReflect.Descriptor instead.

func (*MsgCancelContinuousFund) GetAuthority added in v0.8.0

func (x *MsgCancelContinuousFund) GetAuthority() string

func (*MsgCancelContinuousFund) GetRecipientAddress added in v0.8.0

func (x *MsgCancelContinuousFund) GetRecipientAddress() string

func (*MsgCancelContinuousFund) ProtoMessage added in v0.8.0

func (*MsgCancelContinuousFund) ProtoMessage()

func (*MsgCancelContinuousFund) ProtoReflect added in v0.8.0

func (x *MsgCancelContinuousFund) ProtoReflect() protoreflect.Message

func (*MsgCancelContinuousFund) Reset added in v0.8.0

func (x *MsgCancelContinuousFund) Reset()

func (*MsgCancelContinuousFund) String added in v0.8.0

func (x *MsgCancelContinuousFund) String() string

type MsgCancelContinuousFundResponse added in v0.8.0

type MsgCancelContinuousFundResponse struct {

	// CanceledTime is the canceled time.
	CanceledTime *timestamppb.Timestamp `protobuf:"bytes,1,opt,name=canceled_time,json=canceledTime,proto3" json:"canceled_time,omitempty"`
	// CanceledHeight defines the canceled block height.
	CanceledHeight uint64 `protobuf:"varint,2,opt,name=canceled_height,json=canceledHeight,proto3" json:"canceled_height,omitempty"`
	// RecipientAddress is the account address of recipient whose funds are cancelled.
	RecipientAddress string `protobuf:"bytes,3,opt,name=recipient_address,json=recipientAddress,proto3" json:"recipient_address,omitempty"`
	// withdrawnAllocatedFund represents the fund allocated to this recipient (if any) that have not been withdrawn yet,
	// before a cancellation request has been initiated.
	// It involves first withdrawing the funds and then canceling the request.
	WithdrawnAllocatedFund []*v1beta1.Coin `` /* 129-byte string literal not displayed */
	// contains filtered or unexported fields
}

MsgCancelContinuousFundResponse defines the response to executing a MsgCancelContinuousFund message.

func (*MsgCancelContinuousFundResponse) Descriptor deprecated added in v0.8.0

func (*MsgCancelContinuousFundResponse) Descriptor() ([]byte, []int)

Deprecated: Use MsgCancelContinuousFundResponse.ProtoReflect.Descriptor instead.

func (*MsgCancelContinuousFundResponse) GetCanceledHeight added in v0.8.0

func (x *MsgCancelContinuousFundResponse) GetCanceledHeight() uint64

func (*MsgCancelContinuousFundResponse) GetCanceledTime added in v0.8.0

func (*MsgCancelContinuousFundResponse) GetRecipientAddress added in v0.8.0

func (x *MsgCancelContinuousFundResponse) GetRecipientAddress() string

func (*MsgCancelContinuousFundResponse) GetWithdrawnAllocatedFund added in v0.8.0

func (x *MsgCancelContinuousFundResponse) GetWithdrawnAllocatedFund() []*v1beta1.Coin

func (*MsgCancelContinuousFundResponse) ProtoMessage added in v0.8.0

func (*MsgCancelContinuousFundResponse) ProtoMessage()

func (*MsgCancelContinuousFundResponse) ProtoReflect added in v0.8.0

func (*MsgCancelContinuousFundResponse) Reset added in v0.8.0

func (*MsgCancelContinuousFundResponse) String added in v0.8.0

type MsgClaimBudget added in v0.8.0

type MsgClaimBudget struct {
	RecipientAddress string `protobuf:"bytes,1,opt,name=recipient_address,json=recipientAddress,proto3" json:"recipient_address,omitempty"`
	// contains filtered or unexported fields
}

MsgClaimBudget defines a message for claiming the distributed budget.

func (*MsgClaimBudget) Descriptor deprecated added in v0.8.0

func (*MsgClaimBudget) Descriptor() ([]byte, []int)

Deprecated: Use MsgClaimBudget.ProtoReflect.Descriptor instead.

func (*MsgClaimBudget) GetRecipientAddress added in v0.8.0

func (x *MsgClaimBudget) GetRecipientAddress() string

func (*MsgClaimBudget) ProtoMessage added in v0.8.0

func (*MsgClaimBudget) ProtoMessage()

func (*MsgClaimBudget) ProtoReflect added in v0.8.0

func (x *MsgClaimBudget) ProtoReflect() protoreflect.Message

func (*MsgClaimBudget) Reset added in v0.8.0

func (x *MsgClaimBudget) Reset()

func (*MsgClaimBudget) String added in v0.8.0

func (x *MsgClaimBudget) String() string

type MsgClaimBudgetResponse added in v0.8.0

type MsgClaimBudgetResponse struct {
	Amount *v1beta1.Coin `protobuf:"bytes,1,opt,name=amount,proto3" json:"amount,omitempty"`
	// contains filtered or unexported fields
}

MsgClaimBudgetResponse defines the response to executing a MsgClaimBudget message.

func (*MsgClaimBudgetResponse) Descriptor deprecated added in v0.8.0

func (*MsgClaimBudgetResponse) Descriptor() ([]byte, []int)

Deprecated: Use MsgClaimBudgetResponse.ProtoReflect.Descriptor instead.

func (*MsgClaimBudgetResponse) GetAmount added in v0.8.0

func (x *MsgClaimBudgetResponse) GetAmount() *v1beta1.Coin

func (*MsgClaimBudgetResponse) ProtoMessage added in v0.8.0

func (*MsgClaimBudgetResponse) ProtoMessage()

func (*MsgClaimBudgetResponse) ProtoReflect added in v0.8.0

func (x *MsgClaimBudgetResponse) ProtoReflect() protoreflect.Message

func (*MsgClaimBudgetResponse) Reset added in v0.8.0

func (x *MsgClaimBudgetResponse) Reset()

func (*MsgClaimBudgetResponse) String added in v0.8.0

func (x *MsgClaimBudgetResponse) String() string

type MsgClient

type MsgClient interface {
	// FundCommunityPool defines a method to allow an account to directly
	// fund the community pool.
	FundCommunityPool(ctx context.Context, in *MsgFundCommunityPool, opts ...grpc.CallOption) (*MsgFundCommunityPoolResponse, error)
	// CommunityPoolSpend defines a governance operation for sending tokens from
	// the community pool in the x/protocolpool module to another account, which
	// could be the governance module itself. The authority is defined in the
	// keeper.
	CommunityPoolSpend(ctx context.Context, in *MsgCommunityPoolSpend, opts ...grpc.CallOption) (*MsgCommunityPoolSpendResponse, error)
	// SubmitBudgetProposal defines a method to set a budget proposal.
	SubmitBudgetProposal(ctx context.Context, in *MsgSubmitBudgetProposal, opts ...grpc.CallOption) (*MsgSubmitBudgetProposalResponse, error)
	// ClaimBudget defines a method to claim the distributed budget.
	ClaimBudget(ctx context.Context, in *MsgClaimBudget, opts ...grpc.CallOption) (*MsgClaimBudgetResponse, error)
	// CreateContinuousFund defines a method to add funds continuously.
	CreateContinuousFund(ctx context.Context, in *MsgCreateContinuousFund, opts ...grpc.CallOption) (*MsgCreateContinuousFundResponse, error)
	// WithdrawContinuousFund defines a method to withdraw continuous fund allocated.
	WithdrawContinuousFund(ctx context.Context, in *MsgWithdrawContinuousFund, opts ...grpc.CallOption) (*MsgWithdrawContinuousFundResponse, error)
	// CancelContinuousFund defines a method for cancelling continuous fund.
	CancelContinuousFund(ctx context.Context, in *MsgCancelContinuousFund, opts ...grpc.CallOption) (*MsgCancelContinuousFundResponse, error)
	// UpdateParams defines a governance operation for updating the x/protocolpool module parameters.
	// The authority is defined in the keeper.
	UpdateParams(ctx context.Context, in *MsgUpdateParams, opts ...grpc.CallOption) (*MsgUpdateParamsResponse, error)
}

MsgClient is the client API for Msg service.

For semantics around ctx use and closing/ending streaming RPCs, please refer to https://pkg.go.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream.

Msg defines the pool Msg service.

func NewMsgClient

func NewMsgClient(cc grpc.ClientConnInterface) MsgClient

type MsgCommunityPoolSpend

type MsgCommunityPoolSpend struct {

	// Authority is the address that controls the module (defaults to x/gov unless overwritten).
	Authority string          `protobuf:"bytes,1,opt,name=authority,proto3" json:"authority,omitempty"`
	Recipient string          `protobuf:"bytes,2,opt,name=recipient,proto3" json:"recipient,omitempty"`
	Amount    []*v1beta1.Coin `protobuf:"bytes,3,rep,name=amount,proto3" json:"amount,omitempty"`
	// contains filtered or unexported fields
}

MsgCommunityPoolSpend defines a message for sending tokens from the community pool to another account. This message is typically executed via a governance proposal with the governance module being the executing authority.

func (*MsgCommunityPoolSpend) Descriptor deprecated

func (*MsgCommunityPoolSpend) Descriptor() ([]byte, []int)

Deprecated: Use MsgCommunityPoolSpend.ProtoReflect.Descriptor instead.

func (*MsgCommunityPoolSpend) GetAmount

func (x *MsgCommunityPoolSpend) GetAmount() []*v1beta1.Coin

func (*MsgCommunityPoolSpend) GetAuthority

func (x *MsgCommunityPoolSpend) GetAuthority() string

func (*MsgCommunityPoolSpend) GetRecipient

func (x *MsgCommunityPoolSpend) GetRecipient() string

func (*MsgCommunityPoolSpend) ProtoMessage

func (*MsgCommunityPoolSpend) ProtoMessage()

func (*MsgCommunityPoolSpend) ProtoReflect

func (x *MsgCommunityPoolSpend) ProtoReflect() protoreflect.Message

func (*MsgCommunityPoolSpend) Reset

func (x *MsgCommunityPoolSpend) Reset()

func (*MsgCommunityPoolSpend) String

func (x *MsgCommunityPoolSpend) String() string

type MsgCommunityPoolSpendResponse

type MsgCommunityPoolSpendResponse struct {
	// contains filtered or unexported fields
}

MsgCommunityPoolSpendResponse defines the response to executing a MsgCommunityPoolSpend message.

func (*MsgCommunityPoolSpendResponse) Descriptor deprecated

func (*MsgCommunityPoolSpendResponse) Descriptor() ([]byte, []int)

Deprecated: Use MsgCommunityPoolSpendResponse.ProtoReflect.Descriptor instead.

func (*MsgCommunityPoolSpendResponse) ProtoMessage

func (*MsgCommunityPoolSpendResponse) ProtoMessage()

func (*MsgCommunityPoolSpendResponse) ProtoReflect

func (*MsgCommunityPoolSpendResponse) Reset

func (x *MsgCommunityPoolSpendResponse) Reset()

func (*MsgCommunityPoolSpendResponse) String

type MsgCreateContinuousFund added in v0.8.0

type MsgCreateContinuousFund struct {

	// Authority is the address that controls the module (defaults to x/gov unless overwritten).
	Authority string `protobuf:"bytes,1,opt,name=authority,proto3" json:"authority,omitempty"`
	// Recipient address of the account receiving funds.
	Recipient string `protobuf:"bytes,2,opt,name=recipient,proto3" json:"recipient,omitempty"`
	// Percentage is the percentage of funds to be allocated from Community pool.
	Percentage string `protobuf:"bytes,3,opt,name=percentage,proto3" json:"percentage,omitempty"`
	// Optional, if expiry is set, removes the state object when expired.
	Expiry *timestamppb.Timestamp `protobuf:"bytes,4,opt,name=expiry,proto3" json:"expiry,omitempty"`
	// contains filtered or unexported fields
}

MsgCreateContinuousFund defines a message for adding continuous funds.

func (*MsgCreateContinuousFund) Descriptor deprecated added in v0.8.0

func (*MsgCreateContinuousFund) Descriptor() ([]byte, []int)

Deprecated: Use MsgCreateContinuousFund.ProtoReflect.Descriptor instead.

func (*MsgCreateContinuousFund) GetAuthority added in v0.8.0

func (x *MsgCreateContinuousFund) GetAuthority() string

func (*MsgCreateContinuousFund) GetExpiry added in v0.8.0

func (*MsgCreateContinuousFund) GetPercentage added in v0.8.0

func (x *MsgCreateContinuousFund) GetPercentage() string

func (*MsgCreateContinuousFund) GetRecipient added in v0.8.0

func (x *MsgCreateContinuousFund) GetRecipient() string

func (*MsgCreateContinuousFund) ProtoMessage added in v0.8.0

func (*MsgCreateContinuousFund) ProtoMessage()

func (*MsgCreateContinuousFund) ProtoReflect added in v0.8.0

func (x *MsgCreateContinuousFund) ProtoReflect() protoreflect.Message

func (*MsgCreateContinuousFund) Reset added in v0.8.0

func (x *MsgCreateContinuousFund) Reset()

func (*MsgCreateContinuousFund) String added in v0.8.0

func (x *MsgCreateContinuousFund) String() string

type MsgCreateContinuousFundResponse added in v0.8.0

type MsgCreateContinuousFundResponse struct {
	// contains filtered or unexported fields
}

MsgCreateContinuousFundResponse defines the response to executing a MsgCreateContinuousFund message.

func (*MsgCreateContinuousFundResponse) Descriptor deprecated added in v0.8.0

func (*MsgCreateContinuousFundResponse) Descriptor() ([]byte, []int)

Deprecated: Use MsgCreateContinuousFundResponse.ProtoReflect.Descriptor instead.

func (*MsgCreateContinuousFundResponse) ProtoMessage added in v0.8.0

func (*MsgCreateContinuousFundResponse) ProtoMessage()

func (*MsgCreateContinuousFundResponse) ProtoReflect added in v0.8.0

func (*MsgCreateContinuousFundResponse) Reset added in v0.8.0

func (*MsgCreateContinuousFundResponse) String added in v0.8.0

type MsgFundCommunityPool

type MsgFundCommunityPool struct {
	Amount    []*v1beta1.Coin `protobuf:"bytes,1,rep,name=amount,proto3" json:"amount,omitempty"`
	Depositor string          `protobuf:"bytes,2,opt,name=depositor,proto3" json:"depositor,omitempty"`
	// contains filtered or unexported fields
}

MsgFundCommunityPool allows an account to directly fund the community pool.

func (*MsgFundCommunityPool) Descriptor deprecated

func (*MsgFundCommunityPool) Descriptor() ([]byte, []int)

Deprecated: Use MsgFundCommunityPool.ProtoReflect.Descriptor instead.

func (*MsgFundCommunityPool) GetAmount

func (x *MsgFundCommunityPool) GetAmount() []*v1beta1.Coin

func (*MsgFundCommunityPool) GetDepositor

func (x *MsgFundCommunityPool) GetDepositor() string

func (*MsgFundCommunityPool) ProtoMessage

func (*MsgFundCommunityPool) ProtoMessage()

func (*MsgFundCommunityPool) ProtoReflect

func (x *MsgFundCommunityPool) ProtoReflect() protoreflect.Message

func (*MsgFundCommunityPool) Reset

func (x *MsgFundCommunityPool) Reset()

func (*MsgFundCommunityPool) String

func (x *MsgFundCommunityPool) String() string

type MsgFundCommunityPoolResponse

type MsgFundCommunityPoolResponse struct {
	// contains filtered or unexported fields
}

MsgFundCommunityPoolResponse defines the Msg/FundCommunityPool response type.

func (*MsgFundCommunityPoolResponse) Descriptor deprecated

func (*MsgFundCommunityPoolResponse) Descriptor() ([]byte, []int)

Deprecated: Use MsgFundCommunityPoolResponse.ProtoReflect.Descriptor instead.

func (*MsgFundCommunityPoolResponse) ProtoMessage

func (*MsgFundCommunityPoolResponse) ProtoMessage()

func (*MsgFundCommunityPoolResponse) ProtoReflect

func (*MsgFundCommunityPoolResponse) Reset

func (x *MsgFundCommunityPoolResponse) Reset()

func (*MsgFundCommunityPoolResponse) String

type MsgServer

type MsgServer interface {
	// FundCommunityPool defines a method to allow an account to directly
	// fund the community pool.
	FundCommunityPool(context.Context, *MsgFundCommunityPool) (*MsgFundCommunityPoolResponse, error)
	// CommunityPoolSpend defines a governance operation for sending tokens from
	// the community pool in the x/protocolpool module to another account, which
	// could be the governance module itself. The authority is defined in the
	// keeper.
	CommunityPoolSpend(context.Context, *MsgCommunityPoolSpend) (*MsgCommunityPoolSpendResponse, error)
	// SubmitBudgetProposal defines a method to set a budget proposal.
	SubmitBudgetProposal(context.Context, *MsgSubmitBudgetProposal) (*MsgSubmitBudgetProposalResponse, error)
	// ClaimBudget defines a method to claim the distributed budget.
	ClaimBudget(context.Context, *MsgClaimBudget) (*MsgClaimBudgetResponse, error)
	// CreateContinuousFund defines a method to add funds continuously.
	CreateContinuousFund(context.Context, *MsgCreateContinuousFund) (*MsgCreateContinuousFundResponse, error)
	// WithdrawContinuousFund defines a method to withdraw continuous fund allocated.
	WithdrawContinuousFund(context.Context, *MsgWithdrawContinuousFund) (*MsgWithdrawContinuousFundResponse, error)
	// CancelContinuousFund defines a method for cancelling continuous fund.
	CancelContinuousFund(context.Context, *MsgCancelContinuousFund) (*MsgCancelContinuousFundResponse, error)
	// UpdateParams defines a governance operation for updating the x/protocolpool module parameters.
	// The authority is defined in the keeper.
	UpdateParams(context.Context, *MsgUpdateParams) (*MsgUpdateParamsResponse, error)
	// contains filtered or unexported methods
}

MsgServer is the server API for Msg service. All implementations must embed UnimplementedMsgServer for forward compatibility.

Msg defines the pool Msg service.

type MsgSubmitBudgetProposal added in v0.8.0

type MsgSubmitBudgetProposal struct {

	// Authority is the address that controls the module (defaults to x/gov unless overwritten).
	Authority string `protobuf:"bytes,1,opt,name=authority,proto3" json:"authority,omitempty"`
	// RecipientAddress is the address of the recipient who can claim the budget.
	RecipientAddress string `protobuf:"bytes,2,opt,name=recipient_address,json=recipientAddress,proto3" json:"recipient_address,omitempty"`
	// BudgetPerTranche is the amount allocated per tranche.
	BudgetPerTranche *v1beta1.Coin `protobuf:"bytes,3,opt,name=budget_per_tranche,json=budgetPerTranche,proto3" json:"budget_per_tranche,omitempty"`
	// StartTime is the time when the budget becomes claimable.
	// If StartTime is less than the current block time, proposal will not be accepted.
	StartTime *timestamppb.Timestamp `protobuf:"bytes,4,opt,name=start_time,json=startTime,proto3" json:"start_time,omitempty"`
	// Tranches is the number of times the budget amount is to be distributed.
	Tranches uint64 `protobuf:"varint,5,opt,name=tranches,proto3" json:"tranches,omitempty"`
	// Period is the time interval(number of seconds) at which funds distribution should be performed.
	// For example, if a period is set to 3600, it represents an action that
	// should occur every hour (3600 seconds).
	Period *durationpb.Duration `protobuf:"bytes,6,opt,name=period,proto3" json:"period,omitempty"`
	// contains filtered or unexported fields
}

MsgSubmitBudgetProposal defines budget proposal type.

func (*MsgSubmitBudgetProposal) Descriptor deprecated added in v0.8.0

func (*MsgSubmitBudgetProposal) Descriptor() ([]byte, []int)

Deprecated: Use MsgSubmitBudgetProposal.ProtoReflect.Descriptor instead.

func (*MsgSubmitBudgetProposal) GetAuthority added in v0.8.0

func (x *MsgSubmitBudgetProposal) GetAuthority() string

func (*MsgSubmitBudgetProposal) GetBudgetPerTranche added in v0.8.0

func (x *MsgSubmitBudgetProposal) GetBudgetPerTranche() *v1beta1.Coin

func (*MsgSubmitBudgetProposal) GetPeriod added in v0.8.0

func (*MsgSubmitBudgetProposal) GetRecipientAddress added in v0.8.0

func (x *MsgSubmitBudgetProposal) GetRecipientAddress() string

func (*MsgSubmitBudgetProposal) GetStartTime added in v0.8.0

func (x *MsgSubmitBudgetProposal) GetStartTime() *timestamppb.Timestamp

func (*MsgSubmitBudgetProposal) GetTranches added in v0.8.0

func (x *MsgSubmitBudgetProposal) GetTranches() uint64

func (*MsgSubmitBudgetProposal) ProtoMessage added in v0.8.0

func (*MsgSubmitBudgetProposal) ProtoMessage()

func (*MsgSubmitBudgetProposal) ProtoReflect added in v0.8.0

func (x *MsgSubmitBudgetProposal) ProtoReflect() protoreflect.Message

func (*MsgSubmitBudgetProposal) Reset added in v0.8.0

func (x *MsgSubmitBudgetProposal) Reset()

func (*MsgSubmitBudgetProposal) String added in v0.8.0

func (x *MsgSubmitBudgetProposal) String() string

type MsgSubmitBudgetProposalResponse added in v0.8.0

type MsgSubmitBudgetProposalResponse struct {
	// contains filtered or unexported fields
}

MsgSubmitBudgetProposalResponse defines the response to executing a MsgSubmitBudgetProposal message.

func (*MsgSubmitBudgetProposalResponse) Descriptor deprecated added in v0.8.0

func (*MsgSubmitBudgetProposalResponse) Descriptor() ([]byte, []int)

Deprecated: Use MsgSubmitBudgetProposalResponse.ProtoReflect.Descriptor instead.

func (*MsgSubmitBudgetProposalResponse) ProtoMessage added in v0.8.0

func (*MsgSubmitBudgetProposalResponse) ProtoMessage()

func (*MsgSubmitBudgetProposalResponse) ProtoReflect added in v0.8.0

func (*MsgSubmitBudgetProposalResponse) Reset added in v0.8.0

func (*MsgSubmitBudgetProposalResponse) String added in v0.8.0

type MsgUpdateParams added in v0.8.0

type MsgUpdateParams struct {

	// authority is the address that controls the module (defaults to x/gov unless overwritten).
	Authority string `protobuf:"bytes,1,opt,name=authority,proto3" json:"authority,omitempty"`
	// params defines the x/protocolpool parameters to update.
	//
	// NOTE: All parameters must be supplied.
	Params *Params `protobuf:"bytes,2,opt,name=params,proto3" json:"params,omitempty"`
	// contains filtered or unexported fields
}

MsgUpdateParams is the Msg/UpdateParams request type.

func (*MsgUpdateParams) Descriptor deprecated added in v0.8.0

func (*MsgUpdateParams) Descriptor() ([]byte, []int)

Deprecated: Use MsgUpdateParams.ProtoReflect.Descriptor instead.

func (*MsgUpdateParams) GetAuthority added in v0.8.0

func (x *MsgUpdateParams) GetAuthority() string

func (*MsgUpdateParams) GetParams added in v0.8.0

func (x *MsgUpdateParams) GetParams() *Params

func (*MsgUpdateParams) ProtoMessage added in v0.8.0

func (*MsgUpdateParams) ProtoMessage()

func (*MsgUpdateParams) ProtoReflect added in v0.8.0

func (x *MsgUpdateParams) ProtoReflect() protoreflect.Message

func (*MsgUpdateParams) Reset added in v0.8.0

func (x *MsgUpdateParams) Reset()

func (*MsgUpdateParams) String added in v0.8.0

func (x *MsgUpdateParams) String() string

type MsgUpdateParamsResponse added in v0.8.0

type MsgUpdateParamsResponse struct {
	// contains filtered or unexported fields
}

MsgUpdateParamsResponse defines the response structure for executing a MsgUpdateParams message.

func (*MsgUpdateParamsResponse) Descriptor deprecated added in v0.8.0

func (*MsgUpdateParamsResponse) Descriptor() ([]byte, []int)

Deprecated: Use MsgUpdateParamsResponse.ProtoReflect.Descriptor instead.

func (*MsgUpdateParamsResponse) ProtoMessage added in v0.8.0

func (*MsgUpdateParamsResponse) ProtoMessage()

func (*MsgUpdateParamsResponse) ProtoReflect added in v0.8.0

func (x *MsgUpdateParamsResponse) ProtoReflect() protoreflect.Message

func (*MsgUpdateParamsResponse) Reset added in v0.8.0

func (x *MsgUpdateParamsResponse) Reset()

func (*MsgUpdateParamsResponse) String added in v0.8.0

func (x *MsgUpdateParamsResponse) String() string

type MsgWithdrawContinuousFund added in v0.8.0

type MsgWithdrawContinuousFund struct {
	RecipientAddress string `protobuf:"bytes,1,opt,name=recipient_address,json=recipientAddress,proto3" json:"recipient_address,omitempty"`
	// contains filtered or unexported fields
}

MsgWithdrawContinuousFund defines a message for withdrawing the continuous fund allocated to it.

func (*MsgWithdrawContinuousFund) Descriptor deprecated added in v0.8.0

func (*MsgWithdrawContinuousFund) Descriptor() ([]byte, []int)

Deprecated: Use MsgWithdrawContinuousFund.ProtoReflect.Descriptor instead.

func (*MsgWithdrawContinuousFund) GetRecipientAddress added in v0.8.0

func (x *MsgWithdrawContinuousFund) GetRecipientAddress() string

func (*MsgWithdrawContinuousFund) ProtoMessage added in v0.8.0

func (*MsgWithdrawContinuousFund) ProtoMessage()

func (*MsgWithdrawContinuousFund) ProtoReflect added in v0.8.0

func (*MsgWithdrawContinuousFund) Reset added in v0.8.0

func (x *MsgWithdrawContinuousFund) Reset()

func (*MsgWithdrawContinuousFund) String added in v0.8.0

func (x *MsgWithdrawContinuousFund) String() string

type MsgWithdrawContinuousFundResponse added in v0.8.0

type MsgWithdrawContinuousFundResponse struct {
	Amount []*v1beta1.Coin `protobuf:"bytes,1,rep,name=amount,proto3" json:"amount,omitempty"`
	// contains filtered or unexported fields
}

MsgWithdrawContinuousFundResponse defines the response to executing a MsgWithdrawContinuousFund message.

func (*MsgWithdrawContinuousFundResponse) Descriptor deprecated added in v0.8.0

func (*MsgWithdrawContinuousFundResponse) Descriptor() ([]byte, []int)

Deprecated: Use MsgWithdrawContinuousFundResponse.ProtoReflect.Descriptor instead.

func (*MsgWithdrawContinuousFundResponse) GetAmount added in v0.8.0

func (*MsgWithdrawContinuousFundResponse) ProtoMessage added in v0.8.0

func (*MsgWithdrawContinuousFundResponse) ProtoMessage()

func (*MsgWithdrawContinuousFundResponse) ProtoReflect added in v0.8.0

func (*MsgWithdrawContinuousFundResponse) Reset added in v0.8.0

func (*MsgWithdrawContinuousFundResponse) String added in v0.8.0

type Params added in v0.8.0

type Params struct {

	// enabled_distribution_denoms lists the denoms that are allowed to be distributed.
	// This is to avoid spending time distributing undesired tokens to continuous funds and budgets.
	EnabledDistributionDenoms []string `` /* 138-byte string literal not displayed */
	// contains filtered or unexported fields
}

Params defines the parameters for the protocolpool module.

func (*Params) Descriptor deprecated added in v0.8.0

func (*Params) Descriptor() ([]byte, []int)

Deprecated: Use Params.ProtoReflect.Descriptor instead.

func (*Params) GetEnabledDistributionDenoms added in v0.8.0

func (x *Params) GetEnabledDistributionDenoms() []string

func (*Params) ProtoMessage added in v0.8.0

func (*Params) ProtoMessage()

func (*Params) ProtoReflect added in v0.8.0

func (x *Params) ProtoReflect() protoreflect.Message

func (*Params) Reset added in v0.8.0

func (x *Params) Reset()

func (*Params) String added in v0.8.0

func (x *Params) String() string

type QueryClient

type QueryClient interface {
	// CommunityPool queries the community pool coins.
	CommunityPool(ctx context.Context, in *QueryCommunityPoolRequest, opts ...grpc.CallOption) (*QueryCommunityPoolResponse, error)
	// UnclaimedBudget queries the remaining budget left to be claimed and it gives overall budget allocation view.
	UnclaimedBudget(ctx context.Context, in *QueryUnclaimedBudgetRequest, opts ...grpc.CallOption) (*QueryUnclaimedBudgetResponse, error)
}

QueryClient is the client API for Query service.

For semantics around ctx use and closing/ending streaming RPCs, please refer to https://pkg.go.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream.

Query defines the gRPC querier service for community pool module.

func NewQueryClient

func NewQueryClient(cc grpc.ClientConnInterface) QueryClient

type QueryCommunityPoolRequest

type QueryCommunityPoolRequest struct {
	// contains filtered or unexported fields
}

QueryCommunityPoolRequest is the request type for the Query/CommunityPool RPC method.

func (*QueryCommunityPoolRequest) Descriptor deprecated

func (*QueryCommunityPoolRequest) Descriptor() ([]byte, []int)

Deprecated: Use QueryCommunityPoolRequest.ProtoReflect.Descriptor instead.

func (*QueryCommunityPoolRequest) ProtoMessage

func (*QueryCommunityPoolRequest) ProtoMessage()

func (*QueryCommunityPoolRequest) ProtoReflect

func (*QueryCommunityPoolRequest) Reset

func (x *QueryCommunityPoolRequest) Reset()

func (*QueryCommunityPoolRequest) String

func (x *QueryCommunityPoolRequest) String() string

type QueryCommunityPoolResponse

type QueryCommunityPoolResponse struct {

	// pool defines community pool's coins.
	Pool []*v1beta1.DecCoin `protobuf:"bytes,1,rep,name=pool,proto3" json:"pool,omitempty"`
	// contains filtered or unexported fields
}

QueryCommunityPoolResponse is the response type for the Query/CommunityPool RPC method.

func (*QueryCommunityPoolResponse) Descriptor deprecated

func (*QueryCommunityPoolResponse) Descriptor() ([]byte, []int)

Deprecated: Use QueryCommunityPoolResponse.ProtoReflect.Descriptor instead.

func (*QueryCommunityPoolResponse) GetPool

func (x *QueryCommunityPoolResponse) GetPool() []*v1beta1.DecCoin

func (*QueryCommunityPoolResponse) ProtoMessage

func (*QueryCommunityPoolResponse) ProtoMessage()

func (*QueryCommunityPoolResponse) ProtoReflect

func (*QueryCommunityPoolResponse) Reset

func (x *QueryCommunityPoolResponse) Reset()

func (*QueryCommunityPoolResponse) String

func (x *QueryCommunityPoolResponse) String() string

type QueryServer

type QueryServer interface {
	// CommunityPool queries the community pool coins.
	CommunityPool(context.Context, *QueryCommunityPoolRequest) (*QueryCommunityPoolResponse, error)
	// UnclaimedBudget queries the remaining budget left to be claimed and it gives overall budget allocation view.
	UnclaimedBudget(context.Context, *QueryUnclaimedBudgetRequest) (*QueryUnclaimedBudgetResponse, error)
	// contains filtered or unexported methods
}

QueryServer is the server API for Query service. All implementations must embed UnimplementedQueryServer for forward compatibility.

Query defines the gRPC querier service for community pool module.

type QueryUnclaimedBudgetRequest added in v0.8.0

type QueryUnclaimedBudgetRequest struct {

	// address is the recipient address to query unclaimed budget amount for.
	Address string `protobuf:"bytes,1,opt,name=address,proto3" json:"address,omitempty"`
	// contains filtered or unexported fields
}

QueryUnclaimedBudgetRequest is the request type for the Query/UnclaimedBudgetRequest RPC method.

func (*QueryUnclaimedBudgetRequest) Descriptor deprecated added in v0.8.0

func (*QueryUnclaimedBudgetRequest) Descriptor() ([]byte, []int)

Deprecated: Use QueryUnclaimedBudgetRequest.ProtoReflect.Descriptor instead.

func (*QueryUnclaimedBudgetRequest) GetAddress added in v0.8.0

func (x *QueryUnclaimedBudgetRequest) GetAddress() string

func (*QueryUnclaimedBudgetRequest) ProtoMessage added in v0.8.0

func (*QueryUnclaimedBudgetRequest) ProtoMessage()

func (*QueryUnclaimedBudgetRequest) ProtoReflect added in v0.8.0

func (*QueryUnclaimedBudgetRequest) Reset added in v0.8.0

func (x *QueryUnclaimedBudgetRequest) Reset()

func (*QueryUnclaimedBudgetRequest) String added in v0.8.0

func (x *QueryUnclaimedBudgetRequest) String() string

type QueryUnclaimedBudgetResponse added in v0.8.0

type QueryUnclaimedBudgetResponse struct {

	// claimed_amount is the budget amount already claimed by the recipient
	ClaimedAmount *v1beta1.Coin `protobuf:"bytes,1,opt,name=claimed_amount,json=claimedAmount,proto3" json:"claimed_amount,omitempty"`
	// unclaimed_amount is the remaining budget amount that is unclaimed by the recipient
	UnclaimedAmount *v1beta1.Coin `protobuf:"bytes,2,opt,name=unclaimed_amount,json=unclaimedAmount,proto3" json:"unclaimed_amount,omitempty"`
	// next_claim_from is the next starting claim time for fund distribution.
	// It represents the time when we can claim funds after the period time interval has passed.
	NextClaimFrom *timestamppb.Timestamp `protobuf:"bytes,3,opt,name=next_claim_from,json=nextClaimFrom,proto3" json:"next_claim_from,omitempty"`
	// period is the time interval for fund distribution
	Period *durationpb.Duration `protobuf:"bytes,4,opt,name=period,proto3" json:"period,omitempty"`
	// tranches_left is the number of tranches left for the amount to be distributed
	TranchesLeft uint64 `protobuf:"varint,5,opt,name=tranches_left,json=tranchesLeft,proto3" json:"tranches_left,omitempty"`
	// contains filtered or unexported fields
}

QueryUnclaimedBudgetResponse is the response type for the Query/UnclaimedBudget RPC method.

func (*QueryUnclaimedBudgetResponse) Descriptor deprecated added in v0.8.0

func (*QueryUnclaimedBudgetResponse) Descriptor() ([]byte, []int)

Deprecated: Use QueryUnclaimedBudgetResponse.ProtoReflect.Descriptor instead.

func (*QueryUnclaimedBudgetResponse) GetClaimedAmount added in v0.8.0

func (x *QueryUnclaimedBudgetResponse) GetClaimedAmount() *v1beta1.Coin

func (*QueryUnclaimedBudgetResponse) GetNextClaimFrom added in v0.8.0

func (x *QueryUnclaimedBudgetResponse) GetNextClaimFrom() *timestamppb.Timestamp

func (*QueryUnclaimedBudgetResponse) GetPeriod added in v0.8.0

func (*QueryUnclaimedBudgetResponse) GetTranchesLeft added in v0.8.0

func (x *QueryUnclaimedBudgetResponse) GetTranchesLeft() uint64

func (*QueryUnclaimedBudgetResponse) GetUnclaimedAmount added in v0.8.0

func (x *QueryUnclaimedBudgetResponse) GetUnclaimedAmount() *v1beta1.Coin

func (*QueryUnclaimedBudgetResponse) ProtoMessage added in v0.8.0

func (*QueryUnclaimedBudgetResponse) ProtoMessage()

func (*QueryUnclaimedBudgetResponse) ProtoReflect added in v0.8.0

func (*QueryUnclaimedBudgetResponse) Reset added in v0.8.0

func (x *QueryUnclaimedBudgetResponse) Reset()

func (*QueryUnclaimedBudgetResponse) String added in v0.8.0

type UnimplementedMsgServer

type UnimplementedMsgServer struct{}

UnimplementedMsgServer must be embedded to have forward compatible implementations.

NOTE: this should be embedded by value instead of pointer to avoid a nil pointer dereference when methods are called.

func (UnimplementedMsgServer) CancelContinuousFund added in v0.8.0

func (UnimplementedMsgServer) ClaimBudget added in v0.8.0

func (UnimplementedMsgServer) CreateContinuousFund added in v0.8.0

func (UnimplementedMsgServer) SubmitBudgetProposal added in v0.8.0

func (UnimplementedMsgServer) UpdateParams added in v0.8.0

func (UnimplementedMsgServer) WithdrawContinuousFund added in v0.8.0

type UnimplementedQueryServer

type UnimplementedQueryServer struct{}

UnimplementedQueryServer must be embedded to have forward compatible implementations.

NOTE: this should be embedded by value instead of pointer to avoid a nil pointer dereference when methods are called.

func (UnimplementedQueryServer) UnclaimedBudget added in v0.8.0

type UnsafeMsgServer

type UnsafeMsgServer interface {
	// contains filtered or unexported methods
}

UnsafeMsgServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to MsgServer will result in compilation errors.

type UnsafeQueryServer

type UnsafeQueryServer interface {
	// contains filtered or unexported methods
}

UnsafeQueryServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to QueryServer will result in compilation errors.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL