commitment

package
v0.54.0 Latest Latest
Warning

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

Go to latest
Published: Dec 4, 2024 License: Apache-2.0 Imports: 21 Imported by: 0

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.

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

Index ¶

Constants ¶

This section is empty.

Variables ¶

View Source
var (
	EarnType_name = map[int32]string{
		0: "ALL_PROGRAM",
		1: "USDC_PROGRAM",
		2: "ELYS_PROGRAM",
		3: "EDEN_PROGRAM",
		4: "EDENB_PROGRAM",
		5: "LP_MINING_PROGRAM",
	}
	EarnType_value = map[string]int32{
		"ALL_PROGRAM":       0,
		"USDC_PROGRAM":      1,
		"ELYS_PROGRAM":      2,
		"EDEN_PROGRAM":      3,
		"EDENB_PROGRAM":     4,
		"LP_MINING_PROGRAM": 5,
	}
)

Enum value maps for EarnType.

View Source
var File_elys_commitment_commitments_proto protoreflect.FileDescriptor
View Source
var File_elys_commitment_genesis_proto protoreflect.FileDescriptor
View Source
var File_elys_commitment_params_proto protoreflect.FileDescriptor
View Source
var File_elys_commitment_query_proto protoreflect.FileDescriptor
View Source
var File_elys_commitment_tx_proto protoreflect.FileDescriptor
View Source
var Msg_ServiceDesc = grpc.ServiceDesc{
	ServiceName: "elys.commitment.Msg",
	HandlerType: (*MsgServer)(nil),
	Methods: []grpc.MethodDesc{
		{
			MethodName: "CommitClaimedRewards",
			Handler:    _Msg_CommitClaimedRewards_Handler,
		},
		{
			MethodName: "UncommitTokens",
			Handler:    _Msg_UncommitTokens_Handler,
		},
		{
			MethodName: "Vest",
			Handler:    _Msg_Vest_Handler,
		},
		{
			MethodName: "VestNow",
			Handler:    _Msg_VestNow_Handler,
		},
		{
			MethodName: "VestLiquid",
			Handler:    _Msg_VestLiquid_Handler,
		},
		{
			MethodName: "CancelVest",
			Handler:    _Msg_CancelVest_Handler,
		},
		{
			MethodName: "ClaimVesting",
			Handler:    _Msg_ClaimVesting_Handler,
		},
		{
			MethodName: "UpdateVestingInfo",
			Handler:    _Msg_UpdateVestingInfo_Handler,
		},
		{
			MethodName: "UpdateEnableVestNow",
			Handler:    _Msg_UpdateEnableVestNow_Handler,
		},
		{
			MethodName: "Stake",
			Handler:    _Msg_Stake_Handler,
		},
		{
			MethodName: "Unstake",
			Handler:    _Msg_Unstake_Handler,
		},
	},
	Streams:  []grpc.StreamDesc{},
	Metadata: "elys/commitment/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: "elys.commitment.Query",
	HandlerType: (*QueryServer)(nil),
	Methods: []grpc.MethodDesc{
		{
			MethodName: "Params",
			Handler:    _Query_Params_Handler,
		},
		{
			MethodName: "ShowCommitments",
			Handler:    _Query_ShowCommitments_Handler,
		},
		{
			MethodName: "CommittedTokensLocked",
			Handler:    _Query_CommittedTokensLocked_Handler,
		},
		{
			MethodName: "NumberOfCommitments",
			Handler:    _Query_NumberOfCommitments_Handler,
		},
		{
			MethodName: "CommitmentVestingInfo",
			Handler:    _Query_CommitmentVestingInfo_Handler,
		},
	},
	Streams:  []grpc.StreamDesc{},
	Metadata: "elys/commitment/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 Commitments ¶

type Commitments struct {
	Creator         string             `protobuf:"bytes,1,opt,name=creator,proto3" json:"creator,omitempty"`
	CommittedTokens []*CommittedTokens `protobuf:"bytes,2,rep,name=committed_tokens,json=committedTokens,proto3" json:"committed_tokens,omitempty"`
	Claimed         []*v1beta1.Coin    `protobuf:"bytes,3,rep,name=claimed,proto3" json:"claimed,omitempty"`
	VestingTokens   []*VestingTokens   `protobuf:"bytes,4,rep,name=vesting_tokens,json=vestingTokens,proto3" json:"vesting_tokens,omitempty"`
	// contains filtered or unexported fields
}

GenesisState defines the commitment module's genesis state.

func (*Commitments) Descriptor deprecated

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

Deprecated: Use Commitments.ProtoReflect.Descriptor instead.

func (*Commitments) GetClaimed ¶

func (x *Commitments) GetClaimed() []*v1beta1.Coin

func (*Commitments) GetCommittedTokens ¶

func (x *Commitments) GetCommittedTokens() []*CommittedTokens

func (*Commitments) GetCreator ¶

func (x *Commitments) GetCreator() string

func (*Commitments) GetVestingTokens ¶

func (x *Commitments) GetVestingTokens() []*VestingTokens

func (*Commitments) ProtoMessage ¶

func (*Commitments) ProtoMessage()

func (*Commitments) ProtoReflect ¶

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

func (*Commitments) Reset ¶

func (x *Commitments) Reset()

func (*Commitments) String ¶

func (x *Commitments) String() string

type CommittedTokens ¶

type CommittedTokens struct {
	Denom   string    `protobuf:"bytes,1,opt,name=denom,proto3" json:"denom,omitempty"`
	Amount  string    `protobuf:"bytes,2,opt,name=amount,proto3" json:"amount,omitempty"`
	Lockups []*Lockup `protobuf:"bytes,3,rep,name=lockups,proto3" json:"lockups,omitempty"`
	// contains filtered or unexported fields
}

func (*CommittedTokens) Descriptor deprecated

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

Deprecated: Use CommittedTokens.ProtoReflect.Descriptor instead.

func (*CommittedTokens) GetAmount ¶

func (x *CommittedTokens) GetAmount() string

func (*CommittedTokens) GetDenom ¶

func (x *CommittedTokens) GetDenom() string

func (*CommittedTokens) GetLockups ¶

func (x *CommittedTokens) GetLockups() []*Lockup

func (*CommittedTokens) ProtoMessage ¶

func (*CommittedTokens) ProtoMessage()

func (*CommittedTokens) ProtoReflect ¶

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

func (*CommittedTokens) Reset ¶

func (x *CommittedTokens) Reset()

func (*CommittedTokens) String ¶

func (x *CommittedTokens) String() string

type EarnType ¶

type EarnType int32
const (
	EarnType_ALL_PROGRAM       EarnType = 0
	EarnType_USDC_PROGRAM      EarnType = 1
	EarnType_ELYS_PROGRAM      EarnType = 2
	EarnType_EDEN_PROGRAM      EarnType = 3
	EarnType_EDENB_PROGRAM     EarnType = 4
	EarnType_LP_MINING_PROGRAM EarnType = 5
)

func (EarnType) Descriptor ¶

func (EarnType) Descriptor() protoreflect.EnumDescriptor

func (EarnType) Enum ¶

func (x EarnType) Enum() *EarnType

func (EarnType) EnumDescriptor deprecated

func (EarnType) EnumDescriptor() ([]byte, []int)

Deprecated: Use EarnType.Descriptor instead.

func (EarnType) Number ¶

func (x EarnType) Number() protoreflect.EnumNumber

func (EarnType) String ¶

func (x EarnType) String() string

func (EarnType) Type ¶

type GenesisState ¶

type GenesisState struct {
	Params      *Params        `protobuf:"bytes,1,opt,name=params,proto3" json:"params,omitempty"`
	Commitments []*Commitments `protobuf:"bytes,2,rep,name=commitments,proto3" json:"commitments,omitempty"`
	// contains filtered or unexported fields
}

GenesisState defines the commitment module's genesis state.

func (*GenesisState) Descriptor deprecated

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

Deprecated: Use GenesisState.ProtoReflect.Descriptor instead.

func (*GenesisState) GetCommitments ¶

func (x *GenesisState) GetCommitments() []*Commitments

func (*GenesisState) GetParams ¶

func (x *GenesisState) GetParams() *Params

func (*GenesisState) ProtoMessage ¶

func (*GenesisState) ProtoMessage()

func (*GenesisState) ProtoReflect ¶

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

func (*GenesisState) Reset ¶

func (x *GenesisState) Reset()

func (*GenesisState) String ¶

func (x *GenesisState) String() string

type LegacyParams ¶

type LegacyParams struct {
	VestingInfos        []*VestingInfo  `protobuf:"bytes,1,rep,name=vesting_infos,json=vestingInfos,proto3" json:"vesting_infos,omitempty"`
	TotalCommitted      []*v1beta1.Coin `protobuf:"bytes,2,rep,name=total_committed,json=totalCommitted,proto3" json:"total_committed,omitempty"`
	NumberOfCommitments uint64          `protobuf:"varint,3,opt,name=number_of_commitments,json=numberOfCommitments,proto3" json:"number_of_commitments,omitempty"`
	// contains filtered or unexported fields
}

Params defines the parameters for the module.

func (*LegacyParams) Descriptor deprecated

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

Deprecated: Use LegacyParams.ProtoReflect.Descriptor instead.

func (*LegacyParams) GetNumberOfCommitments ¶ added in v0.54.0

func (x *LegacyParams) GetNumberOfCommitments() uint64

func (*LegacyParams) GetTotalCommitted ¶

func (x *LegacyParams) GetTotalCommitted() []*v1beta1.Coin

func (*LegacyParams) GetVestingInfos ¶

func (x *LegacyParams) GetVestingInfos() []*VestingInfo

func (*LegacyParams) ProtoMessage ¶

func (*LegacyParams) ProtoMessage()

func (*LegacyParams) ProtoReflect ¶

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

func (*LegacyParams) Reset ¶

func (x *LegacyParams) Reset()

func (*LegacyParams) String ¶

func (x *LegacyParams) String() string

type Lockup ¶

type Lockup struct {
	Amount          string `protobuf:"bytes,1,opt,name=amount,proto3" json:"amount,omitempty"`
	UnlockTimestamp uint64 `protobuf:"varint,2,opt,name=unlock_timestamp,json=unlockTimestamp,proto3" json:"unlock_timestamp,omitempty"`
	// contains filtered or unexported fields
}

func (*Lockup) Descriptor deprecated

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

Deprecated: Use Lockup.ProtoReflect.Descriptor instead.

func (*Lockup) GetAmount ¶

func (x *Lockup) GetAmount() string

func (*Lockup) GetUnlockTimestamp ¶

func (x *Lockup) GetUnlockTimestamp() uint64

func (*Lockup) ProtoMessage ¶

func (*Lockup) ProtoMessage()

func (*Lockup) ProtoReflect ¶

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

func (*Lockup) Reset ¶

func (x *Lockup) Reset()

func (*Lockup) String ¶

func (x *Lockup) String() string

type MsgCancelVest ¶

type MsgCancelVest struct {
	Creator string `protobuf:"bytes,1,opt,name=creator,proto3" json:"creator,omitempty"`
	Amount  string `protobuf:"bytes,2,opt,name=amount,proto3" json:"amount,omitempty"`
	Denom   string `protobuf:"bytes,3,opt,name=denom,proto3" json:"denom,omitempty"`
	// contains filtered or unexported fields
}

func (*MsgCancelVest) Descriptor deprecated

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

Deprecated: Use MsgCancelVest.ProtoReflect.Descriptor instead.

func (*MsgCancelVest) GetAmount ¶

func (x *MsgCancelVest) GetAmount() string

func (*MsgCancelVest) GetCreator ¶

func (x *MsgCancelVest) GetCreator() string

func (*MsgCancelVest) GetDenom ¶

func (x *MsgCancelVest) GetDenom() string

func (*MsgCancelVest) ProtoMessage ¶

func (*MsgCancelVest) ProtoMessage()

func (*MsgCancelVest) ProtoReflect ¶

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

func (*MsgCancelVest) Reset ¶

func (x *MsgCancelVest) Reset()

func (*MsgCancelVest) String ¶

func (x *MsgCancelVest) String() string

type MsgCancelVestResponse ¶

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

func (*MsgCancelVestResponse) Descriptor deprecated

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

Deprecated: Use MsgCancelVestResponse.ProtoReflect.Descriptor instead.

func (*MsgCancelVestResponse) ProtoMessage ¶

func (*MsgCancelVestResponse) ProtoMessage()

func (*MsgCancelVestResponse) ProtoReflect ¶

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

func (*MsgCancelVestResponse) Reset ¶

func (x *MsgCancelVestResponse) Reset()

func (*MsgCancelVestResponse) String ¶

func (x *MsgCancelVestResponse) String() string

type MsgClaimVesting ¶

type MsgClaimVesting struct {
	Sender string `protobuf:"bytes,1,opt,name=sender,proto3" json:"sender,omitempty"`
	// contains filtered or unexported fields
}

func (*MsgClaimVesting) Descriptor deprecated

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

Deprecated: Use MsgClaimVesting.ProtoReflect.Descriptor instead.

func (*MsgClaimVesting) GetSender ¶

func (x *MsgClaimVesting) GetSender() string

func (*MsgClaimVesting) ProtoMessage ¶

func (*MsgClaimVesting) ProtoMessage()

func (*MsgClaimVesting) ProtoReflect ¶

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

func (*MsgClaimVesting) Reset ¶

func (x *MsgClaimVesting) Reset()

func (*MsgClaimVesting) String ¶

func (x *MsgClaimVesting) String() string

type MsgClaimVestingResponse ¶

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

func (*MsgClaimVestingResponse) Descriptor deprecated

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

Deprecated: Use MsgClaimVestingResponse.ProtoReflect.Descriptor instead.

func (*MsgClaimVestingResponse) ProtoMessage ¶

func (*MsgClaimVestingResponse) ProtoMessage()

func (*MsgClaimVestingResponse) ProtoReflect ¶

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

func (*MsgClaimVestingResponse) Reset ¶

func (x *MsgClaimVestingResponse) Reset()

func (*MsgClaimVestingResponse) String ¶

func (x *MsgClaimVestingResponse) String() string

type MsgClient ¶

type MsgClient interface {
	// CommitClaimedRewards commit the tokens on claimed store to committed
	CommitClaimedRewards(ctx context.Context, in *MsgCommitClaimedRewards, opts ...grpc.CallOption) (*MsgCommitClaimedRewardsResponse, error)
	// UncommitTokens uncommits the tokens from committed store and make it liquid
	// immediately
	UncommitTokens(ctx context.Context, in *MsgUncommitTokens, opts ...grpc.CallOption) (*MsgUncommitTokensResponse, error)
	// Vest converts user's commitment to vesting - start with unclaimed rewards
	// and if it's not enough deduct from committed bucket mainly utilized for
	// Eden
	Vest(ctx context.Context, in *MsgVest, opts ...grpc.CallOption) (*MsgVestResponse, error)
	// VestNow provides functionality to get the token immediately but lower
	// amount than original e.g. user can burn 1000 ueden and get 800 uelys when
	// the ratio is 80%
	VestNow(ctx context.Context, in *MsgVestNow, opts ...grpc.CallOption) (*MsgVestNowResponse, error)
	// VestLiquid converts user's balance to vesting to be utilized for normal
	// tokens vesting like ATOM vesting
	VestLiquid(ctx context.Context, in *MsgVestLiquid, opts ...grpc.CallOption) (*MsgVestLiquidResponse, error)
	// CancelVest cancel the user's vesting and the user reject to get vested
	// tokens
	CancelVest(ctx context.Context, in *MsgCancelVest, opts ...grpc.CallOption) (*MsgCancelVestResponse, error)
	// ClaimVesting claims already vested amount
	ClaimVesting(ctx context.Context, in *MsgClaimVesting, opts ...grpc.CallOption) (*MsgClaimVestingResponse, error)
	// UpdateVestingInfo add/update specific vesting info by denom on Params
	UpdateVestingInfo(ctx context.Context, in *MsgUpdateVestingInfo, opts ...grpc.CallOption) (*MsgUpdateVestingInfoResponse, error)
	// UpdateEnableVestNow add/update enable vest now on Params
	UpdateEnableVestNow(ctx context.Context, in *MsgUpdateEnableVestNow, opts ...grpc.CallOption) (*MsgUpdateEnableVestNowResponse, error)
	Stake(ctx context.Context, in *MsgStake, opts ...grpc.CallOption) (*MsgStakeResponse, error)
	Unstake(ctx context.Context, in *MsgUnstake, opts ...grpc.CallOption) (*MsgUnstakeResponse, 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.

func NewMsgClient ¶

func NewMsgClient(cc grpc.ClientConnInterface) MsgClient

type MsgCommitClaimedRewards ¶

type MsgCommitClaimedRewards struct {
	Creator string `protobuf:"bytes,1,opt,name=creator,proto3" json:"creator,omitempty"`
	Amount  string `protobuf:"bytes,2,opt,name=amount,proto3" json:"amount,omitempty"`
	Denom   string `protobuf:"bytes,3,opt,name=denom,proto3" json:"denom,omitempty"`
	// contains filtered or unexported fields
}

func (*MsgCommitClaimedRewards) Descriptor deprecated

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

Deprecated: Use MsgCommitClaimedRewards.ProtoReflect.Descriptor instead.

func (*MsgCommitClaimedRewards) GetAmount ¶

func (x *MsgCommitClaimedRewards) GetAmount() string

func (*MsgCommitClaimedRewards) GetCreator ¶

func (x *MsgCommitClaimedRewards) GetCreator() string

func (*MsgCommitClaimedRewards) GetDenom ¶

func (x *MsgCommitClaimedRewards) GetDenom() string

func (*MsgCommitClaimedRewards) ProtoMessage ¶

func (*MsgCommitClaimedRewards) ProtoMessage()

func (*MsgCommitClaimedRewards) ProtoReflect ¶

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

func (*MsgCommitClaimedRewards) Reset ¶

func (x *MsgCommitClaimedRewards) Reset()

func (*MsgCommitClaimedRewards) String ¶

func (x *MsgCommitClaimedRewards) String() string

type MsgCommitClaimedRewardsResponse ¶

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

func (*MsgCommitClaimedRewardsResponse) Descriptor deprecated

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

Deprecated: Use MsgCommitClaimedRewardsResponse.ProtoReflect.Descriptor instead.

func (*MsgCommitClaimedRewardsResponse) ProtoMessage ¶

func (*MsgCommitClaimedRewardsResponse) ProtoMessage()

func (*MsgCommitClaimedRewardsResponse) ProtoReflect ¶

func (*MsgCommitClaimedRewardsResponse) Reset ¶

func (*MsgCommitClaimedRewardsResponse) String ¶

type MsgServer ¶

type MsgServer interface {
	// CommitClaimedRewards commit the tokens on claimed store to committed
	CommitClaimedRewards(context.Context, *MsgCommitClaimedRewards) (*MsgCommitClaimedRewardsResponse, error)
	// UncommitTokens uncommits the tokens from committed store and make it liquid
	// immediately
	UncommitTokens(context.Context, *MsgUncommitTokens) (*MsgUncommitTokensResponse, error)
	// Vest converts user's commitment to vesting - start with unclaimed rewards
	// and if it's not enough deduct from committed bucket mainly utilized for
	// Eden
	Vest(context.Context, *MsgVest) (*MsgVestResponse, error)
	// VestNow provides functionality to get the token immediately but lower
	// amount than original e.g. user can burn 1000 ueden and get 800 uelys when
	// the ratio is 80%
	VestNow(context.Context, *MsgVestNow) (*MsgVestNowResponse, error)
	// VestLiquid converts user's balance to vesting to be utilized for normal
	// tokens vesting like ATOM vesting
	VestLiquid(context.Context, *MsgVestLiquid) (*MsgVestLiquidResponse, error)
	// CancelVest cancel the user's vesting and the user reject to get vested
	// tokens
	CancelVest(context.Context, *MsgCancelVest) (*MsgCancelVestResponse, error)
	// ClaimVesting claims already vested amount
	ClaimVesting(context.Context, *MsgClaimVesting) (*MsgClaimVestingResponse, error)
	// UpdateVestingInfo add/update specific vesting info by denom on Params
	UpdateVestingInfo(context.Context, *MsgUpdateVestingInfo) (*MsgUpdateVestingInfoResponse, error)
	// UpdateEnableVestNow add/update enable vest now on Params
	UpdateEnableVestNow(context.Context, *MsgUpdateEnableVestNow) (*MsgUpdateEnableVestNowResponse, error)
	Stake(context.Context, *MsgStake) (*MsgStakeResponse, error)
	Unstake(context.Context, *MsgUnstake) (*MsgUnstakeResponse, error)
	// contains filtered or unexported methods
}

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

type MsgStake ¶

type MsgStake struct {
	Creator          string `protobuf:"bytes,1,opt,name=creator,proto3" json:"creator,omitempty"`
	Amount           string `protobuf:"bytes,2,opt,name=amount,proto3" json:"amount,omitempty"`
	Asset            string `protobuf:"bytes,3,opt,name=asset,proto3" json:"asset,omitempty"`
	ValidatorAddress string `protobuf:"bytes,4,opt,name=validator_address,json=validatorAddress,proto3" json:"validator_address,omitempty"`
	// contains filtered or unexported fields
}

func (*MsgStake) Descriptor deprecated

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

Deprecated: Use MsgStake.ProtoReflect.Descriptor instead.

func (*MsgStake) GetAmount ¶

func (x *MsgStake) GetAmount() string

func (*MsgStake) GetAsset ¶

func (x *MsgStake) GetAsset() string

func (*MsgStake) GetCreator ¶

func (x *MsgStake) GetCreator() string

func (*MsgStake) GetValidatorAddress ¶

func (x *MsgStake) GetValidatorAddress() string

func (*MsgStake) ProtoMessage ¶

func (*MsgStake) ProtoMessage()

func (*MsgStake) ProtoReflect ¶

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

func (*MsgStake) Reset ¶

func (x *MsgStake) Reset()

func (*MsgStake) String ¶

func (x *MsgStake) String() string

type MsgStakeResponse ¶

type MsgStakeResponse struct {
	Code   uint64 `protobuf:"varint,1,opt,name=code,proto3" json:"code,omitempty"`
	Result string `protobuf:"bytes,2,opt,name=result,proto3" json:"result,omitempty"`
	// contains filtered or unexported fields
}

func (*MsgStakeResponse) Descriptor deprecated

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

Deprecated: Use MsgStakeResponse.ProtoReflect.Descriptor instead.

func (*MsgStakeResponse) GetCode ¶

func (x *MsgStakeResponse) GetCode() uint64

func (*MsgStakeResponse) GetResult ¶

func (x *MsgStakeResponse) GetResult() string

func (*MsgStakeResponse) ProtoMessage ¶

func (*MsgStakeResponse) ProtoMessage()

func (*MsgStakeResponse) ProtoReflect ¶

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

func (*MsgStakeResponse) Reset ¶

func (x *MsgStakeResponse) Reset()

func (*MsgStakeResponse) String ¶

func (x *MsgStakeResponse) String() string

type MsgUncommitTokens ¶

type MsgUncommitTokens struct {
	Creator string `protobuf:"bytes,1,opt,name=creator,proto3" json:"creator,omitempty"`
	Amount  string `protobuf:"bytes,2,opt,name=amount,proto3" json:"amount,omitempty"`
	Denom   string `protobuf:"bytes,3,opt,name=denom,proto3" json:"denom,omitempty"`
	// contains filtered or unexported fields
}

func (*MsgUncommitTokens) Descriptor deprecated

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

Deprecated: Use MsgUncommitTokens.ProtoReflect.Descriptor instead.

func (*MsgUncommitTokens) GetAmount ¶

func (x *MsgUncommitTokens) GetAmount() string

func (*MsgUncommitTokens) GetCreator ¶

func (x *MsgUncommitTokens) GetCreator() string

func (*MsgUncommitTokens) GetDenom ¶

func (x *MsgUncommitTokens) GetDenom() string

func (*MsgUncommitTokens) ProtoMessage ¶

func (*MsgUncommitTokens) ProtoMessage()

func (*MsgUncommitTokens) ProtoReflect ¶

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

func (*MsgUncommitTokens) Reset ¶

func (x *MsgUncommitTokens) Reset()

func (*MsgUncommitTokens) String ¶

func (x *MsgUncommitTokens) String() string

type MsgUncommitTokensResponse ¶

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

func (*MsgUncommitTokensResponse) Descriptor deprecated

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

Deprecated: Use MsgUncommitTokensResponse.ProtoReflect.Descriptor instead.

func (*MsgUncommitTokensResponse) ProtoMessage ¶

func (*MsgUncommitTokensResponse) ProtoMessage()

func (*MsgUncommitTokensResponse) ProtoReflect ¶

func (*MsgUncommitTokensResponse) Reset ¶

func (x *MsgUncommitTokensResponse) Reset()

func (*MsgUncommitTokensResponse) String ¶

func (x *MsgUncommitTokensResponse) String() string

type MsgUnstake ¶

type MsgUnstake struct {
	Creator          string `protobuf:"bytes,1,opt,name=creator,proto3" json:"creator,omitempty"`
	Amount           string `protobuf:"bytes,2,opt,name=amount,proto3" json:"amount,omitempty"`
	Asset            string `protobuf:"bytes,3,opt,name=asset,proto3" json:"asset,omitempty"`
	ValidatorAddress string `protobuf:"bytes,4,opt,name=validator_address,json=validatorAddress,proto3" json:"validator_address,omitempty"`
	// contains filtered or unexported fields
}

func (*MsgUnstake) Descriptor deprecated

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

Deprecated: Use MsgUnstake.ProtoReflect.Descriptor instead.

func (*MsgUnstake) GetAmount ¶

func (x *MsgUnstake) GetAmount() string

func (*MsgUnstake) GetAsset ¶

func (x *MsgUnstake) GetAsset() string

func (*MsgUnstake) GetCreator ¶

func (x *MsgUnstake) GetCreator() string

func (*MsgUnstake) GetValidatorAddress ¶

func (x *MsgUnstake) GetValidatorAddress() string

func (*MsgUnstake) ProtoMessage ¶

func (*MsgUnstake) ProtoMessage()

func (*MsgUnstake) ProtoReflect ¶

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

func (*MsgUnstake) Reset ¶

func (x *MsgUnstake) Reset()

func (*MsgUnstake) String ¶

func (x *MsgUnstake) String() string

type MsgUnstakeResponse ¶

type MsgUnstakeResponse struct {
	Code   uint64 `protobuf:"varint,1,opt,name=code,proto3" json:"code,omitempty"`
	Result string `protobuf:"bytes,2,opt,name=result,proto3" json:"result,omitempty"`
	// contains filtered or unexported fields
}

func (*MsgUnstakeResponse) Descriptor deprecated

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

Deprecated: Use MsgUnstakeResponse.ProtoReflect.Descriptor instead.

func (*MsgUnstakeResponse) GetCode ¶

func (x *MsgUnstakeResponse) GetCode() uint64

func (*MsgUnstakeResponse) GetResult ¶

func (x *MsgUnstakeResponse) GetResult() string

func (*MsgUnstakeResponse) ProtoMessage ¶

func (*MsgUnstakeResponse) ProtoMessage()

func (*MsgUnstakeResponse) ProtoReflect ¶

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

func (*MsgUnstakeResponse) Reset ¶

func (x *MsgUnstakeResponse) Reset()

func (*MsgUnstakeResponse) String ¶

func (x *MsgUnstakeResponse) String() string

type MsgUpdateEnableVestNow ¶ added in v0.54.0

type MsgUpdateEnableVestNow struct {
	Authority     string `protobuf:"bytes,1,opt,name=authority,proto3" json:"authority,omitempty"`
	EnableVestNow bool   `protobuf:"varint,2,opt,name=enable_vest_now,json=enableVestNow,proto3" json:"enable_vest_now,omitempty"`
	// contains filtered or unexported fields
}

func (*MsgUpdateEnableVestNow) Descriptor deprecated added in v0.54.0

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

Deprecated: Use MsgUpdateEnableVestNow.ProtoReflect.Descriptor instead.

func (*MsgUpdateEnableVestNow) GetAuthority ¶ added in v0.54.0

func (x *MsgUpdateEnableVestNow) GetAuthority() string

func (*MsgUpdateEnableVestNow) GetEnableVestNow ¶ added in v0.54.0

func (x *MsgUpdateEnableVestNow) GetEnableVestNow() bool

func (*MsgUpdateEnableVestNow) ProtoMessage ¶ added in v0.54.0

func (*MsgUpdateEnableVestNow) ProtoMessage()

func (*MsgUpdateEnableVestNow) ProtoReflect ¶ added in v0.54.0

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

func (*MsgUpdateEnableVestNow) Reset ¶ added in v0.54.0

func (x *MsgUpdateEnableVestNow) Reset()

func (*MsgUpdateEnableVestNow) String ¶ added in v0.54.0

func (x *MsgUpdateEnableVestNow) String() string

type MsgUpdateEnableVestNowResponse ¶ added in v0.54.0

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

func (*MsgUpdateEnableVestNowResponse) Descriptor deprecated added in v0.54.0

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

Deprecated: Use MsgUpdateEnableVestNowResponse.ProtoReflect.Descriptor instead.

func (*MsgUpdateEnableVestNowResponse) ProtoMessage ¶ added in v0.54.0

func (*MsgUpdateEnableVestNowResponse) ProtoMessage()

func (*MsgUpdateEnableVestNowResponse) ProtoReflect ¶ added in v0.54.0

func (*MsgUpdateEnableVestNowResponse) Reset ¶ added in v0.54.0

func (x *MsgUpdateEnableVestNowResponse) Reset()

func (*MsgUpdateEnableVestNowResponse) String ¶ added in v0.54.0

type MsgUpdateVestingInfo ¶

type MsgUpdateVestingInfo struct {
	Authority      string `protobuf:"bytes,1,opt,name=authority,proto3" json:"authority,omitempty"`
	BaseDenom      string `protobuf:"bytes,2,opt,name=base_denom,json=baseDenom,proto3" json:"base_denom,omitempty"`
	VestingDenom   string `protobuf:"bytes,3,opt,name=vesting_denom,json=vestingDenom,proto3" json:"vesting_denom,omitempty"`
	NumBlocks      int64  `protobuf:"varint,4,opt,name=num_blocks,json=numBlocks,proto3" json:"num_blocks,omitempty"`
	VestNowFactor  int64  `protobuf:"varint,5,opt,name=vest_now_factor,json=vestNowFactor,proto3" json:"vest_now_factor,omitempty"`
	NumMaxVestings int64  `protobuf:"varint,6,opt,name=num_max_vestings,json=numMaxVestings,proto3" json:"num_max_vestings,omitempty"`
	// contains filtered or unexported fields
}

func (*MsgUpdateVestingInfo) Descriptor deprecated

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

Deprecated: Use MsgUpdateVestingInfo.ProtoReflect.Descriptor instead.

func (*MsgUpdateVestingInfo) GetAuthority ¶

func (x *MsgUpdateVestingInfo) GetAuthority() string

func (*MsgUpdateVestingInfo) GetBaseDenom ¶

func (x *MsgUpdateVestingInfo) GetBaseDenom() string

func (*MsgUpdateVestingInfo) GetNumBlocks ¶

func (x *MsgUpdateVestingInfo) GetNumBlocks() int64

func (*MsgUpdateVestingInfo) GetNumMaxVestings ¶

func (x *MsgUpdateVestingInfo) GetNumMaxVestings() int64

func (*MsgUpdateVestingInfo) GetVestNowFactor ¶

func (x *MsgUpdateVestingInfo) GetVestNowFactor() int64

func (*MsgUpdateVestingInfo) GetVestingDenom ¶

func (x *MsgUpdateVestingInfo) GetVestingDenom() string

func (*MsgUpdateVestingInfo) ProtoMessage ¶

func (*MsgUpdateVestingInfo) ProtoMessage()

func (*MsgUpdateVestingInfo) ProtoReflect ¶

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

func (*MsgUpdateVestingInfo) Reset ¶

func (x *MsgUpdateVestingInfo) Reset()

func (*MsgUpdateVestingInfo) String ¶

func (x *MsgUpdateVestingInfo) String() string

type MsgUpdateVestingInfoResponse ¶

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

func (*MsgUpdateVestingInfoResponse) Descriptor deprecated

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

Deprecated: Use MsgUpdateVestingInfoResponse.ProtoReflect.Descriptor instead.

func (*MsgUpdateVestingInfoResponse) ProtoMessage ¶

func (*MsgUpdateVestingInfoResponse) ProtoMessage()

func (*MsgUpdateVestingInfoResponse) ProtoReflect ¶

func (*MsgUpdateVestingInfoResponse) Reset ¶

func (x *MsgUpdateVestingInfoResponse) Reset()

func (*MsgUpdateVestingInfoResponse) String ¶

type MsgVest ¶

type MsgVest struct {
	Creator string `protobuf:"bytes,1,opt,name=creator,proto3" json:"creator,omitempty"`
	Amount  string `protobuf:"bytes,2,opt,name=amount,proto3" json:"amount,omitempty"`
	Denom   string `protobuf:"bytes,3,opt,name=denom,proto3" json:"denom,omitempty"`
	// contains filtered or unexported fields
}

func (*MsgVest) Descriptor deprecated

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

Deprecated: Use MsgVest.ProtoReflect.Descriptor instead.

func (*MsgVest) GetAmount ¶

func (x *MsgVest) GetAmount() string

func (*MsgVest) GetCreator ¶

func (x *MsgVest) GetCreator() string

func (*MsgVest) GetDenom ¶

func (x *MsgVest) GetDenom() string

func (*MsgVest) ProtoMessage ¶

func (*MsgVest) ProtoMessage()

func (*MsgVest) ProtoReflect ¶

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

func (*MsgVest) Reset ¶

func (x *MsgVest) Reset()

func (*MsgVest) String ¶

func (x *MsgVest) String() string

type MsgVestLiquid ¶

type MsgVestLiquid struct {
	Creator string `protobuf:"bytes,1,opt,name=creator,proto3" json:"creator,omitempty"`
	Amount  string `protobuf:"bytes,2,opt,name=amount,proto3" json:"amount,omitempty"`
	Denom   string `protobuf:"bytes,3,opt,name=denom,proto3" json:"denom,omitempty"`
	// contains filtered or unexported fields
}

func (*MsgVestLiquid) Descriptor deprecated

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

Deprecated: Use MsgVestLiquid.ProtoReflect.Descriptor instead.

func (*MsgVestLiquid) GetAmount ¶

func (x *MsgVestLiquid) GetAmount() string

func (*MsgVestLiquid) GetCreator ¶

func (x *MsgVestLiquid) GetCreator() string

func (*MsgVestLiquid) GetDenom ¶

func (x *MsgVestLiquid) GetDenom() string

func (*MsgVestLiquid) ProtoMessage ¶

func (*MsgVestLiquid) ProtoMessage()

func (*MsgVestLiquid) ProtoReflect ¶

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

func (*MsgVestLiquid) Reset ¶

func (x *MsgVestLiquid) Reset()

func (*MsgVestLiquid) String ¶

func (x *MsgVestLiquid) String() string

type MsgVestLiquidResponse ¶

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

func (*MsgVestLiquidResponse) Descriptor deprecated

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

Deprecated: Use MsgVestLiquidResponse.ProtoReflect.Descriptor instead.

func (*MsgVestLiquidResponse) ProtoMessage ¶

func (*MsgVestLiquidResponse) ProtoMessage()

func (*MsgVestLiquidResponse) ProtoReflect ¶

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

func (*MsgVestLiquidResponse) Reset ¶

func (x *MsgVestLiquidResponse) Reset()

func (*MsgVestLiquidResponse) String ¶

func (x *MsgVestLiquidResponse) String() string

type MsgVestNow ¶

type MsgVestNow struct {
	Creator string `protobuf:"bytes,1,opt,name=creator,proto3" json:"creator,omitempty"`
	Amount  string `protobuf:"bytes,2,opt,name=amount,proto3" json:"amount,omitempty"`
	Denom   string `protobuf:"bytes,3,opt,name=denom,proto3" json:"denom,omitempty"`
	// contains filtered or unexported fields
}

func (*MsgVestNow) Descriptor deprecated

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

Deprecated: Use MsgVestNow.ProtoReflect.Descriptor instead.

func (*MsgVestNow) GetAmount ¶

func (x *MsgVestNow) GetAmount() string

func (*MsgVestNow) GetCreator ¶

func (x *MsgVestNow) GetCreator() string

func (*MsgVestNow) GetDenom ¶

func (x *MsgVestNow) GetDenom() string

func (*MsgVestNow) ProtoMessage ¶

func (*MsgVestNow) ProtoMessage()

func (*MsgVestNow) ProtoReflect ¶

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

func (*MsgVestNow) Reset ¶

func (x *MsgVestNow) Reset()

func (*MsgVestNow) String ¶

func (x *MsgVestNow) String() string

type MsgVestNowResponse ¶

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

func (*MsgVestNowResponse) Descriptor deprecated

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

Deprecated: Use MsgVestNowResponse.ProtoReflect.Descriptor instead.

func (*MsgVestNowResponse) ProtoMessage ¶

func (*MsgVestNowResponse) ProtoMessage()

func (*MsgVestNowResponse) ProtoReflect ¶

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

func (*MsgVestNowResponse) Reset ¶

func (x *MsgVestNowResponse) Reset()

func (*MsgVestNowResponse) String ¶

func (x *MsgVestNowResponse) String() string

type MsgVestResponse ¶

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

func (*MsgVestResponse) Descriptor deprecated

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

Deprecated: Use MsgVestResponse.ProtoReflect.Descriptor instead.

func (*MsgVestResponse) ProtoMessage ¶

func (*MsgVestResponse) ProtoMessage()

func (*MsgVestResponse) ProtoReflect ¶

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

func (*MsgVestResponse) Reset ¶

func (x *MsgVestResponse) Reset()

func (*MsgVestResponse) String ¶

func (x *MsgVestResponse) String() string

type Params ¶

type Params struct {
	VestingInfos        []*VestingInfo  `protobuf:"bytes,1,rep,name=vesting_infos,json=vestingInfos,proto3" json:"vesting_infos,omitempty"`
	TotalCommitted      []*v1beta1.Coin `protobuf:"bytes,2,rep,name=total_committed,json=totalCommitted,proto3" json:"total_committed,omitempty"`
	NumberOfCommitments uint64          `protobuf:"varint,3,opt,name=number_of_commitments,json=numberOfCommitments,proto3" json:"number_of_commitments,omitempty"`
	EnableVestNow       bool            `protobuf:"varint,4,opt,name=enable_vest_now,json=enableVestNow,proto3" json:"enable_vest_now,omitempty"`
	// contains filtered or unexported fields
}

func (*Params) Descriptor deprecated

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

Deprecated: Use Params.ProtoReflect.Descriptor instead.

func (*Params) GetEnableVestNow ¶ added in v0.54.0

func (x *Params) GetEnableVestNow() bool

func (*Params) GetNumberOfCommitments ¶

func (x *Params) GetNumberOfCommitments() uint64

func (*Params) GetTotalCommitted ¶

func (x *Params) GetTotalCommitted() []*v1beta1.Coin

func (*Params) GetVestingInfos ¶

func (x *Params) GetVestingInfos() []*VestingInfo

func (*Params) ProtoMessage ¶

func (*Params) ProtoMessage()

func (*Params) ProtoReflect ¶

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

func (*Params) Reset ¶

func (x *Params) Reset()

func (*Params) String ¶

func (x *Params) String() string

type QueryClient ¶

type QueryClient interface {
	// Parameters queries the parameters of the module.
	Params(ctx context.Context, in *QueryParamsRequest, opts ...grpc.CallOption) (*QueryParamsResponse, error)
	// Queries a Commitment item.
	ShowCommitments(ctx context.Context, in *QueryShowCommitmentsRequest, opts ...grpc.CallOption) (*QueryShowCommitmentsResponse, error)
	// Queries sum of committed tokens locked and not unlockable
	CommittedTokensLocked(ctx context.Context, in *QueryCommittedTokensLockedRequest, opts ...grpc.CallOption) (*QueryCommittedTokensLockedResponse, error)
	// Queries the total number of commitment items.
	NumberOfCommitments(ctx context.Context, in *QueryNumberOfCommitmentsRequest, opts ...grpc.CallOption) (*QueryNumberOfCommitmentsResponse, error)
	// Queries a list of CommitmentVestingInfo items.
	CommitmentVestingInfo(ctx context.Context, in *QueryCommitmentVestingInfoRequest, opts ...grpc.CallOption) (*QueryCommitmentVestingInfoResponse, 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.

func NewQueryClient ¶

func NewQueryClient(cc grpc.ClientConnInterface) QueryClient

type QueryCommitmentVestingInfoRequest ¶

type QueryCommitmentVestingInfoRequest struct {
	Address string `protobuf:"bytes,1,opt,name=address,proto3" json:"address,omitempty"`
	// contains filtered or unexported fields
}

func (*QueryCommitmentVestingInfoRequest) Descriptor deprecated

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

Deprecated: Use QueryCommitmentVestingInfoRequest.ProtoReflect.Descriptor instead.

func (*QueryCommitmentVestingInfoRequest) GetAddress ¶

func (x *QueryCommitmentVestingInfoRequest) GetAddress() string

func (*QueryCommitmentVestingInfoRequest) ProtoMessage ¶

func (*QueryCommitmentVestingInfoRequest) ProtoMessage()

func (*QueryCommitmentVestingInfoRequest) ProtoReflect ¶

func (*QueryCommitmentVestingInfoRequest) Reset ¶

func (*QueryCommitmentVestingInfoRequest) String ¶

type QueryCommitmentVestingInfoResponse ¶

type QueryCommitmentVestingInfoResponse struct {
	Total          string            `protobuf:"bytes,1,opt,name=total,proto3" json:"total,omitempty"`
	VestingDetails []*VestingDetails `protobuf:"bytes,2,rep,name=vesting_details,json=vestingDetails,proto3" json:"vesting_details,omitempty"`
	// contains filtered or unexported fields
}

func (*QueryCommitmentVestingInfoResponse) Descriptor deprecated

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

Deprecated: Use QueryCommitmentVestingInfoResponse.ProtoReflect.Descriptor instead.

func (*QueryCommitmentVestingInfoResponse) GetTotal ¶

func (*QueryCommitmentVestingInfoResponse) GetVestingDetails ¶

func (x *QueryCommitmentVestingInfoResponse) GetVestingDetails() []*VestingDetails

func (*QueryCommitmentVestingInfoResponse) ProtoMessage ¶

func (*QueryCommitmentVestingInfoResponse) ProtoMessage()

func (*QueryCommitmentVestingInfoResponse) ProtoReflect ¶

func (*QueryCommitmentVestingInfoResponse) Reset ¶

func (*QueryCommitmentVestingInfoResponse) String ¶

type QueryCommittedTokensLockedRequest ¶

type QueryCommittedTokensLockedRequest struct {
	Address string `protobuf:"bytes,1,opt,name=address,proto3" json:"address,omitempty"`
	// contains filtered or unexported fields
}

func (*QueryCommittedTokensLockedRequest) Descriptor deprecated

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

Deprecated: Use QueryCommittedTokensLockedRequest.ProtoReflect.Descriptor instead.

func (*QueryCommittedTokensLockedRequest) GetAddress ¶

func (x *QueryCommittedTokensLockedRequest) GetAddress() string

func (*QueryCommittedTokensLockedRequest) ProtoMessage ¶

func (*QueryCommittedTokensLockedRequest) ProtoMessage()

func (*QueryCommittedTokensLockedRequest) ProtoReflect ¶

func (*QueryCommittedTokensLockedRequest) Reset ¶

func (*QueryCommittedTokensLockedRequest) String ¶

type QueryCommittedTokensLockedResponse ¶

type QueryCommittedTokensLockedResponse struct {
	Address         string          `protobuf:"bytes,1,opt,name=address,proto3" json:"address,omitempty"`
	LockedCommitted []*v1beta1.Coin `protobuf:"bytes,2,rep,name=locked_committed,json=lockedCommitted,proto3" json:"locked_committed,omitempty"`
	TotalCommitted  []*v1beta1.Coin `protobuf:"bytes,3,rep,name=total_committed,json=totalCommitted,proto3" json:"total_committed,omitempty"`
	// contains filtered or unexported fields
}

func (*QueryCommittedTokensLockedResponse) Descriptor deprecated

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

Deprecated: Use QueryCommittedTokensLockedResponse.ProtoReflect.Descriptor instead.

func (*QueryCommittedTokensLockedResponse) GetAddress ¶

func (*QueryCommittedTokensLockedResponse) GetLockedCommitted ¶

func (x *QueryCommittedTokensLockedResponse) GetLockedCommitted() []*v1beta1.Coin

func (*QueryCommittedTokensLockedResponse) GetTotalCommitted ¶

func (x *QueryCommittedTokensLockedResponse) GetTotalCommitted() []*v1beta1.Coin

func (*QueryCommittedTokensLockedResponse) ProtoMessage ¶

func (*QueryCommittedTokensLockedResponse) ProtoMessage()

func (*QueryCommittedTokensLockedResponse) ProtoReflect ¶

func (*QueryCommittedTokensLockedResponse) Reset ¶

func (*QueryCommittedTokensLockedResponse) String ¶

type QueryNumberOfCommitmentsRequest ¶

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

func (*QueryNumberOfCommitmentsRequest) Descriptor deprecated

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

Deprecated: Use QueryNumberOfCommitmentsRequest.ProtoReflect.Descriptor instead.

func (*QueryNumberOfCommitmentsRequest) ProtoMessage ¶

func (*QueryNumberOfCommitmentsRequest) ProtoMessage()

func (*QueryNumberOfCommitmentsRequest) ProtoReflect ¶

func (*QueryNumberOfCommitmentsRequest) Reset ¶

func (*QueryNumberOfCommitmentsRequest) String ¶

type QueryNumberOfCommitmentsResponse ¶

type QueryNumberOfCommitmentsResponse struct {
	Number int64 `protobuf:"varint,1,opt,name=number,proto3" json:"number,omitempty"`
	// contains filtered or unexported fields
}

func (*QueryNumberOfCommitmentsResponse) Descriptor deprecated

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

Deprecated: Use QueryNumberOfCommitmentsResponse.ProtoReflect.Descriptor instead.

func (*QueryNumberOfCommitmentsResponse) GetNumber ¶

func (x *QueryNumberOfCommitmentsResponse) GetNumber() int64

func (*QueryNumberOfCommitmentsResponse) ProtoMessage ¶

func (*QueryNumberOfCommitmentsResponse) ProtoMessage()

func (*QueryNumberOfCommitmentsResponse) ProtoReflect ¶

func (*QueryNumberOfCommitmentsResponse) Reset ¶

func (*QueryNumberOfCommitmentsResponse) String ¶

type QueryParamsRequest ¶

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

QueryParamsRequest is request type for the Query/Params RPC method.

func (*QueryParamsRequest) Descriptor deprecated

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

Deprecated: Use QueryParamsRequest.ProtoReflect.Descriptor instead.

func (*QueryParamsRequest) ProtoMessage ¶

func (*QueryParamsRequest) ProtoMessage()

func (*QueryParamsRequest) ProtoReflect ¶

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

func (*QueryParamsRequest) Reset ¶

func (x *QueryParamsRequest) Reset()

func (*QueryParamsRequest) String ¶

func (x *QueryParamsRequest) String() string

type QueryParamsResponse ¶

type QueryParamsResponse struct {

	// params holds all the parameters of this module.
	Params *Params `protobuf:"bytes,1,opt,name=params,proto3" json:"params,omitempty"`
	// contains filtered or unexported fields
}

QueryParamsResponse is response type for the Query/Params RPC method.

func (*QueryParamsResponse) Descriptor deprecated

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

Deprecated: Use QueryParamsResponse.ProtoReflect.Descriptor instead.

func (*QueryParamsResponse) GetParams ¶

func (x *QueryParamsResponse) GetParams() *Params

func (*QueryParamsResponse) ProtoMessage ¶

func (*QueryParamsResponse) ProtoMessage()

func (*QueryParamsResponse) ProtoReflect ¶

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

func (*QueryParamsResponse) Reset ¶

func (x *QueryParamsResponse) Reset()

func (*QueryParamsResponse) String ¶

func (x *QueryParamsResponse) String() string

type QueryServer ¶

type QueryServer interface {
	// Parameters queries the parameters of the module.
	Params(context.Context, *QueryParamsRequest) (*QueryParamsResponse, error)
	// Queries a Commitment item.
	ShowCommitments(context.Context, *QueryShowCommitmentsRequest) (*QueryShowCommitmentsResponse, error)
	// Queries sum of committed tokens locked and not unlockable
	CommittedTokensLocked(context.Context, *QueryCommittedTokensLockedRequest) (*QueryCommittedTokensLockedResponse, error)
	// Queries the total number of commitment items.
	NumberOfCommitments(context.Context, *QueryNumberOfCommitmentsRequest) (*QueryNumberOfCommitmentsResponse, error)
	// Queries a list of CommitmentVestingInfo items.
	CommitmentVestingInfo(context.Context, *QueryCommitmentVestingInfoRequest) (*QueryCommitmentVestingInfoResponse, error)
	// contains filtered or unexported methods
}

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

type QueryShowCommitmentsRequest ¶

type QueryShowCommitmentsRequest struct {
	Creator string `protobuf:"bytes,1,opt,name=creator,proto3" json:"creator,omitempty"`
	// contains filtered or unexported fields
}

func (*QueryShowCommitmentsRequest) Descriptor deprecated

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

Deprecated: Use QueryShowCommitmentsRequest.ProtoReflect.Descriptor instead.

func (*QueryShowCommitmentsRequest) GetCreator ¶

func (x *QueryShowCommitmentsRequest) GetCreator() string

func (*QueryShowCommitmentsRequest) ProtoMessage ¶

func (*QueryShowCommitmentsRequest) ProtoMessage()

func (*QueryShowCommitmentsRequest) ProtoReflect ¶

func (*QueryShowCommitmentsRequest) Reset ¶

func (x *QueryShowCommitmentsRequest) Reset()

func (*QueryShowCommitmentsRequest) String ¶

func (x *QueryShowCommitmentsRequest) String() string

type QueryShowCommitmentsResponse ¶

type QueryShowCommitmentsResponse struct {
	Commitments *Commitments `protobuf:"bytes,1,opt,name=commitments,proto3" json:"commitments,omitempty"`
	// contains filtered or unexported fields
}

func (*QueryShowCommitmentsResponse) Descriptor deprecated

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

Deprecated: Use QueryShowCommitmentsResponse.ProtoReflect.Descriptor instead.

func (*QueryShowCommitmentsResponse) GetCommitments ¶

func (x *QueryShowCommitmentsResponse) GetCommitments() *Commitments

func (*QueryShowCommitmentsResponse) ProtoMessage ¶

func (*QueryShowCommitmentsResponse) ProtoMessage()

func (*QueryShowCommitmentsResponse) ProtoReflect ¶

func (*QueryShowCommitmentsResponse) Reset ¶

func (x *QueryShowCommitmentsResponse) Reset()

func (*QueryShowCommitmentsResponse) String ¶

type UnimplementedMsgServer ¶

type UnimplementedMsgServer struct {
}

UnimplementedMsgServer must be embedded to have forward compatible implementations.

func (UnimplementedMsgServer) CancelVest ¶

func (UnimplementedMsgServer) ClaimVesting ¶

func (UnimplementedMsgServer) Stake ¶

func (UnimplementedMsgServer) UncommitTokens ¶

func (UnimplementedMsgServer) Unstake ¶

func (UnimplementedMsgServer) UpdateEnableVestNow ¶ added in v0.54.0

func (UnimplementedMsgServer) Vest ¶

func (UnimplementedMsgServer) VestLiquid ¶

func (UnimplementedMsgServer) VestNow ¶

type UnimplementedQueryServer ¶

type UnimplementedQueryServer struct {
}

UnimplementedQueryServer must be embedded to have forward compatible implementations.

func (UnimplementedQueryServer) Params ¶

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.

type VestingDetails ¶

type VestingDetails struct {
	Id              string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	TotalVesting    string `protobuf:"bytes,2,opt,name=total_vesting,json=totalVesting,proto3" json:"total_vesting,omitempty"`
	Claimed         string `protobuf:"bytes,3,opt,name=claimed,proto3" json:"claimed,omitempty"`
	VestedSoFar     string `protobuf:"bytes,4,opt,name=vested_so_far,json=vestedSoFar,proto3" json:"vested_so_far,omitempty"`
	RemainingBlocks int64  `protobuf:"varint,5,opt,name=remaining_blocks,json=remainingBlocks,proto3" json:"remaining_blocks,omitempty"`
	// contains filtered or unexported fields
}

func (*VestingDetails) Descriptor deprecated

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

Deprecated: Use VestingDetails.ProtoReflect.Descriptor instead.

func (*VestingDetails) GetClaimed ¶

func (x *VestingDetails) GetClaimed() string

func (*VestingDetails) GetId ¶

func (x *VestingDetails) GetId() string

func (*VestingDetails) GetRemainingBlocks ¶

func (x *VestingDetails) GetRemainingBlocks() int64

func (*VestingDetails) GetTotalVesting ¶

func (x *VestingDetails) GetTotalVesting() string

func (*VestingDetails) GetVestedSoFar ¶

func (x *VestingDetails) GetVestedSoFar() string

func (*VestingDetails) ProtoMessage ¶

func (*VestingDetails) ProtoMessage()

func (*VestingDetails) ProtoReflect ¶

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

func (*VestingDetails) Reset ¶

func (x *VestingDetails) Reset()

func (*VestingDetails) String ¶

func (x *VestingDetails) String() string

type VestingInfo ¶

type VestingInfo struct {
	BaseDenom      string `protobuf:"bytes,1,opt,name=base_denom,json=baseDenom,proto3" json:"base_denom,omitempty"`
	VestingDenom   string `protobuf:"bytes,2,opt,name=vesting_denom,json=vestingDenom,proto3" json:"vesting_denom,omitempty"`
	NumBlocks      int64  `protobuf:"varint,3,opt,name=num_blocks,json=numBlocks,proto3" json:"num_blocks,omitempty"`
	VestNowFactor  string `protobuf:"bytes,4,opt,name=vest_now_factor,json=vestNowFactor,proto3" json:"vest_now_factor,omitempty"`
	NumMaxVestings int64  `protobuf:"varint,5,opt,name=num_max_vestings,json=numMaxVestings,proto3" json:"num_max_vestings,omitempty"`
	// contains filtered or unexported fields
}

func (*VestingInfo) Descriptor deprecated

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

Deprecated: Use VestingInfo.ProtoReflect.Descriptor instead.

func (*VestingInfo) GetBaseDenom ¶

func (x *VestingInfo) GetBaseDenom() string

func (*VestingInfo) GetNumBlocks ¶

func (x *VestingInfo) GetNumBlocks() int64

func (*VestingInfo) GetNumMaxVestings ¶

func (x *VestingInfo) GetNumMaxVestings() int64

func (*VestingInfo) GetVestNowFactor ¶

func (x *VestingInfo) GetVestNowFactor() string

func (*VestingInfo) GetVestingDenom ¶

func (x *VestingInfo) GetVestingDenom() string

func (*VestingInfo) ProtoMessage ¶

func (*VestingInfo) ProtoMessage()

func (*VestingInfo) ProtoReflect ¶

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

func (*VestingInfo) Reset ¶

func (x *VestingInfo) Reset()

func (*VestingInfo) String ¶

func (x *VestingInfo) String() string

type VestingTokens ¶

type VestingTokens struct {
	Denom                string `protobuf:"bytes,1,opt,name=denom,proto3" json:"denom,omitempty"`
	TotalAmount          string `protobuf:"bytes,2,opt,name=total_amount,json=totalAmount,proto3" json:"total_amount,omitempty"`
	ClaimedAmount        string `protobuf:"bytes,3,opt,name=claimed_amount,json=claimedAmount,proto3" json:"claimed_amount,omitempty"`
	NumBlocks            int64  `protobuf:"varint,5,opt,name=num_blocks,json=numBlocks,proto3" json:"num_blocks,omitempty"`
	StartBlock           int64  `protobuf:"varint,6,opt,name=start_block,json=startBlock,proto3" json:"start_block,omitempty"`
	VestStartedTimestamp int64  `protobuf:"varint,7,opt,name=vest_started_timestamp,json=vestStartedTimestamp,proto3" json:"vest_started_timestamp,omitempty"`
	// contains filtered or unexported fields
}

func (*VestingTokens) Descriptor deprecated

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

Deprecated: Use VestingTokens.ProtoReflect.Descriptor instead.

func (*VestingTokens) GetClaimedAmount ¶

func (x *VestingTokens) GetClaimedAmount() string

func (*VestingTokens) GetDenom ¶

func (x *VestingTokens) GetDenom() string

func (*VestingTokens) GetNumBlocks ¶

func (x *VestingTokens) GetNumBlocks() int64

func (*VestingTokens) GetStartBlock ¶

func (x *VestingTokens) GetStartBlock() int64

func (*VestingTokens) GetTotalAmount ¶

func (x *VestingTokens) GetTotalAmount() string

func (*VestingTokens) GetVestStartedTimestamp ¶

func (x *VestingTokens) GetVestStartedTimestamp() int64

func (*VestingTokens) ProtoMessage ¶

func (*VestingTokens) ProtoMessage()

func (*VestingTokens) ProtoReflect ¶

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

func (*VestingTokens) Reset ¶

func (x *VestingTokens) Reset()

func (*VestingTokens) String ¶

func (x *VestingTokens) String() string

Jump to

Keyboard shortcuts

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