types

package
v0.27.0 Latest Latest
Warning

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

Go to latest
Published: Jan 23, 2024 License: Apache-2.0 Imports: 35 Imported by: 1

Documentation

Overview

Package types is a reverse proxy.

It translates gRPC into RESTful JSON APIs.

Index

Constants

View Source
const (
	EventTypeCommitmentChanged = "commitment_changed"

	AttributeCreator = "creator"
	AttributeAmount  = "token_amount"
	AttributeDenom   = "token_denom"
)

epochs events

View Source
const (
	// ModuleName defines the module name
	ModuleName = "commitment"

	// StoreKey defines the primary module store key
	StoreKey = ModuleName

	// RouterKey defines the module's message routing key
	RouterKey = ModuleName

	// MemStoreKey defines the in-memory store key
	MemStoreKey = "mem_commitment"
)
View Source
const (
	// CommitmentsKeyPrefix is the prefix to retrieve all Commitments
	CommitmentsKeyPrefix = "Commitments/value/"
)
View Source
const DefaultIndex uint64 = 1

DefaultIndex is the default global index

View Source
const TypeMsgCancelVest = "cancel_vest"
View Source
const TypeMsgClaimReward = "withdraw_tokens"
View Source
const TypeMsgClaimRewards = "claim_rewards"
View Source
const TypeMsgCommitClaimedRewards = "commit_tokens"
View Source
const TypeMsgDepositTokens = "commit_liquid_tokens"
View Source
const TypeMsgStake = "stake"
View Source
const TypeMsgUncommitTokens = "uncommit_tokens"
View Source
const TypeMsgUnstake = "unstake"
View Source
const TypeMsgUpdateVestingInfo = "update_vesting_info"
View Source
const TypeMsgVest = "vest"
View Source
const TypeMsgVestLiquid = "vest_liquid"
View Source
const TypeMsgVestNow = "vest_now"

Variables

View Source
var (
	ErrInvalidLengthCommitments        = fmt.Errorf("proto: negative length found during unmarshaling")
	ErrIntOverflowCommitments          = fmt.Errorf("proto: integer overflow")
	ErrUnexpectedEndOfGroupCommitments = fmt.Errorf("proto: unexpected end of group")
)
View Source
var (
	ErrCommitmentsNotFound            = sdkerrors.Register(ModuleName, 1001, "commitments not found for creator")
	ErrInsufficientRewardsUnclaimed   = sdkerrors.Register(ModuleName, 1002, "insufficient unclaimed tokens for creator and denom")
	ErrInsufficientCommittedTokens    = sdkerrors.Register(ModuleName, 1003, "insufficient committed tokens for creator and denom")
	ErrInsufficientClaimed            = sdkerrors.Register(ModuleName, 1004, "insufficient claimed tokens for creator and denom")
	ErrInvalidAmount                  = sdkerrors.Register(ModuleName, 1005, "invalid amount")
	ErrInvalidDenom                   = sdkerrors.Register(ModuleName, 1006, "invalid denom")
	ErrInsufficientVestingTokens      = sdkerrors.Register(ModuleName, 1007, "insufficient vesting tokens for creator and denom")
	ErrCommitDisabled                 = sdkerrors.Register(ModuleName, 1008, "commitment disabled for denom")
	ErrWithdrawDisabled               = sdkerrors.Register(ModuleName, 1009, "withdraw disabled for denom")
	ErrExceedMaxVestings              = sdkerrors.Register(ModuleName, 1010, "exceed maximum allowed vestings")
	ErrInsufficientWithdrawableTokens = sdkerrors.Register(ModuleName, 1011, "insufficient withdrawable tokens")
	ErrVestNowIsNotEnabled            = sdkerrors.Register(ModuleName, 1012, "instant vesting is not enabled at this stage")
	ErrUnsupportedWithdrawMode        = sdkerrors.Register(ModuleName, 1013, "unsupported withdraw mode")
)

x/commitment module sentinel errors

View Source
var (
	ErrInvalidLengthGenesis        = fmt.Errorf("proto: negative length found during unmarshaling")
	ErrIntOverflowGenesis          = fmt.Errorf("proto: integer overflow")
	ErrUnexpectedEndOfGroupGenesis = fmt.Errorf("proto: unexpected end of group")
)
View Source
var (
	ErrInvalidLengthParams        = fmt.Errorf("proto: negative length found during unmarshaling")
	ErrIntOverflowParams          = fmt.Errorf("proto: integer overflow")
	ErrUnexpectedEndOfGroupParams = fmt.Errorf("proto: unexpected end of group")
)
View Source
var (
	ErrInvalidLengthQuery        = fmt.Errorf("proto: negative length found during unmarshaling")
	ErrIntOverflowQuery          = fmt.Errorf("proto: integer overflow")
	ErrUnexpectedEndOfGroupQuery = fmt.Errorf("proto: unexpected end of group")
)
View Source
var (
	ErrInvalidLengthTx        = fmt.Errorf("proto: negative length found during unmarshaling")
	ErrIntOverflowTx          = fmt.Errorf("proto: integer overflow")
	ErrUnexpectedEndOfGroupTx = fmt.Errorf("proto: unexpected end of group")
)
View Source
var (
	ErrInvalidLengthTypesCw        = fmt.Errorf("proto: negative length found during unmarshaling")
	ErrIntOverflowTypesCw          = fmt.Errorf("proto: integer overflow")
	ErrUnexpectedEndOfGroupTypesCw = fmt.Errorf("proto: unexpected end of group")
)
View Source
var EarnType_name = map[int32]string{
	0: "ALL_PROGRAM",
	1: "USDC_PROGRAM",
	2: "ELYS_PROGRAM",
	3: "EDEN_PROGRAM",
	4: "EDENB_PROGRAM",
}
View Source
var EarnType_value = map[string]int32{
	"ALL_PROGRAM":   0,
	"USDC_PROGRAM":  1,
	"ELYS_PROGRAM":  2,
	"EDEN_PROGRAM":  3,
	"EDENB_PROGRAM": 4,
}
View Source
var KeyVestingInfos = []byte("VestingInfos")

Functions

func CommitmentsKey

func CommitmentsKey(
	creator string,
) []byte

CommitmentsKey returns the store key to retrieve a Commitments from the index fields

func KeyPrefix

func KeyPrefix(p string) []byte

func ParamKeyTable

func ParamKeyTable() paramtypes.KeyTable

ParamKeyTable the param key table for launch module

func RegisterCodec

func RegisterCodec(cdc *codec.LegacyAmino)

func RegisterInterfaces

func RegisterInterfaces(registry cdctypes.InterfaceRegistry)

func RegisterMsgServer

func RegisterMsgServer(s grpc1.Server, srv MsgServer)

func RegisterQueryHandler

func RegisterQueryHandler(ctx context.Context, mux *runtime.ServeMux, conn *grpc.ClientConn) error

RegisterQueryHandler registers the http handlers for service Query to "mux". The handlers forward requests to the grpc endpoint over "conn".

func RegisterQueryHandlerClient

func RegisterQueryHandlerClient(ctx context.Context, mux *runtime.ServeMux, client QueryClient) error

RegisterQueryHandlerClient registers the http handlers for service Query to "mux". The handlers forward requests to the grpc endpoint over the given implementation of "QueryClient". Note: the gRPC framework executes interceptors within the gRPC handler. If the passed in "QueryClient" doesn't go through the normal gRPC flow (creating a gRPC client etc.) then it will be up to the passed in "QueryClient" to call the correct interceptors.

func RegisterQueryHandlerFromEndpoint

func RegisterQueryHandlerFromEndpoint(ctx context.Context, mux *runtime.ServeMux, endpoint string, opts []grpc.DialOption) (err error)

RegisterQueryHandlerFromEndpoint is same as RegisterQueryHandler but automatically dials to "endpoint" and closes the connection when "ctx" gets done.

func RegisterQueryHandlerServer

func RegisterQueryHandlerServer(ctx context.Context, mux *runtime.ServeMux, server QueryServer) error

RegisterQueryHandlerServer registers the http handlers for service Query to "mux". UnaryRPC :call QueryServer directly. StreamingRPC :currently unsupported pending https://github.com/grpc/grpc-go/issues/906. Note that using this registration option will cause many gRPC library features to stop working. Consider using RegisterQueryHandlerFromEndpoint instead.

func RegisterQueryServer

func RegisterQueryServer(s grpc1.Server, srv QueryServer)

Types

type AccountKeeper

type AccountKeeper interface {
	GetAccount(ctx sdk.Context, addr sdk.AccAddress) types.AccountI
}

AccountKeeper defines the expected account keeper used for simulations (noalias)

type AssetProfileKeeper

type AssetProfileKeeper interface {
	GetEntry(ctx sdk.Context, baseDenom string) (val aptypes.Entry, found bool)
}

AssetProfileKeeper defines the expected interface needed to retrieve denom info

type BalanceAvailable added in v0.15.0

type BalanceAvailable struct {
	Amount    github_com_cosmos_cosmos_sdk_types.Int `protobuf:"bytes,1,opt,name=amount,proto3,customtype=github.com/cosmos/cosmos-sdk/types.Int" json:"amount"`
	UsdAmount github_com_cosmos_cosmos_sdk_types.Dec `` /* 128-byte string literal not displayed */
}

func (*BalanceAvailable) Descriptor added in v0.15.0

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

func (*BalanceAvailable) Marshal added in v0.15.0

func (m *BalanceAvailable) Marshal() (dAtA []byte, err error)

func (*BalanceAvailable) MarshalTo added in v0.15.0

func (m *BalanceAvailable) MarshalTo(dAtA []byte) (int, error)

func (*BalanceAvailable) MarshalToSizedBuffer added in v0.15.0

func (m *BalanceAvailable) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*BalanceAvailable) ProtoMessage added in v0.15.0

func (*BalanceAvailable) ProtoMessage()

func (*BalanceAvailable) Reset added in v0.15.0

func (m *BalanceAvailable) Reset()

func (*BalanceAvailable) Size added in v0.15.0

func (m *BalanceAvailable) Size() (n int)

func (*BalanceAvailable) String added in v0.15.0

func (m *BalanceAvailable) String() string

func (*BalanceAvailable) Unmarshal added in v0.15.0

func (m *BalanceAvailable) Unmarshal(dAtA []byte) error

func (*BalanceAvailable) XXX_DiscardUnknown added in v0.15.0

func (m *BalanceAvailable) XXX_DiscardUnknown()

func (*BalanceAvailable) XXX_Marshal added in v0.15.0

func (m *BalanceAvailable) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*BalanceAvailable) XXX_Merge added in v0.15.0

func (m *BalanceAvailable) XXX_Merge(src proto.Message)

func (*BalanceAvailable) XXX_Size added in v0.15.0

func (m *BalanceAvailable) XXX_Size() int

func (*BalanceAvailable) XXX_Unmarshal added in v0.15.0

func (m *BalanceAvailable) XXX_Unmarshal(b []byte) error

type BankKeeper

type BankKeeper interface {
	SendCoinsFromModuleToAccount(ctx sdk.Context, senderModule string, recipientAddr sdk.AccAddress, amt sdk.Coins) error
	SendCoinsFromAccountToModule(ctx sdk.Context, senderAddr sdk.AccAddress, recipientModule string, amt sdk.Coins) error
	MintCoins(ctx sdk.Context, moduleName string, amt sdk.Coins) error
	BurnCoins(ctx sdk.Context, moduleName string, amt sdk.Coins) error
}

BankKeeper defines the expected interface needed to retrieve account balances.

type CommitmentHooks

type CommitmentHooks interface {
	// Token commitment changed
	CommitmentChanged(ctx sdk.Context, creator string, amount sdk.Coins)

	// Eden uncommitted
	EdenUncommitted(ctx sdk.Context, creator string, amount sdk.Coin)
}

CommitmentHooks event hooks for commitment processing

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"`
	RewardsUnclaimed        github_com_cosmos_cosmos_sdk_types.Coins `` /* 153-byte string literal not displayed */
	Claimed                 github_com_cosmos_cosmos_sdk_types.Coins `protobuf:"bytes,4,rep,name=claimed,proto3,castrepeated=github.com/cosmos/cosmos-sdk/types.Coins" json:"claimed"`
	VestingTokens           []*VestingTokens                         `protobuf:"bytes,5,rep,name=vesting_tokens,json=vestingTokens,proto3" json:"vesting_tokens,omitempty"`
	RewardsByElysUnclaimed  github_com_cosmos_cosmos_sdk_types.Coins `` /* 175-byte string literal not displayed */
	RewardsByEdenUnclaimed  github_com_cosmos_cosmos_sdk_types.Coins `` /* 175-byte string literal not displayed */
	RewardsByEdenbUnclaimed github_com_cosmos_cosmos_sdk_types.Coins `` /* 178-byte string literal not displayed */
	RewardsByUsdcUnclaimed  github_com_cosmos_cosmos_sdk_types.Coins `` /* 175-byte string literal not displayed */
}

GenesisState defines the commitment module's genesis state.

func (*Commitments) AddClaimed added in v0.15.0

func (c *Commitments) AddClaimed(amount sdk.Coin)

func (*Commitments) AddCommittedTokens added in v0.15.0

func (c *Commitments) AddCommittedTokens(denom string, amount sdk.Int, unlockTime uint64)

func (*Commitments) AddRewardsUnclaimed added in v0.15.0

func (c *Commitments) AddRewardsUnclaimed(amount sdk.Coin)

func (*Commitments) AddSubBucketRewardsByEdenBUnclaimed added in v0.15.0

func (c *Commitments) AddSubBucketRewardsByEdenBUnclaimed(amount sdk.Coins)

func (*Commitments) AddSubBucketRewardsByEdenUnclaimed added in v0.15.0

func (c *Commitments) AddSubBucketRewardsByEdenUnclaimed(amount sdk.Coins)

func (*Commitments) AddSubBucketRewardsByElysUnclaimed added in v0.15.0

func (c *Commitments) AddSubBucketRewardsByElysUnclaimed(amount sdk.Coins)

func (*Commitments) AddSubBucketRewardsByUsdcUnclaimed added in v0.15.0

func (c *Commitments) AddSubBucketRewardsByUsdcUnclaimed(amount sdk.Coins)

func (*Commitments) DeductFromCommitted added in v0.14.0

func (c *Commitments) DeductFromCommitted(denom string, amount sdk.Int, currTime uint64) error

func (*Commitments) DeductSubBucketRewardsByEdenBUnclaimed added in v0.15.0

func (c *Commitments) DeductSubBucketRewardsByEdenBUnclaimed(amount sdk.Coin) (bool, sdk.Coin)

func (*Commitments) DeductSubBucketRewardsByEdenUnclaimed added in v0.15.0

func (c *Commitments) DeductSubBucketRewardsByEdenUnclaimed(amount sdk.Coin) (bool, sdk.Coin)

func (*Commitments) DeductSubBucketRewardsByElysUnclaimed added in v0.15.0

func (c *Commitments) DeductSubBucketRewardsByElysUnclaimed(amount sdk.Coin) (bool, sdk.Coin)

func (*Commitments) DeductSubBucketRewardsByUsdcUnclaimed added in v0.15.0

func (c *Commitments) DeductSubBucketRewardsByUsdcUnclaimed(amount sdk.Coin) (bool, sdk.Coin)

func (*Commitments) Descriptor

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

func (*Commitments) GetClaimed added in v0.15.0

func (*Commitments) GetClaimedForDenom added in v0.15.0

func (c *Commitments) GetClaimedForDenom(denom string) sdk.Int

func (*Commitments) GetCommittedAmountForDenom

func (c *Commitments) GetCommittedAmountForDenom(denom string) sdk.Int

func (*Commitments) GetCommittedLockUpsForDenom added in v0.17.0

func (c *Commitments) GetCommittedLockUpsForDenom(denom string) []Lockup

func (*Commitments) GetCommittedTokens

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

func (*Commitments) GetCreator

func (m *Commitments) GetCreator() string

func (*Commitments) GetEdenBSubBucketRewardUnclaimedForDenom added in v0.15.0

func (c *Commitments) GetEdenBSubBucketRewardUnclaimedForDenom(denom string) sdk.Int

Sub bucket rewards query - EdenB

func (*Commitments) GetEdenSubBucketRewardUnclaimedForDenom added in v0.15.0

func (c *Commitments) GetEdenSubBucketRewardUnclaimedForDenom(denom string) sdk.Int

Sub bucket rewards query - Eden

func (*Commitments) GetElysSubBucketRewardUnclaimedForDenom added in v0.15.0

func (c *Commitments) GetElysSubBucketRewardUnclaimedForDenom(denom string) sdk.Int

Sub bucket rewards query - Elys

func (*Commitments) GetRewardUnclaimedForDenom added in v0.15.0

func (c *Commitments) GetRewardUnclaimedForDenom(denom string) sdk.Int

func (*Commitments) GetRewardsByEdenUnclaimed added in v0.15.0

func (m *Commitments) GetRewardsByEdenUnclaimed() github_com_cosmos_cosmos_sdk_types.Coins

func (*Commitments) GetRewardsByEdenbUnclaimed added in v0.15.0

func (m *Commitments) GetRewardsByEdenbUnclaimed() github_com_cosmos_cosmos_sdk_types.Coins

func (*Commitments) GetRewardsByElysUnclaimed added in v0.15.0

func (m *Commitments) GetRewardsByElysUnclaimed() github_com_cosmos_cosmos_sdk_types.Coins

func (*Commitments) GetRewardsByUsdcUnclaimed added in v0.15.0

func (m *Commitments) GetRewardsByUsdcUnclaimed() github_com_cosmos_cosmos_sdk_types.Coins

func (*Commitments) GetRewardsUnclaimed added in v0.14.0

func (m *Commitments) GetRewardsUnclaimed() github_com_cosmos_cosmos_sdk_types.Coins

func (*Commitments) GetUsdcSubBucketRewardUnclaimedForDenom added in v0.15.0

func (c *Commitments) GetUsdcSubBucketRewardUnclaimedForDenom(denom string) sdk.Int

Sub bucket rewards query - Usdc

func (*Commitments) GetVestingTokens

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

func (Commitments) IsEmpty added in v0.15.0

func (c Commitments) IsEmpty() bool

func (*Commitments) Marshal

func (m *Commitments) Marshal() (dAtA []byte, err error)

func (*Commitments) MarshalTo

func (m *Commitments) MarshalTo(dAtA []byte) (int, error)

func (*Commitments) MarshalToSizedBuffer

func (m *Commitments) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*Commitments) ProtoMessage

func (*Commitments) ProtoMessage()

func (*Commitments) Reset

func (m *Commitments) Reset()

func (*Commitments) Size

func (m *Commitments) Size() (n int)

func (*Commitments) String

func (m *Commitments) String() string

func (*Commitments) SubClaimed added in v0.15.0

func (c *Commitments) SubClaimed(amount sdk.Coin) error

func (*Commitments) SubRewardsUnclaimed added in v0.15.0

func (c *Commitments) SubRewardsUnclaimed(amount sdk.Coin) error

func (*Commitments) SubRewardsUnclaimedForEdenBCommitted added in v0.15.0

func (c *Commitments) SubRewardsUnclaimedForEdenBCommitted(amount sdk.Coin) error

This is the function used when we withdraw the reward by program

func (*Commitments) SubRewardsUnclaimedForEdenCommitted added in v0.15.0

func (c *Commitments) SubRewardsUnclaimedForEdenCommitted(amount sdk.Coin) error

This is the function used when we withdraw the reward by program

func (*Commitments) SubRewardsUnclaimedForElysStaking added in v0.15.0

func (c *Commitments) SubRewardsUnclaimedForElysStaking(amount sdk.Coin) error

This is the function used when we withdraw the reward by program

func (*Commitments) SubRewardsUnclaimedForUSDCDeposit added in v0.15.0

func (c *Commitments) SubRewardsUnclaimedForUSDCDeposit(amount sdk.Coin) error

This is the function used when we withdraw the reward by program

func (*Commitments) Unmarshal

func (m *Commitments) Unmarshal(dAtA []byte) error

func (*Commitments) XXX_DiscardUnknown

func (m *Commitments) XXX_DiscardUnknown()

func (*Commitments) XXX_Marshal

func (m *Commitments) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*Commitments) XXX_Merge

func (m *Commitments) XXX_Merge(src proto.Message)

func (*Commitments) XXX_Size

func (m *Commitments) XXX_Size() int

func (*Commitments) XXX_Unmarshal

func (m *Commitments) XXX_Unmarshal(b []byte) error

type CommittedTokens

type CommittedTokens struct {
	Denom   string                                 `protobuf:"bytes,1,opt,name=denom,proto3" json:"denom,omitempty"`
	Amount  github_com_cosmos_cosmos_sdk_types.Int `protobuf:"bytes,2,opt,name=amount,proto3,customtype=github.com/cosmos/cosmos-sdk/types.Int" json:"amount"`
	Lockups []Lockup                               `protobuf:"bytes,3,rep,name=lockups,proto3" json:"lockups"`
}

func (*CommittedTokens) Descriptor

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

func (*CommittedTokens) GetDenom

func (m *CommittedTokens) GetDenom() string

func (*CommittedTokens) GetLockups added in v0.14.0

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

func (*CommittedTokens) Marshal

func (m *CommittedTokens) Marshal() (dAtA []byte, err error)

func (*CommittedTokens) MarshalTo

func (m *CommittedTokens) MarshalTo(dAtA []byte) (int, error)

func (*CommittedTokens) MarshalToSizedBuffer

func (m *CommittedTokens) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*CommittedTokens) ProtoMessage

func (*CommittedTokens) ProtoMessage()

func (*CommittedTokens) Reset

func (m *CommittedTokens) Reset()

func (*CommittedTokens) Size

func (m *CommittedTokens) Size() (n int)

func (*CommittedTokens) String

func (m *CommittedTokens) String() string

func (*CommittedTokens) Unmarshal

func (m *CommittedTokens) Unmarshal(dAtA []byte) error

func (*CommittedTokens) XXX_DiscardUnknown

func (m *CommittedTokens) XXX_DiscardUnknown()

func (*CommittedTokens) XXX_Marshal

func (m *CommittedTokens) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*CommittedTokens) XXX_Merge

func (m *CommittedTokens) XXX_Merge(src proto.Message)

func (*CommittedTokens) XXX_Size

func (m *CommittedTokens) XXX_Size() int

func (*CommittedTokens) XXX_Unmarshal

func (m *CommittedTokens) XXX_Unmarshal(b []byte) error

type Delegation added in v0.15.0

type Delegation struct {
	// delegator_address is the bech32-encoded address of the delegator.
	DelegatorAddress string `protobuf:"bytes,1,opt,name=delegator_address,json=delegatorAddress,proto3" json:"delegator_address,omitempty"`
	// validator_address is the bech32-encoded address of the validator.
	ValidatorAddress string `protobuf:"bytes,2,opt,name=validator_address,json=validatorAddress,proto3" json:"validator_address,omitempty"`
	// shares define the delegation shares received.
	Shares github_com_cosmos_cosmos_sdk_types.Dec `protobuf:"bytes,3,opt,name=shares,proto3,customtype=github.com/cosmos/cosmos-sdk/types.Dec" json:"shares"`
}

Delegation represents the bond with tokens held by an account. It is owned by one delegator, and is associated with the voting power of one validator.

func (*Delegation) Descriptor added in v0.15.0

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

func (*Delegation) GetDelegatorAddress added in v0.15.0

func (m *Delegation) GetDelegatorAddress() string

func (*Delegation) GetValidatorAddress added in v0.15.0

func (m *Delegation) GetValidatorAddress() string

func (*Delegation) Marshal added in v0.15.0

func (m *Delegation) Marshal() (dAtA []byte, err error)

func (*Delegation) MarshalTo added in v0.15.0

func (m *Delegation) MarshalTo(dAtA []byte) (int, error)

func (*Delegation) MarshalToSizedBuffer added in v0.15.0

func (m *Delegation) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*Delegation) ProtoMessage added in v0.15.0

func (*Delegation) ProtoMessage()

func (*Delegation) Reset added in v0.15.0

func (m *Delegation) Reset()

func (*Delegation) Size added in v0.15.0

func (m *Delegation) Size() (n int)

func (*Delegation) String added in v0.15.0

func (m *Delegation) String() string

func (*Delegation) Unmarshal added in v0.15.0

func (m *Delegation) Unmarshal(dAtA []byte) error

func (*Delegation) XXX_DiscardUnknown added in v0.15.0

func (m *Delegation) XXX_DiscardUnknown()

func (*Delegation) XXX_Marshal added in v0.15.0

func (m *Delegation) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*Delegation) XXX_Merge added in v0.15.0

func (m *Delegation) XXX_Merge(src proto.Message)

func (*Delegation) XXX_Size added in v0.15.0

func (m *Delegation) XXX_Size() int

func (*Delegation) XXX_Unmarshal added in v0.15.0

func (m *Delegation) XXX_Unmarshal(b []byte) error

type DelegationResponse added in v0.15.0

type DelegationResponse struct {
	Delegation Delegation `protobuf:"bytes,1,opt,name=delegation,proto3" json:"delegation"`
	Balance    types.Coin `protobuf:"bytes,2,opt,name=balance,proto3" json:"balance"`
}

DelegationResponse is equivalent to Delegation except that it contains a balance in addition to shares which is more suitable for client responses.

func (*DelegationResponse) Descriptor added in v0.15.0

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

func (*DelegationResponse) GetBalance added in v0.15.0

func (m *DelegationResponse) GetBalance() types.Coin

func (*DelegationResponse) GetDelegation added in v0.15.0

func (m *DelegationResponse) GetDelegation() Delegation

func (*DelegationResponse) Marshal added in v0.15.0

func (m *DelegationResponse) Marshal() (dAtA []byte, err error)

func (*DelegationResponse) MarshalTo added in v0.15.0

func (m *DelegationResponse) MarshalTo(dAtA []byte) (int, error)

func (*DelegationResponse) MarshalToSizedBuffer added in v0.15.0

func (m *DelegationResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*DelegationResponse) ProtoMessage added in v0.15.0

func (*DelegationResponse) ProtoMessage()

func (*DelegationResponse) Reset added in v0.15.0

func (m *DelegationResponse) Reset()

func (*DelegationResponse) Size added in v0.15.0

func (m *DelegationResponse) Size() (n int)

func (*DelegationResponse) String added in v0.15.0

func (m *DelegationResponse) String() string

func (*DelegationResponse) Unmarshal added in v0.15.0

func (m *DelegationResponse) Unmarshal(dAtA []byte) error

func (*DelegationResponse) XXX_DiscardUnknown added in v0.15.0

func (m *DelegationResponse) XXX_DiscardUnknown()

func (*DelegationResponse) XXX_Marshal added in v0.15.0

func (m *DelegationResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*DelegationResponse) XXX_Merge added in v0.15.0

func (m *DelegationResponse) XXX_Merge(src proto.Message)

func (*DelegationResponse) XXX_Size added in v0.15.0

func (m *DelegationResponse) XXX_Size() int

func (*DelegationResponse) XXX_Unmarshal added in v0.15.0

func (m *DelegationResponse) XXX_Unmarshal(b []byte) error

type EarnType added in v0.15.0

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
)

func (EarnType) EnumDescriptor added in v0.15.0

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

func (EarnType) String added in v0.15.0

func (x EarnType) String() string

type GenesisState

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

GenesisState defines the commitment module's genesis state.

func DefaultGenesis

func DefaultGenesis() *GenesisState

DefaultGenesis returns the default genesis state

func (*GenesisState) Descriptor

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

func (*GenesisState) GetCommitments added in v0.13.0

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

func (*GenesisState) GetParams

func (m *GenesisState) GetParams() Params

func (*GenesisState) Marshal

func (m *GenesisState) Marshal() (dAtA []byte, err error)

func (*GenesisState) MarshalTo

func (m *GenesisState) MarshalTo(dAtA []byte) (int, error)

func (*GenesisState) MarshalToSizedBuffer

func (m *GenesisState) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*GenesisState) ProtoMessage

func (*GenesisState) ProtoMessage()

func (*GenesisState) Reset

func (m *GenesisState) Reset()

func (*GenesisState) Size

func (m *GenesisState) Size() (n int)

func (*GenesisState) String

func (m *GenesisState) String() string

func (*GenesisState) Unmarshal

func (m *GenesisState) Unmarshal(dAtA []byte) error

func (GenesisState) Validate

func (gs GenesisState) Validate() error

Validate performs basic genesis state validation returning an error upon any failure.

func (*GenesisState) XXX_DiscardUnknown

func (m *GenesisState) XXX_DiscardUnknown()

func (*GenesisState) XXX_Marshal

func (m *GenesisState) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*GenesisState) XXX_Merge

func (m *GenesisState) XXX_Merge(src proto.Message)

func (*GenesisState) XXX_Size

func (m *GenesisState) XXX_Size() int

func (*GenesisState) XXX_Unmarshal

func (m *GenesisState) XXX_Unmarshal(b []byte) error

type Lockup added in v0.14.0

type Lockup struct {
	Amount          github_com_cosmos_cosmos_sdk_types.Int `protobuf:"bytes,1,opt,name=amount,proto3,customtype=github.com/cosmos/cosmos-sdk/types.Int" json:"amount"`
	UnlockTimestamp uint64                                 `protobuf:"varint,2,opt,name=unlock_timestamp,json=unlockTimestamp,proto3" json:"unlock_timestamp,omitempty"`
}

func (*Lockup) Descriptor added in v0.14.0

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

func (*Lockup) GetUnlockTimestamp added in v0.14.0

func (m *Lockup) GetUnlockTimestamp() uint64

func (*Lockup) Marshal added in v0.14.0

func (m *Lockup) Marshal() (dAtA []byte, err error)

func (*Lockup) MarshalTo added in v0.14.0

func (m *Lockup) MarshalTo(dAtA []byte) (int, error)

func (*Lockup) MarshalToSizedBuffer added in v0.14.0

func (m *Lockup) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*Lockup) ProtoMessage added in v0.14.0

func (*Lockup) ProtoMessage()

func (*Lockup) Reset added in v0.14.0

func (m *Lockup) Reset()

func (*Lockup) Size added in v0.14.0

func (m *Lockup) Size() (n int)

func (*Lockup) String added in v0.14.0

func (m *Lockup) String() string

func (*Lockup) Unmarshal added in v0.14.0

func (m *Lockup) Unmarshal(dAtA []byte) error

func (*Lockup) XXX_DiscardUnknown added in v0.14.0

func (m *Lockup) XXX_DiscardUnknown()

func (*Lockup) XXX_Marshal added in v0.14.0

func (m *Lockup) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*Lockup) XXX_Merge added in v0.14.0

func (m *Lockup) XXX_Merge(src proto.Message)

func (*Lockup) XXX_Size added in v0.14.0

func (m *Lockup) XXX_Size() int

func (*Lockup) XXX_Unmarshal added in v0.14.0

func (m *Lockup) XXX_Unmarshal(b []byte) error

type MsgCancelVest

type MsgCancelVest struct {
	Creator string                                 `protobuf:"bytes,1,opt,name=creator,proto3" json:"creator,omitempty"`
	Amount  github_com_cosmos_cosmos_sdk_types.Int `protobuf:"bytes,2,opt,name=amount,proto3,customtype=github.com/cosmos/cosmos-sdk/types.Int" json:"amount"`
	Denom   string                                 `protobuf:"bytes,3,opt,name=denom,proto3" json:"denom,omitempty"`
}

func NewMsgCancelVest

func NewMsgCancelVest(creator string, amount sdk.Int, denom string) *MsgCancelVest

func (*MsgCancelVest) Descriptor

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

func (*MsgCancelVest) GetCreator

func (m *MsgCancelVest) GetCreator() string

func (*MsgCancelVest) GetDenom

func (m *MsgCancelVest) GetDenom() string

func (*MsgCancelVest) GetSignBytes

func (msg *MsgCancelVest) GetSignBytes() []byte

func (*MsgCancelVest) GetSigners

func (msg *MsgCancelVest) GetSigners() []sdk.AccAddress

func (*MsgCancelVest) Marshal

func (m *MsgCancelVest) Marshal() (dAtA []byte, err error)

func (*MsgCancelVest) MarshalTo

func (m *MsgCancelVest) MarshalTo(dAtA []byte) (int, error)

func (*MsgCancelVest) MarshalToSizedBuffer

func (m *MsgCancelVest) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*MsgCancelVest) ProtoMessage

func (*MsgCancelVest) ProtoMessage()

func (*MsgCancelVest) Reset

func (m *MsgCancelVest) Reset()

func (*MsgCancelVest) Route

func (msg *MsgCancelVest) Route() string

func (*MsgCancelVest) Size

func (m *MsgCancelVest) Size() (n int)

func (*MsgCancelVest) String

func (m *MsgCancelVest) String() string

func (*MsgCancelVest) Type

func (msg *MsgCancelVest) Type() string

func (*MsgCancelVest) Unmarshal

func (m *MsgCancelVest) Unmarshal(dAtA []byte) error

func (*MsgCancelVest) ValidateBasic

func (msg *MsgCancelVest) ValidateBasic() error

func (*MsgCancelVest) XXX_DiscardUnknown

func (m *MsgCancelVest) XXX_DiscardUnknown()

func (*MsgCancelVest) XXX_Marshal

func (m *MsgCancelVest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*MsgCancelVest) XXX_Merge

func (m *MsgCancelVest) XXX_Merge(src proto.Message)

func (*MsgCancelVest) XXX_Size

func (m *MsgCancelVest) XXX_Size() int

func (*MsgCancelVest) XXX_Unmarshal

func (m *MsgCancelVest) XXX_Unmarshal(b []byte) error

type MsgCancelVestResponse

type MsgCancelVestResponse struct {
}

func (*MsgCancelVestResponse) Descriptor

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

func (*MsgCancelVestResponse) Marshal

func (m *MsgCancelVestResponse) Marshal() (dAtA []byte, err error)

func (*MsgCancelVestResponse) MarshalTo

func (m *MsgCancelVestResponse) MarshalTo(dAtA []byte) (int, error)

func (*MsgCancelVestResponse) MarshalToSizedBuffer

func (m *MsgCancelVestResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*MsgCancelVestResponse) ProtoMessage

func (*MsgCancelVestResponse) ProtoMessage()

func (*MsgCancelVestResponse) Reset

func (m *MsgCancelVestResponse) Reset()

func (*MsgCancelVestResponse) Size

func (m *MsgCancelVestResponse) Size() (n int)

func (*MsgCancelVestResponse) String

func (m *MsgCancelVestResponse) String() string

func (*MsgCancelVestResponse) Unmarshal

func (m *MsgCancelVestResponse) Unmarshal(dAtA []byte) error

func (*MsgCancelVestResponse) XXX_DiscardUnknown

func (m *MsgCancelVestResponse) XXX_DiscardUnknown()

func (*MsgCancelVestResponse) XXX_Marshal

func (m *MsgCancelVestResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*MsgCancelVestResponse) XXX_Merge

func (m *MsgCancelVestResponse) XXX_Merge(src proto.Message)

func (*MsgCancelVestResponse) XXX_Size

func (m *MsgCancelVestResponse) XXX_Size() int

func (*MsgCancelVestResponse) XXX_Unmarshal

func (m *MsgCancelVestResponse) XXX_Unmarshal(b []byte) error

type MsgClaimReward added in v0.15.0

type MsgClaimReward struct {
	Creator string                                 `protobuf:"bytes,1,opt,name=creator,proto3" json:"creator,omitempty"`
	Amount  github_com_cosmos_cosmos_sdk_types.Int `protobuf:"bytes,2,opt,name=amount,proto3,customtype=github.com/cosmos/cosmos-sdk/types.Int" json:"amount"`
	Denom   string                                 `protobuf:"bytes,3,opt,name=denom,proto3" json:"denom,omitempty"`
}

func NewMsgClaimReward added in v0.15.0

func NewMsgClaimReward(creator string, amount sdk.Int, denom string) *MsgClaimReward

func (*MsgClaimReward) Descriptor added in v0.15.0

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

func (*MsgClaimReward) GetCreator added in v0.15.0

func (m *MsgClaimReward) GetCreator() string

func (*MsgClaimReward) GetDenom added in v0.15.0

func (m *MsgClaimReward) GetDenom() string

func (*MsgClaimReward) GetSignBytes added in v0.15.0

func (msg *MsgClaimReward) GetSignBytes() []byte

func (*MsgClaimReward) GetSigners added in v0.15.0

func (msg *MsgClaimReward) GetSigners() []sdk.AccAddress

func (*MsgClaimReward) Marshal added in v0.15.0

func (m *MsgClaimReward) Marshal() (dAtA []byte, err error)

func (*MsgClaimReward) MarshalTo added in v0.15.0

func (m *MsgClaimReward) MarshalTo(dAtA []byte) (int, error)

func (*MsgClaimReward) MarshalToSizedBuffer added in v0.15.0

func (m *MsgClaimReward) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*MsgClaimReward) ProtoMessage added in v0.15.0

func (*MsgClaimReward) ProtoMessage()

func (*MsgClaimReward) Reset added in v0.15.0

func (m *MsgClaimReward) Reset()

func (*MsgClaimReward) Route added in v0.15.0

func (msg *MsgClaimReward) Route() string

func (*MsgClaimReward) Size added in v0.15.0

func (m *MsgClaimReward) Size() (n int)

func (*MsgClaimReward) String added in v0.15.0

func (m *MsgClaimReward) String() string

func (*MsgClaimReward) Type added in v0.15.0

func (msg *MsgClaimReward) Type() string

func (*MsgClaimReward) Unmarshal added in v0.15.0

func (m *MsgClaimReward) Unmarshal(dAtA []byte) error

func (*MsgClaimReward) ValidateBasic added in v0.15.0

func (msg *MsgClaimReward) ValidateBasic() error

func (*MsgClaimReward) XXX_DiscardUnknown added in v0.15.0

func (m *MsgClaimReward) XXX_DiscardUnknown()

func (*MsgClaimReward) XXX_Marshal added in v0.15.0

func (m *MsgClaimReward) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*MsgClaimReward) XXX_Merge added in v0.15.0

func (m *MsgClaimReward) XXX_Merge(src proto.Message)

func (*MsgClaimReward) XXX_Size added in v0.15.0

func (m *MsgClaimReward) XXX_Size() int

func (*MsgClaimReward) XXX_Unmarshal added in v0.15.0

func (m *MsgClaimReward) XXX_Unmarshal(b []byte) error

type MsgClaimRewardResponse added in v0.15.0

type MsgClaimRewardResponse struct {
}

func (*MsgClaimRewardResponse) Descriptor added in v0.15.0

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

func (*MsgClaimRewardResponse) Marshal added in v0.15.0

func (m *MsgClaimRewardResponse) Marshal() (dAtA []byte, err error)

func (*MsgClaimRewardResponse) MarshalTo added in v0.15.0

func (m *MsgClaimRewardResponse) MarshalTo(dAtA []byte) (int, error)

func (*MsgClaimRewardResponse) MarshalToSizedBuffer added in v0.15.0

func (m *MsgClaimRewardResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*MsgClaimRewardResponse) ProtoMessage added in v0.15.0

func (*MsgClaimRewardResponse) ProtoMessage()

func (*MsgClaimRewardResponse) Reset added in v0.15.0

func (m *MsgClaimRewardResponse) Reset()

func (*MsgClaimRewardResponse) Size added in v0.15.0

func (m *MsgClaimRewardResponse) Size() (n int)

func (*MsgClaimRewardResponse) String added in v0.15.0

func (m *MsgClaimRewardResponse) String() string

func (*MsgClaimRewardResponse) Unmarshal added in v0.15.0

func (m *MsgClaimRewardResponse) Unmarshal(dAtA []byte) error

func (*MsgClaimRewardResponse) XXX_DiscardUnknown added in v0.15.0

func (m *MsgClaimRewardResponse) XXX_DiscardUnknown()

func (*MsgClaimRewardResponse) XXX_Marshal added in v0.15.0

func (m *MsgClaimRewardResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*MsgClaimRewardResponse) XXX_Merge added in v0.15.0

func (m *MsgClaimRewardResponse) XXX_Merge(src proto.Message)

func (*MsgClaimRewardResponse) XXX_Size added in v0.15.0

func (m *MsgClaimRewardResponse) XXX_Size() int

func (*MsgClaimRewardResponse) XXX_Unmarshal added in v0.15.0

func (m *MsgClaimRewardResponse) XXX_Unmarshal(b []byte) error

type MsgClaimRewards added in v0.15.0

type MsgClaimRewards struct {
	Creator string `protobuf:"bytes,1,opt,name=creator,proto3" json:"creator,omitempty"`
}

func NewMsgClaimRewards added in v0.15.0

func NewMsgClaimRewards(creator string) *MsgClaimRewards

func (*MsgClaimRewards) Descriptor added in v0.15.0

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

func (*MsgClaimRewards) GetCreator added in v0.15.0

func (m *MsgClaimRewards) GetCreator() string

func (*MsgClaimRewards) GetSignBytes added in v0.15.0

func (msg *MsgClaimRewards) GetSignBytes() []byte

func (*MsgClaimRewards) GetSigners added in v0.15.0

func (msg *MsgClaimRewards) GetSigners() []sdk.AccAddress

func (*MsgClaimRewards) Marshal added in v0.15.0

func (m *MsgClaimRewards) Marshal() (dAtA []byte, err error)

func (*MsgClaimRewards) MarshalTo added in v0.15.0

func (m *MsgClaimRewards) MarshalTo(dAtA []byte) (int, error)

func (*MsgClaimRewards) MarshalToSizedBuffer added in v0.15.0

func (m *MsgClaimRewards) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*MsgClaimRewards) ProtoMessage added in v0.15.0

func (*MsgClaimRewards) ProtoMessage()

func (*MsgClaimRewards) Reset added in v0.15.0

func (m *MsgClaimRewards) Reset()

func (*MsgClaimRewards) Route added in v0.15.0

func (msg *MsgClaimRewards) Route() string

func (*MsgClaimRewards) Size added in v0.15.0

func (m *MsgClaimRewards) Size() (n int)

func (*MsgClaimRewards) String added in v0.15.0

func (m *MsgClaimRewards) String() string

func (*MsgClaimRewards) Type added in v0.15.0

func (msg *MsgClaimRewards) Type() string

func (*MsgClaimRewards) Unmarshal added in v0.15.0

func (m *MsgClaimRewards) Unmarshal(dAtA []byte) error

func (*MsgClaimRewards) ValidateBasic added in v0.15.0

func (msg *MsgClaimRewards) ValidateBasic() error

func (*MsgClaimRewards) XXX_DiscardUnknown added in v0.15.0

func (m *MsgClaimRewards) XXX_DiscardUnknown()

func (*MsgClaimRewards) XXX_Marshal added in v0.15.0

func (m *MsgClaimRewards) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*MsgClaimRewards) XXX_Merge added in v0.15.0

func (m *MsgClaimRewards) XXX_Merge(src proto.Message)

func (*MsgClaimRewards) XXX_Size added in v0.15.0

func (m *MsgClaimRewards) XXX_Size() int

func (*MsgClaimRewards) XXX_Unmarshal added in v0.15.0

func (m *MsgClaimRewards) XXX_Unmarshal(b []byte) error

type MsgClaimRewardsResponse added in v0.15.0

type MsgClaimRewardsResponse struct {
}

func (*MsgClaimRewardsResponse) Descriptor added in v0.15.0

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

func (*MsgClaimRewardsResponse) Marshal added in v0.15.0

func (m *MsgClaimRewardsResponse) Marshal() (dAtA []byte, err error)

func (*MsgClaimRewardsResponse) MarshalTo added in v0.15.0

func (m *MsgClaimRewardsResponse) MarshalTo(dAtA []byte) (int, error)

func (*MsgClaimRewardsResponse) MarshalToSizedBuffer added in v0.15.0

func (m *MsgClaimRewardsResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*MsgClaimRewardsResponse) ProtoMessage added in v0.15.0

func (*MsgClaimRewardsResponse) ProtoMessage()

func (*MsgClaimRewardsResponse) Reset added in v0.15.0

func (m *MsgClaimRewardsResponse) Reset()

func (*MsgClaimRewardsResponse) Size added in v0.15.0

func (m *MsgClaimRewardsResponse) Size() (n int)

func (*MsgClaimRewardsResponse) String added in v0.15.0

func (m *MsgClaimRewardsResponse) String() string

func (*MsgClaimRewardsResponse) Unmarshal added in v0.15.0

func (m *MsgClaimRewardsResponse) Unmarshal(dAtA []byte) error

func (*MsgClaimRewardsResponse) XXX_DiscardUnknown added in v0.15.0

func (m *MsgClaimRewardsResponse) XXX_DiscardUnknown()

func (*MsgClaimRewardsResponse) XXX_Marshal added in v0.15.0

func (m *MsgClaimRewardsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*MsgClaimRewardsResponse) XXX_Merge added in v0.15.0

func (m *MsgClaimRewardsResponse) XXX_Merge(src proto.Message)

func (*MsgClaimRewardsResponse) XXX_Size added in v0.15.0

func (m *MsgClaimRewardsResponse) XXX_Size() int

func (*MsgClaimRewardsResponse) XXX_Unmarshal added in v0.15.0

func (m *MsgClaimRewardsResponse) XXX_Unmarshal(b []byte) error

type MsgClient

type MsgClient interface {
	// CommitLiquidTokens commit the tokens from user's balance
	CommitLiquidTokens(ctx context.Context, in *MsgCommitLiquidTokens, opts ...grpc.CallOption) (*MsgCommitLiquidTokensResponse, error)
	// 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)
	// UpdateVestingInfo add/update specific vesting info by denom on Params
	UpdateVestingInfo(ctx context.Context, in *MsgUpdateVestingInfo, opts ...grpc.CallOption) (*MsgUpdateVestingInfoResponse, 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://godoc.org/google.golang.org/grpc#ClientConn.NewStream.

func NewMsgClient

func NewMsgClient(cc grpc1.ClientConn) MsgClient

type MsgCommitClaimedRewards added in v0.15.0

type MsgCommitClaimedRewards struct {
	Creator string                                 `protobuf:"bytes,1,opt,name=creator,proto3" json:"creator,omitempty"`
	Amount  github_com_cosmos_cosmos_sdk_types.Int `protobuf:"bytes,2,opt,name=amount,proto3,customtype=github.com/cosmos/cosmos-sdk/types.Int" json:"amount"`
	Denom   string                                 `protobuf:"bytes,3,opt,name=denom,proto3" json:"denom,omitempty"`
}

func NewMsgCommitClaimedRewards added in v0.15.0

func NewMsgCommitClaimedRewards(creator string, amount sdk.Int, denom string) *MsgCommitClaimedRewards

func (*MsgCommitClaimedRewards) Descriptor added in v0.15.0

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

func (*MsgCommitClaimedRewards) GetCreator added in v0.15.0

func (m *MsgCommitClaimedRewards) GetCreator() string

func (*MsgCommitClaimedRewards) GetDenom added in v0.15.0

func (m *MsgCommitClaimedRewards) GetDenom() string

func (*MsgCommitClaimedRewards) GetSignBytes added in v0.15.0

func (msg *MsgCommitClaimedRewards) GetSignBytes() []byte

func (*MsgCommitClaimedRewards) GetSigners added in v0.15.0

func (msg *MsgCommitClaimedRewards) GetSigners() []sdk.AccAddress

func (*MsgCommitClaimedRewards) Marshal added in v0.15.0

func (m *MsgCommitClaimedRewards) Marshal() (dAtA []byte, err error)

func (*MsgCommitClaimedRewards) MarshalTo added in v0.15.0

func (m *MsgCommitClaimedRewards) MarshalTo(dAtA []byte) (int, error)

func (*MsgCommitClaimedRewards) MarshalToSizedBuffer added in v0.15.0

func (m *MsgCommitClaimedRewards) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*MsgCommitClaimedRewards) ProtoMessage added in v0.15.0

func (*MsgCommitClaimedRewards) ProtoMessage()

func (*MsgCommitClaimedRewards) Reset added in v0.15.0

func (m *MsgCommitClaimedRewards) Reset()

func (*MsgCommitClaimedRewards) Route added in v0.15.0

func (msg *MsgCommitClaimedRewards) Route() string

func (*MsgCommitClaimedRewards) Size added in v0.15.0

func (m *MsgCommitClaimedRewards) Size() (n int)

func (*MsgCommitClaimedRewards) String added in v0.15.0

func (m *MsgCommitClaimedRewards) String() string

func (*MsgCommitClaimedRewards) Type added in v0.15.0

func (msg *MsgCommitClaimedRewards) Type() string

func (*MsgCommitClaimedRewards) Unmarshal added in v0.15.0

func (m *MsgCommitClaimedRewards) Unmarshal(dAtA []byte) error

func (*MsgCommitClaimedRewards) ValidateBasic added in v0.15.0

func (msg *MsgCommitClaimedRewards) ValidateBasic() error

func (*MsgCommitClaimedRewards) XXX_DiscardUnknown added in v0.15.0

func (m *MsgCommitClaimedRewards) XXX_DiscardUnknown()

func (*MsgCommitClaimedRewards) XXX_Marshal added in v0.15.0

func (m *MsgCommitClaimedRewards) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*MsgCommitClaimedRewards) XXX_Merge added in v0.15.0

func (m *MsgCommitClaimedRewards) XXX_Merge(src proto.Message)

func (*MsgCommitClaimedRewards) XXX_Size added in v0.15.0

func (m *MsgCommitClaimedRewards) XXX_Size() int

func (*MsgCommitClaimedRewards) XXX_Unmarshal added in v0.15.0

func (m *MsgCommitClaimedRewards) XXX_Unmarshal(b []byte) error

type MsgCommitClaimedRewardsResponse added in v0.15.0

type MsgCommitClaimedRewardsResponse struct {
}

func (*MsgCommitClaimedRewardsResponse) Descriptor added in v0.15.0

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

func (*MsgCommitClaimedRewardsResponse) Marshal added in v0.15.0

func (m *MsgCommitClaimedRewardsResponse) Marshal() (dAtA []byte, err error)

func (*MsgCommitClaimedRewardsResponse) MarshalTo added in v0.15.0

func (m *MsgCommitClaimedRewardsResponse) MarshalTo(dAtA []byte) (int, error)

func (*MsgCommitClaimedRewardsResponse) MarshalToSizedBuffer added in v0.15.0

func (m *MsgCommitClaimedRewardsResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*MsgCommitClaimedRewardsResponse) ProtoMessage added in v0.15.0

func (*MsgCommitClaimedRewardsResponse) ProtoMessage()

func (*MsgCommitClaimedRewardsResponse) Reset added in v0.15.0

func (*MsgCommitClaimedRewardsResponse) Size added in v0.15.0

func (m *MsgCommitClaimedRewardsResponse) Size() (n int)

func (*MsgCommitClaimedRewardsResponse) String added in v0.15.0

func (*MsgCommitClaimedRewardsResponse) Unmarshal added in v0.15.0

func (m *MsgCommitClaimedRewardsResponse) Unmarshal(dAtA []byte) error

func (*MsgCommitClaimedRewardsResponse) XXX_DiscardUnknown added in v0.15.0

func (m *MsgCommitClaimedRewardsResponse) XXX_DiscardUnknown()

func (*MsgCommitClaimedRewardsResponse) XXX_Marshal added in v0.15.0

func (m *MsgCommitClaimedRewardsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*MsgCommitClaimedRewardsResponse) XXX_Merge added in v0.15.0

func (m *MsgCommitClaimedRewardsResponse) XXX_Merge(src proto.Message)

func (*MsgCommitClaimedRewardsResponse) XXX_Size added in v0.15.0

func (m *MsgCommitClaimedRewardsResponse) XXX_Size() int

func (*MsgCommitClaimedRewardsResponse) XXX_Unmarshal added in v0.15.0

func (m *MsgCommitClaimedRewardsResponse) XXX_Unmarshal(b []byte) error

type MsgCommitLiquidTokens added in v0.13.0

type MsgCommitLiquidTokens struct {
	Creator   string                                 `protobuf:"bytes,1,opt,name=creator,proto3" json:"creator,omitempty"`
	Amount    github_com_cosmos_cosmos_sdk_types.Int `protobuf:"bytes,2,opt,name=amount,proto3,customtype=github.com/cosmos/cosmos-sdk/types.Int" json:"amount"`
	Denom     string                                 `protobuf:"bytes,3,opt,name=denom,proto3" json:"denom,omitempty"`
	LockUntil uint64                                 `protobuf:"varint,4,opt,name=lock_until,json=lockUntil,proto3" json:"lock_until,omitempty"`
}

func NewMsgCommitLiquidTokens added in v0.13.0

func NewMsgCommitLiquidTokens(creator string, amount sdk.Int, denom string) *MsgCommitLiquidTokens

func (*MsgCommitLiquidTokens) Descriptor added in v0.13.0

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

func (*MsgCommitLiquidTokens) GetCreator added in v0.13.0

func (m *MsgCommitLiquidTokens) GetCreator() string

func (*MsgCommitLiquidTokens) GetDenom added in v0.13.0

func (m *MsgCommitLiquidTokens) GetDenom() string

func (*MsgCommitLiquidTokens) GetLockUntil added in v0.17.0

func (m *MsgCommitLiquidTokens) GetLockUntil() uint64

func (*MsgCommitLiquidTokens) GetSignBytes added in v0.13.0

func (msg *MsgCommitLiquidTokens) GetSignBytes() []byte

func (*MsgCommitLiquidTokens) GetSigners added in v0.13.0

func (msg *MsgCommitLiquidTokens) GetSigners() []sdk.AccAddress

func (*MsgCommitLiquidTokens) Marshal added in v0.13.0

func (m *MsgCommitLiquidTokens) Marshal() (dAtA []byte, err error)

func (*MsgCommitLiquidTokens) MarshalTo added in v0.13.0

func (m *MsgCommitLiquidTokens) MarshalTo(dAtA []byte) (int, error)

func (*MsgCommitLiquidTokens) MarshalToSizedBuffer added in v0.13.0

func (m *MsgCommitLiquidTokens) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*MsgCommitLiquidTokens) ProtoMessage added in v0.13.0

func (*MsgCommitLiquidTokens) ProtoMessage()

func (*MsgCommitLiquidTokens) Reset added in v0.13.0

func (m *MsgCommitLiquidTokens) Reset()

func (*MsgCommitLiquidTokens) Route added in v0.13.0

func (msg *MsgCommitLiquidTokens) Route() string

func (*MsgCommitLiquidTokens) Size added in v0.13.0

func (m *MsgCommitLiquidTokens) Size() (n int)

func (*MsgCommitLiquidTokens) String added in v0.13.0

func (m *MsgCommitLiquidTokens) String() string

func (*MsgCommitLiquidTokens) Type added in v0.13.0

func (msg *MsgCommitLiquidTokens) Type() string

func (*MsgCommitLiquidTokens) Unmarshal added in v0.13.0

func (m *MsgCommitLiquidTokens) Unmarshal(dAtA []byte) error

func (*MsgCommitLiquidTokens) ValidateBasic added in v0.13.0

func (msg *MsgCommitLiquidTokens) ValidateBasic() error

func (*MsgCommitLiquidTokens) XXX_DiscardUnknown added in v0.13.0

func (m *MsgCommitLiquidTokens) XXX_DiscardUnknown()

func (*MsgCommitLiquidTokens) XXX_Marshal added in v0.13.0

func (m *MsgCommitLiquidTokens) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*MsgCommitLiquidTokens) XXX_Merge added in v0.13.0

func (m *MsgCommitLiquidTokens) XXX_Merge(src proto.Message)

func (*MsgCommitLiquidTokens) XXX_Size added in v0.13.0

func (m *MsgCommitLiquidTokens) XXX_Size() int

func (*MsgCommitLiquidTokens) XXX_Unmarshal added in v0.13.0

func (m *MsgCommitLiquidTokens) XXX_Unmarshal(b []byte) error

type MsgCommitLiquidTokensResponse added in v0.13.0

type MsgCommitLiquidTokensResponse struct {
}

func (*MsgCommitLiquidTokensResponse) Descriptor added in v0.13.0

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

func (*MsgCommitLiquidTokensResponse) Marshal added in v0.13.0

func (m *MsgCommitLiquidTokensResponse) Marshal() (dAtA []byte, err error)

func (*MsgCommitLiquidTokensResponse) MarshalTo added in v0.13.0

func (m *MsgCommitLiquidTokensResponse) MarshalTo(dAtA []byte) (int, error)

func (*MsgCommitLiquidTokensResponse) MarshalToSizedBuffer added in v0.13.0

func (m *MsgCommitLiquidTokensResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*MsgCommitLiquidTokensResponse) ProtoMessage added in v0.13.0

func (*MsgCommitLiquidTokensResponse) ProtoMessage()

func (*MsgCommitLiquidTokensResponse) Reset added in v0.13.0

func (m *MsgCommitLiquidTokensResponse) Reset()

func (*MsgCommitLiquidTokensResponse) Size added in v0.13.0

func (m *MsgCommitLiquidTokensResponse) Size() (n int)

func (*MsgCommitLiquidTokensResponse) String added in v0.13.0

func (*MsgCommitLiquidTokensResponse) Unmarshal added in v0.13.0

func (m *MsgCommitLiquidTokensResponse) Unmarshal(dAtA []byte) error

func (*MsgCommitLiquidTokensResponse) XXX_DiscardUnknown added in v0.13.0

func (m *MsgCommitLiquidTokensResponse) XXX_DiscardUnknown()

func (*MsgCommitLiquidTokensResponse) XXX_Marshal added in v0.13.0

func (m *MsgCommitLiquidTokensResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*MsgCommitLiquidTokensResponse) XXX_Merge added in v0.13.0

func (m *MsgCommitLiquidTokensResponse) XXX_Merge(src proto.Message)

func (*MsgCommitLiquidTokensResponse) XXX_Size added in v0.13.0

func (m *MsgCommitLiquidTokensResponse) XXX_Size() int

func (*MsgCommitLiquidTokensResponse) XXX_Unmarshal added in v0.13.0

func (m *MsgCommitLiquidTokensResponse) XXX_Unmarshal(b []byte) error

type MsgServer

type MsgServer interface {
	// CommitLiquidTokens commit the tokens from user's balance
	CommitLiquidTokens(context.Context, *MsgCommitLiquidTokens) (*MsgCommitLiquidTokensResponse, error)
	// 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)
	// UpdateVestingInfo add/update specific vesting info by denom on Params
	UpdateVestingInfo(context.Context, *MsgUpdateVestingInfo) (*MsgUpdateVestingInfoResponse, error)
	Stake(context.Context, *MsgStake) (*MsgStakeResponse, error)
	Unstake(context.Context, *MsgUnstake) (*MsgUnstakeResponse, error)
}

MsgServer is the server API for Msg service.

type MsgStake added in v0.14.0

type MsgStake struct {
	Creator          string                                 `protobuf:"bytes,1,opt,name=creator,proto3" json:"creator,omitempty"`
	Amount           github_com_cosmos_cosmos_sdk_types.Int `protobuf:"bytes,2,opt,name=amount,proto3,customtype=github.com/cosmos/cosmos-sdk/types.Int" json:"amount"`
	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"`
}

func NewMsgStake added in v0.14.0

func NewMsgStake(creator string, amount sdk.Int, asset string, validatorAddress string) *MsgStake

func (*MsgStake) Descriptor added in v0.14.0

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

func (*MsgStake) GetAsset added in v0.14.0

func (m *MsgStake) GetAsset() string

func (*MsgStake) GetCreator added in v0.14.0

func (m *MsgStake) GetCreator() string

func (*MsgStake) GetSignBytes added in v0.14.0

func (msg *MsgStake) GetSignBytes() []byte

func (*MsgStake) GetSigners added in v0.14.0

func (msg *MsgStake) GetSigners() []sdk.AccAddress

func (*MsgStake) GetValidatorAddress added in v0.14.0

func (m *MsgStake) GetValidatorAddress() string

func (*MsgStake) Marshal added in v0.14.0

func (m *MsgStake) Marshal() (dAtA []byte, err error)

func (*MsgStake) MarshalTo added in v0.14.0

func (m *MsgStake) MarshalTo(dAtA []byte) (int, error)

func (*MsgStake) MarshalToSizedBuffer added in v0.14.0

func (m *MsgStake) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*MsgStake) ProtoMessage added in v0.14.0

func (*MsgStake) ProtoMessage()

func (*MsgStake) Reset added in v0.14.0

func (m *MsgStake) Reset()

func (*MsgStake) Route added in v0.14.0

func (msg *MsgStake) Route() string

func (*MsgStake) Size added in v0.14.0

func (m *MsgStake) Size() (n int)

func (*MsgStake) String added in v0.14.0

func (m *MsgStake) String() string

func (*MsgStake) Type added in v0.14.0

func (msg *MsgStake) Type() string

func (*MsgStake) Unmarshal added in v0.14.0

func (m *MsgStake) Unmarshal(dAtA []byte) error

func (*MsgStake) ValidateBasic added in v0.14.0

func (msg *MsgStake) ValidateBasic() error

func (*MsgStake) XXX_DiscardUnknown added in v0.14.0

func (m *MsgStake) XXX_DiscardUnknown()

func (*MsgStake) XXX_Marshal added in v0.14.0

func (m *MsgStake) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*MsgStake) XXX_Merge added in v0.14.0

func (m *MsgStake) XXX_Merge(src proto.Message)

func (*MsgStake) XXX_Size added in v0.14.0

func (m *MsgStake) XXX_Size() int

func (*MsgStake) XXX_Unmarshal added in v0.14.0

func (m *MsgStake) XXX_Unmarshal(b []byte) error

type MsgStakeResponse added in v0.14.0

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"`
}

func (*MsgStakeResponse) Descriptor added in v0.14.0

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

func (*MsgStakeResponse) GetCode added in v0.14.0

func (m *MsgStakeResponse) GetCode() uint64

func (*MsgStakeResponse) GetResult added in v0.14.0

func (m *MsgStakeResponse) GetResult() string

func (*MsgStakeResponse) Marshal added in v0.14.0

func (m *MsgStakeResponse) Marshal() (dAtA []byte, err error)

func (*MsgStakeResponse) MarshalTo added in v0.14.0

func (m *MsgStakeResponse) MarshalTo(dAtA []byte) (int, error)

func (*MsgStakeResponse) MarshalToSizedBuffer added in v0.14.0

func (m *MsgStakeResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*MsgStakeResponse) ProtoMessage added in v0.14.0

func (*MsgStakeResponse) ProtoMessage()

func (*MsgStakeResponse) Reset added in v0.14.0

func (m *MsgStakeResponse) Reset()

func (*MsgStakeResponse) Size added in v0.14.0

func (m *MsgStakeResponse) Size() (n int)

func (*MsgStakeResponse) String added in v0.14.0

func (m *MsgStakeResponse) String() string

func (*MsgStakeResponse) Unmarshal added in v0.14.0

func (m *MsgStakeResponse) Unmarshal(dAtA []byte) error

func (*MsgStakeResponse) XXX_DiscardUnknown added in v0.14.0

func (m *MsgStakeResponse) XXX_DiscardUnknown()

func (*MsgStakeResponse) XXX_Marshal added in v0.14.0

func (m *MsgStakeResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*MsgStakeResponse) XXX_Merge added in v0.14.0

func (m *MsgStakeResponse) XXX_Merge(src proto.Message)

func (*MsgStakeResponse) XXX_Size added in v0.14.0

func (m *MsgStakeResponse) XXX_Size() int

func (*MsgStakeResponse) XXX_Unmarshal added in v0.14.0

func (m *MsgStakeResponse) XXX_Unmarshal(b []byte) error

type MsgUncommitTokens

type MsgUncommitTokens struct {
	Creator string                                 `protobuf:"bytes,1,opt,name=creator,proto3" json:"creator,omitempty"`
	Amount  github_com_cosmos_cosmos_sdk_types.Int `protobuf:"bytes,2,opt,name=amount,proto3,customtype=github.com/cosmos/cosmos-sdk/types.Int" json:"amount"`
	Denom   string                                 `protobuf:"bytes,3,opt,name=denom,proto3" json:"denom,omitempty"`
}

func NewMsgUncommitTokens

func NewMsgUncommitTokens(creator string, amount sdk.Int, denom string) *MsgUncommitTokens

func (*MsgUncommitTokens) Descriptor

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

func (*MsgUncommitTokens) GetCreator

func (m *MsgUncommitTokens) GetCreator() string

func (*MsgUncommitTokens) GetDenom

func (m *MsgUncommitTokens) GetDenom() string

func (*MsgUncommitTokens) GetSignBytes

func (msg *MsgUncommitTokens) GetSignBytes() []byte

func (*MsgUncommitTokens) GetSigners

func (msg *MsgUncommitTokens) GetSigners() []sdk.AccAddress

func (*MsgUncommitTokens) Marshal

func (m *MsgUncommitTokens) Marshal() (dAtA []byte, err error)

func (*MsgUncommitTokens) MarshalTo

func (m *MsgUncommitTokens) MarshalTo(dAtA []byte) (int, error)

func (*MsgUncommitTokens) MarshalToSizedBuffer

func (m *MsgUncommitTokens) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*MsgUncommitTokens) ProtoMessage

func (*MsgUncommitTokens) ProtoMessage()

func (*MsgUncommitTokens) Reset

func (m *MsgUncommitTokens) Reset()

func (*MsgUncommitTokens) Route

func (msg *MsgUncommitTokens) Route() string

func (*MsgUncommitTokens) Size

func (m *MsgUncommitTokens) Size() (n int)

func (*MsgUncommitTokens) String

func (m *MsgUncommitTokens) String() string

func (*MsgUncommitTokens) Type

func (msg *MsgUncommitTokens) Type() string

func (*MsgUncommitTokens) Unmarshal

func (m *MsgUncommitTokens) Unmarshal(dAtA []byte) error

func (MsgUncommitTokens) ValidateBasic

func (msg MsgUncommitTokens) ValidateBasic() error

func (*MsgUncommitTokens) XXX_DiscardUnknown

func (m *MsgUncommitTokens) XXX_DiscardUnknown()

func (*MsgUncommitTokens) XXX_Marshal

func (m *MsgUncommitTokens) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*MsgUncommitTokens) XXX_Merge

func (m *MsgUncommitTokens) XXX_Merge(src proto.Message)

func (*MsgUncommitTokens) XXX_Size

func (m *MsgUncommitTokens) XXX_Size() int

func (*MsgUncommitTokens) XXX_Unmarshal

func (m *MsgUncommitTokens) XXX_Unmarshal(b []byte) error

type MsgUncommitTokensResponse

type MsgUncommitTokensResponse struct {
}

func (*MsgUncommitTokensResponse) Descriptor

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

func (*MsgUncommitTokensResponse) Marshal

func (m *MsgUncommitTokensResponse) Marshal() (dAtA []byte, err error)

func (*MsgUncommitTokensResponse) MarshalTo

func (m *MsgUncommitTokensResponse) MarshalTo(dAtA []byte) (int, error)

func (*MsgUncommitTokensResponse) MarshalToSizedBuffer

func (m *MsgUncommitTokensResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*MsgUncommitTokensResponse) ProtoMessage

func (*MsgUncommitTokensResponse) ProtoMessage()

func (*MsgUncommitTokensResponse) Reset

func (m *MsgUncommitTokensResponse) Reset()

func (*MsgUncommitTokensResponse) Size

func (m *MsgUncommitTokensResponse) Size() (n int)

func (*MsgUncommitTokensResponse) String

func (m *MsgUncommitTokensResponse) String() string

func (*MsgUncommitTokensResponse) Unmarshal

func (m *MsgUncommitTokensResponse) Unmarshal(dAtA []byte) error

func (*MsgUncommitTokensResponse) XXX_DiscardUnknown

func (m *MsgUncommitTokensResponse) XXX_DiscardUnknown()

func (*MsgUncommitTokensResponse) XXX_Marshal

func (m *MsgUncommitTokensResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*MsgUncommitTokensResponse) XXX_Merge

func (m *MsgUncommitTokensResponse) XXX_Merge(src proto.Message)

func (*MsgUncommitTokensResponse) XXX_Size

func (m *MsgUncommitTokensResponse) XXX_Size() int

func (*MsgUncommitTokensResponse) XXX_Unmarshal

func (m *MsgUncommitTokensResponse) XXX_Unmarshal(b []byte) error

type MsgUnstake added in v0.14.0

type MsgUnstake struct {
	Creator          string                                 `protobuf:"bytes,1,opt,name=creator,proto3" json:"creator,omitempty"`
	Amount           github_com_cosmos_cosmos_sdk_types.Int `protobuf:"bytes,2,opt,name=amount,proto3,customtype=github.com/cosmos/cosmos-sdk/types.Int" json:"amount"`
	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"`
}

func NewMsgUnstake added in v0.14.0

func NewMsgUnstake(creator string, amount sdk.Int, asset string, validatorAddress string) *MsgUnstake

func (*MsgUnstake) Descriptor added in v0.14.0

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

func (*MsgUnstake) GetAsset added in v0.14.0

func (m *MsgUnstake) GetAsset() string

func (*MsgUnstake) GetCreator added in v0.14.0

func (m *MsgUnstake) GetCreator() string

func (*MsgUnstake) GetSignBytes added in v0.14.0

func (msg *MsgUnstake) GetSignBytes() []byte

func (*MsgUnstake) GetSigners added in v0.14.0

func (msg *MsgUnstake) GetSigners() []sdk.AccAddress

func (*MsgUnstake) GetValidatorAddress added in v0.14.0

func (m *MsgUnstake) GetValidatorAddress() string

func (*MsgUnstake) Marshal added in v0.14.0

func (m *MsgUnstake) Marshal() (dAtA []byte, err error)

func (*MsgUnstake) MarshalTo added in v0.14.0

func (m *MsgUnstake) MarshalTo(dAtA []byte) (int, error)

func (*MsgUnstake) MarshalToSizedBuffer added in v0.14.0

func (m *MsgUnstake) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*MsgUnstake) ProtoMessage added in v0.14.0

func (*MsgUnstake) ProtoMessage()

func (*MsgUnstake) Reset added in v0.14.0

func (m *MsgUnstake) Reset()

func (*MsgUnstake) Route added in v0.14.0

func (msg *MsgUnstake) Route() string

func (*MsgUnstake) Size added in v0.14.0

func (m *MsgUnstake) Size() (n int)

func (*MsgUnstake) String added in v0.14.0

func (m *MsgUnstake) String() string

func (*MsgUnstake) Type added in v0.14.0

func (msg *MsgUnstake) Type() string

func (*MsgUnstake) Unmarshal added in v0.14.0

func (m *MsgUnstake) Unmarshal(dAtA []byte) error

func (*MsgUnstake) ValidateBasic added in v0.14.0

func (msg *MsgUnstake) ValidateBasic() error

func (*MsgUnstake) XXX_DiscardUnknown added in v0.14.0

func (m *MsgUnstake) XXX_DiscardUnknown()

func (*MsgUnstake) XXX_Marshal added in v0.14.0

func (m *MsgUnstake) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*MsgUnstake) XXX_Merge added in v0.14.0

func (m *MsgUnstake) XXX_Merge(src proto.Message)

func (*MsgUnstake) XXX_Size added in v0.14.0

func (m *MsgUnstake) XXX_Size() int

func (*MsgUnstake) XXX_Unmarshal added in v0.14.0

func (m *MsgUnstake) XXX_Unmarshal(b []byte) error

type MsgUnstakeResponse added in v0.14.0

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"`
}

func (*MsgUnstakeResponse) Descriptor added in v0.14.0

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

func (*MsgUnstakeResponse) GetCode added in v0.14.0

func (m *MsgUnstakeResponse) GetCode() uint64

func (*MsgUnstakeResponse) GetResult added in v0.14.0

func (m *MsgUnstakeResponse) GetResult() string

func (*MsgUnstakeResponse) Marshal added in v0.14.0

func (m *MsgUnstakeResponse) Marshal() (dAtA []byte, err error)

func (*MsgUnstakeResponse) MarshalTo added in v0.14.0

func (m *MsgUnstakeResponse) MarshalTo(dAtA []byte) (int, error)

func (*MsgUnstakeResponse) MarshalToSizedBuffer added in v0.14.0

func (m *MsgUnstakeResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*MsgUnstakeResponse) ProtoMessage added in v0.14.0

func (*MsgUnstakeResponse) ProtoMessage()

func (*MsgUnstakeResponse) Reset added in v0.14.0

func (m *MsgUnstakeResponse) Reset()

func (*MsgUnstakeResponse) Size added in v0.14.0

func (m *MsgUnstakeResponse) Size() (n int)

func (*MsgUnstakeResponse) String added in v0.14.0

func (m *MsgUnstakeResponse) String() string

func (*MsgUnstakeResponse) Unmarshal added in v0.14.0

func (m *MsgUnstakeResponse) Unmarshal(dAtA []byte) error

func (*MsgUnstakeResponse) XXX_DiscardUnknown added in v0.14.0

func (m *MsgUnstakeResponse) XXX_DiscardUnknown()

func (*MsgUnstakeResponse) XXX_Marshal added in v0.14.0

func (m *MsgUnstakeResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*MsgUnstakeResponse) XXX_Merge added in v0.14.0

func (m *MsgUnstakeResponse) XXX_Merge(src proto.Message)

func (*MsgUnstakeResponse) XXX_Size added in v0.14.0

func (m *MsgUnstakeResponse) XXX_Size() int

func (*MsgUnstakeResponse) XXX_Unmarshal added in v0.14.0

func (m *MsgUnstakeResponse) XXX_Unmarshal(b []byte) error

type MsgUpdateVestingInfo added in v0.12.0

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"`
	EpochIdentifier string `protobuf:"bytes,4,opt,name=epoch_identifier,json=epochIdentifier,proto3" json:"epoch_identifier,omitempty"`
	NumEpochs       int64  `protobuf:"varint,5,opt,name=num_epochs,json=numEpochs,proto3" json:"num_epochs,omitempty"`
	VestNowFactor   int64  `protobuf:"varint,6,opt,name=vest_now_factor,json=vestNowFactor,proto3" json:"vest_now_factor,omitempty"`
	NumMaxVestings  int64  `protobuf:"varint,7,opt,name=num_max_vestings,json=numMaxVestings,proto3" json:"num_max_vestings,omitempty"`
}

func NewMsgUpdateVestingInfo added in v0.12.0

func NewMsgUpdateVestingInfo(creator string, baseDenom string, vestingDenom string, epochIdentifier string, numEpochs int64, vestNowFactor int64, numMaxVestings int64) *MsgUpdateVestingInfo

func (*MsgUpdateVestingInfo) Descriptor added in v0.12.0

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

func (*MsgUpdateVestingInfo) GetAuthority added in v0.12.0

func (m *MsgUpdateVestingInfo) GetAuthority() string

func (*MsgUpdateVestingInfo) GetBaseDenom added in v0.12.0

func (m *MsgUpdateVestingInfo) GetBaseDenom() string

func (*MsgUpdateVestingInfo) GetEpochIdentifier added in v0.12.0

func (m *MsgUpdateVestingInfo) GetEpochIdentifier() string

func (*MsgUpdateVestingInfo) GetNumEpochs added in v0.12.0

func (m *MsgUpdateVestingInfo) GetNumEpochs() int64

func (*MsgUpdateVestingInfo) GetNumMaxVestings added in v0.12.0

func (m *MsgUpdateVestingInfo) GetNumMaxVestings() int64

func (*MsgUpdateVestingInfo) GetSignBytes added in v0.12.0

func (msg *MsgUpdateVestingInfo) GetSignBytes() []byte

func (*MsgUpdateVestingInfo) GetSigners added in v0.12.0

func (msg *MsgUpdateVestingInfo) GetSigners() []sdk.AccAddress

func (*MsgUpdateVestingInfo) GetVestNowFactor added in v0.12.0

func (m *MsgUpdateVestingInfo) GetVestNowFactor() int64

func (*MsgUpdateVestingInfo) GetVestingDenom added in v0.12.0

func (m *MsgUpdateVestingInfo) GetVestingDenom() string

func (*MsgUpdateVestingInfo) Marshal added in v0.12.0

func (m *MsgUpdateVestingInfo) Marshal() (dAtA []byte, err error)

func (*MsgUpdateVestingInfo) MarshalTo added in v0.12.0

func (m *MsgUpdateVestingInfo) MarshalTo(dAtA []byte) (int, error)

func (*MsgUpdateVestingInfo) MarshalToSizedBuffer added in v0.12.0

func (m *MsgUpdateVestingInfo) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*MsgUpdateVestingInfo) ProtoMessage added in v0.12.0

func (*MsgUpdateVestingInfo) ProtoMessage()

func (*MsgUpdateVestingInfo) Reset added in v0.12.0

func (m *MsgUpdateVestingInfo) Reset()

func (*MsgUpdateVestingInfo) Route added in v0.12.0

func (msg *MsgUpdateVestingInfo) Route() string

func (*MsgUpdateVestingInfo) Size added in v0.12.0

func (m *MsgUpdateVestingInfo) Size() (n int)

func (*MsgUpdateVestingInfo) String added in v0.12.0

func (m *MsgUpdateVestingInfo) String() string

func (*MsgUpdateVestingInfo) Type added in v0.12.0

func (msg *MsgUpdateVestingInfo) Type() string

func (*MsgUpdateVestingInfo) Unmarshal added in v0.12.0

func (m *MsgUpdateVestingInfo) Unmarshal(dAtA []byte) error

func (*MsgUpdateVestingInfo) ValidateBasic added in v0.12.0

func (msg *MsgUpdateVestingInfo) ValidateBasic() error

func (*MsgUpdateVestingInfo) XXX_DiscardUnknown added in v0.12.0

func (m *MsgUpdateVestingInfo) XXX_DiscardUnknown()

func (*MsgUpdateVestingInfo) XXX_Marshal added in v0.12.0

func (m *MsgUpdateVestingInfo) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*MsgUpdateVestingInfo) XXX_Merge added in v0.12.0

func (m *MsgUpdateVestingInfo) XXX_Merge(src proto.Message)

func (*MsgUpdateVestingInfo) XXX_Size added in v0.12.0

func (m *MsgUpdateVestingInfo) XXX_Size() int

func (*MsgUpdateVestingInfo) XXX_Unmarshal added in v0.12.0

func (m *MsgUpdateVestingInfo) XXX_Unmarshal(b []byte) error

type MsgUpdateVestingInfoResponse added in v0.12.0

type MsgUpdateVestingInfoResponse struct {
}

func (*MsgUpdateVestingInfoResponse) Descriptor added in v0.12.0

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

func (*MsgUpdateVestingInfoResponse) Marshal added in v0.12.0

func (m *MsgUpdateVestingInfoResponse) Marshal() (dAtA []byte, err error)

func (*MsgUpdateVestingInfoResponse) MarshalTo added in v0.12.0

func (m *MsgUpdateVestingInfoResponse) MarshalTo(dAtA []byte) (int, error)

func (*MsgUpdateVestingInfoResponse) MarshalToSizedBuffer added in v0.12.0

func (m *MsgUpdateVestingInfoResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*MsgUpdateVestingInfoResponse) ProtoMessage added in v0.12.0

func (*MsgUpdateVestingInfoResponse) ProtoMessage()

func (*MsgUpdateVestingInfoResponse) Reset added in v0.12.0

func (m *MsgUpdateVestingInfoResponse) Reset()

func (*MsgUpdateVestingInfoResponse) Size added in v0.12.0

func (m *MsgUpdateVestingInfoResponse) Size() (n int)

func (*MsgUpdateVestingInfoResponse) String added in v0.12.0

func (*MsgUpdateVestingInfoResponse) Unmarshal added in v0.12.0

func (m *MsgUpdateVestingInfoResponse) Unmarshal(dAtA []byte) error

func (*MsgUpdateVestingInfoResponse) XXX_DiscardUnknown added in v0.12.0

func (m *MsgUpdateVestingInfoResponse) XXX_DiscardUnknown()

func (*MsgUpdateVestingInfoResponse) XXX_Marshal added in v0.12.0

func (m *MsgUpdateVestingInfoResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*MsgUpdateVestingInfoResponse) XXX_Merge added in v0.12.0

func (m *MsgUpdateVestingInfoResponse) XXX_Merge(src proto.Message)

func (*MsgUpdateVestingInfoResponse) XXX_Size added in v0.12.0

func (m *MsgUpdateVestingInfoResponse) XXX_Size() int

func (*MsgUpdateVestingInfoResponse) XXX_Unmarshal added in v0.12.0

func (m *MsgUpdateVestingInfoResponse) XXX_Unmarshal(b []byte) error

type MsgVest

type MsgVest struct {
	Creator string                                 `protobuf:"bytes,1,opt,name=creator,proto3" json:"creator,omitempty"`
	Amount  github_com_cosmos_cosmos_sdk_types.Int `protobuf:"bytes,2,opt,name=amount,proto3,customtype=github.com/cosmos/cosmos-sdk/types.Int" json:"amount"`
	Denom   string                                 `protobuf:"bytes,3,opt,name=denom,proto3" json:"denom,omitempty"`
}

func NewMsgVest

func NewMsgVest(creator string, amount sdk.Int, denom string) *MsgVest

func (*MsgVest) Descriptor

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

func (*MsgVest) GetCreator

func (m *MsgVest) GetCreator() string

func (*MsgVest) GetDenom

func (m *MsgVest) GetDenom() string

func (*MsgVest) GetSignBytes

func (msg *MsgVest) GetSignBytes() []byte

func (*MsgVest) GetSigners

func (msg *MsgVest) GetSigners() []sdk.AccAddress

func (*MsgVest) Marshal

func (m *MsgVest) Marshal() (dAtA []byte, err error)

func (*MsgVest) MarshalTo

func (m *MsgVest) MarshalTo(dAtA []byte) (int, error)

func (*MsgVest) MarshalToSizedBuffer

func (m *MsgVest) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*MsgVest) ProtoMessage

func (*MsgVest) ProtoMessage()

func (*MsgVest) Reset

func (m *MsgVest) Reset()

func (*MsgVest) Route

func (msg *MsgVest) Route() string

func (*MsgVest) Size

func (m *MsgVest) Size() (n int)

func (*MsgVest) String

func (m *MsgVest) String() string

func (*MsgVest) Type

func (msg *MsgVest) Type() string

func (*MsgVest) Unmarshal

func (m *MsgVest) Unmarshal(dAtA []byte) error

func (*MsgVest) ValidateBasic

func (msg *MsgVest) ValidateBasic() error

func (*MsgVest) XXX_DiscardUnknown

func (m *MsgVest) XXX_DiscardUnknown()

func (*MsgVest) XXX_Marshal

func (m *MsgVest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*MsgVest) XXX_Merge

func (m *MsgVest) XXX_Merge(src proto.Message)

func (*MsgVest) XXX_Size

func (m *MsgVest) XXX_Size() int

func (*MsgVest) XXX_Unmarshal

func (m *MsgVest) XXX_Unmarshal(b []byte) error

type MsgVestLiquid added in v0.13.0

type MsgVestLiquid struct {
	Creator string                                 `protobuf:"bytes,1,opt,name=creator,proto3" json:"creator,omitempty"`
	Amount  github_com_cosmos_cosmos_sdk_types.Int `protobuf:"bytes,2,opt,name=amount,proto3,customtype=github.com/cosmos/cosmos-sdk/types.Int" json:"amount"`
	Denom   string                                 `protobuf:"bytes,3,opt,name=denom,proto3" json:"denom,omitempty"`
}

func NewMsgVestLiquid added in v0.13.0

func NewMsgVestLiquid(creator string, amount sdk.Int, denom string) *MsgVestLiquid

func (*MsgVestLiquid) Descriptor added in v0.13.0

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

func (*MsgVestLiquid) GetCreator added in v0.13.0

func (m *MsgVestLiquid) GetCreator() string

func (*MsgVestLiquid) GetDenom added in v0.13.0

func (m *MsgVestLiquid) GetDenom() string

func (*MsgVestLiquid) GetSignBytes added in v0.13.0

func (msg *MsgVestLiquid) GetSignBytes() []byte

func (*MsgVestLiquid) GetSigners added in v0.13.0

func (msg *MsgVestLiquid) GetSigners() []sdk.AccAddress

func (*MsgVestLiquid) Marshal added in v0.13.0

func (m *MsgVestLiquid) Marshal() (dAtA []byte, err error)

func (*MsgVestLiquid) MarshalTo added in v0.13.0

func (m *MsgVestLiquid) MarshalTo(dAtA []byte) (int, error)

func (*MsgVestLiquid) MarshalToSizedBuffer added in v0.13.0

func (m *MsgVestLiquid) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*MsgVestLiquid) ProtoMessage added in v0.13.0

func (*MsgVestLiquid) ProtoMessage()

func (*MsgVestLiquid) Reset added in v0.13.0

func (m *MsgVestLiquid) Reset()

func (*MsgVestLiquid) Route added in v0.13.0

func (msg *MsgVestLiquid) Route() string

func (*MsgVestLiquid) Size added in v0.13.0

func (m *MsgVestLiquid) Size() (n int)

func (*MsgVestLiquid) String added in v0.13.0

func (m *MsgVestLiquid) String() string

func (*MsgVestLiquid) Type added in v0.13.0

func (msg *MsgVestLiquid) Type() string

func (*MsgVestLiquid) Unmarshal added in v0.13.0

func (m *MsgVestLiquid) Unmarshal(dAtA []byte) error

func (*MsgVestLiquid) ValidateBasic added in v0.13.0

func (msg *MsgVestLiquid) ValidateBasic() error

func (*MsgVestLiquid) XXX_DiscardUnknown added in v0.13.0

func (m *MsgVestLiquid) XXX_DiscardUnknown()

func (*MsgVestLiquid) XXX_Marshal added in v0.13.0

func (m *MsgVestLiquid) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*MsgVestLiquid) XXX_Merge added in v0.13.0

func (m *MsgVestLiquid) XXX_Merge(src proto.Message)

func (*MsgVestLiquid) XXX_Size added in v0.13.0

func (m *MsgVestLiquid) XXX_Size() int

func (*MsgVestLiquid) XXX_Unmarshal added in v0.13.0

func (m *MsgVestLiquid) XXX_Unmarshal(b []byte) error

type MsgVestLiquidResponse added in v0.13.0

type MsgVestLiquidResponse struct {
}

func (*MsgVestLiquidResponse) Descriptor added in v0.13.0

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

func (*MsgVestLiquidResponse) Marshal added in v0.13.0

func (m *MsgVestLiquidResponse) Marshal() (dAtA []byte, err error)

func (*MsgVestLiquidResponse) MarshalTo added in v0.13.0

func (m *MsgVestLiquidResponse) MarshalTo(dAtA []byte) (int, error)

func (*MsgVestLiquidResponse) MarshalToSizedBuffer added in v0.13.0

func (m *MsgVestLiquidResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*MsgVestLiquidResponse) ProtoMessage added in v0.13.0

func (*MsgVestLiquidResponse) ProtoMessage()

func (*MsgVestLiquidResponse) Reset added in v0.13.0

func (m *MsgVestLiquidResponse) Reset()

func (*MsgVestLiquidResponse) Size added in v0.13.0

func (m *MsgVestLiquidResponse) Size() (n int)

func (*MsgVestLiquidResponse) String added in v0.13.0

func (m *MsgVestLiquidResponse) String() string

func (*MsgVestLiquidResponse) Unmarshal added in v0.13.0

func (m *MsgVestLiquidResponse) Unmarshal(dAtA []byte) error

func (*MsgVestLiquidResponse) XXX_DiscardUnknown added in v0.13.0

func (m *MsgVestLiquidResponse) XXX_DiscardUnknown()

func (*MsgVestLiquidResponse) XXX_Marshal added in v0.13.0

func (m *MsgVestLiquidResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*MsgVestLiquidResponse) XXX_Merge added in v0.13.0

func (m *MsgVestLiquidResponse) XXX_Merge(src proto.Message)

func (*MsgVestLiquidResponse) XXX_Size added in v0.13.0

func (m *MsgVestLiquidResponse) XXX_Size() int

func (*MsgVestLiquidResponse) XXX_Unmarshal added in v0.13.0

func (m *MsgVestLiquidResponse) XXX_Unmarshal(b []byte) error

type MsgVestNow

type MsgVestNow struct {
	Creator string                                 `protobuf:"bytes,1,opt,name=creator,proto3" json:"creator,omitempty"`
	Amount  github_com_cosmos_cosmos_sdk_types.Int `protobuf:"bytes,2,opt,name=amount,proto3,customtype=github.com/cosmos/cosmos-sdk/types.Int" json:"amount"`
	Denom   string                                 `protobuf:"bytes,3,opt,name=denom,proto3" json:"denom,omitempty"`
}

func NewMsgVestNow

func NewMsgVestNow(creator string, amount sdk.Int, denom string) *MsgVestNow

func (*MsgVestNow) Descriptor

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

func (*MsgVestNow) GetCreator

func (m *MsgVestNow) GetCreator() string

func (*MsgVestNow) GetDenom

func (m *MsgVestNow) GetDenom() string

func (*MsgVestNow) GetSignBytes

func (msg *MsgVestNow) GetSignBytes() []byte

func (*MsgVestNow) GetSigners

func (msg *MsgVestNow) GetSigners() []sdk.AccAddress

func (*MsgVestNow) Marshal

func (m *MsgVestNow) Marshal() (dAtA []byte, err error)

func (*MsgVestNow) MarshalTo

func (m *MsgVestNow) MarshalTo(dAtA []byte) (int, error)

func (*MsgVestNow) MarshalToSizedBuffer

func (m *MsgVestNow) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*MsgVestNow) ProtoMessage

func (*MsgVestNow) ProtoMessage()

func (*MsgVestNow) Reset

func (m *MsgVestNow) Reset()

func (*MsgVestNow) Route

func (msg *MsgVestNow) Route() string

func (*MsgVestNow) Size

func (m *MsgVestNow) Size() (n int)

func (*MsgVestNow) String

func (m *MsgVestNow) String() string

func (*MsgVestNow) Type

func (msg *MsgVestNow) Type() string

func (*MsgVestNow) Unmarshal

func (m *MsgVestNow) Unmarshal(dAtA []byte) error

func (*MsgVestNow) ValidateBasic

func (msg *MsgVestNow) ValidateBasic() error

func (*MsgVestNow) XXX_DiscardUnknown

func (m *MsgVestNow) XXX_DiscardUnknown()

func (*MsgVestNow) XXX_Marshal

func (m *MsgVestNow) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*MsgVestNow) XXX_Merge

func (m *MsgVestNow) XXX_Merge(src proto.Message)

func (*MsgVestNow) XXX_Size

func (m *MsgVestNow) XXX_Size() int

func (*MsgVestNow) XXX_Unmarshal

func (m *MsgVestNow) XXX_Unmarshal(b []byte) error

type MsgVestNowResponse

type MsgVestNowResponse struct {
}

func (*MsgVestNowResponse) Descriptor

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

func (*MsgVestNowResponse) Marshal

func (m *MsgVestNowResponse) Marshal() (dAtA []byte, err error)

func (*MsgVestNowResponse) MarshalTo

func (m *MsgVestNowResponse) MarshalTo(dAtA []byte) (int, error)

func (*MsgVestNowResponse) MarshalToSizedBuffer

func (m *MsgVestNowResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*MsgVestNowResponse) ProtoMessage

func (*MsgVestNowResponse) ProtoMessage()

func (*MsgVestNowResponse) Reset

func (m *MsgVestNowResponse) Reset()

func (*MsgVestNowResponse) Size

func (m *MsgVestNowResponse) Size() (n int)

func (*MsgVestNowResponse) String

func (m *MsgVestNowResponse) String() string

func (*MsgVestNowResponse) Unmarshal

func (m *MsgVestNowResponse) Unmarshal(dAtA []byte) error

func (*MsgVestNowResponse) XXX_DiscardUnknown

func (m *MsgVestNowResponse) XXX_DiscardUnknown()

func (*MsgVestNowResponse) XXX_Marshal

func (m *MsgVestNowResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*MsgVestNowResponse) XXX_Merge

func (m *MsgVestNowResponse) XXX_Merge(src proto.Message)

func (*MsgVestNowResponse) XXX_Size

func (m *MsgVestNowResponse) XXX_Size() int

func (*MsgVestNowResponse) XXX_Unmarshal

func (m *MsgVestNowResponse) XXX_Unmarshal(b []byte) error

type MsgVestResponse

type MsgVestResponse struct {
}

func (*MsgVestResponse) Descriptor

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

func (*MsgVestResponse) Marshal

func (m *MsgVestResponse) Marshal() (dAtA []byte, err error)

func (*MsgVestResponse) MarshalTo

func (m *MsgVestResponse) MarshalTo(dAtA []byte) (int, error)

func (*MsgVestResponse) MarshalToSizedBuffer

func (m *MsgVestResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*MsgVestResponse) ProtoMessage

func (*MsgVestResponse) ProtoMessage()

func (*MsgVestResponse) Reset

func (m *MsgVestResponse) Reset()

func (*MsgVestResponse) Size

func (m *MsgVestResponse) Size() (n int)

func (*MsgVestResponse) String

func (m *MsgVestResponse) String() string

func (*MsgVestResponse) Unmarshal

func (m *MsgVestResponse) Unmarshal(dAtA []byte) error

func (*MsgVestResponse) XXX_DiscardUnknown

func (m *MsgVestResponse) XXX_DiscardUnknown()

func (*MsgVestResponse) XXX_Marshal

func (m *MsgVestResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*MsgVestResponse) XXX_Merge

func (m *MsgVestResponse) XXX_Merge(src proto.Message)

func (*MsgVestResponse) XXX_Size

func (m *MsgVestResponse) XXX_Size() int

func (*MsgVestResponse) XXX_Unmarshal

func (m *MsgVestResponse) XXX_Unmarshal(b []byte) error

type Params

type Params struct {
	VestingInfos []*VestingInfo `protobuf:"bytes,1,rep,name=vesting_infos,json=vestingInfos,proto3" json:"vesting_infos,omitempty"`
}

Params defines the parameters for the module.

func DefaultParams

func DefaultParams() Params

DefaultParams returns a default set of parameters

func NewParams

func NewParams(vestingInfos []*VestingInfo) Params

NewParams creates a new Params instance

func (*Params) Descriptor

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

func (*Params) GetVestingInfos

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

func (*Params) Marshal

func (m *Params) Marshal() (dAtA []byte, err error)

func (*Params) MarshalTo

func (m *Params) MarshalTo(dAtA []byte) (int, error)

func (*Params) MarshalToSizedBuffer

func (m *Params) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*Params) ParamSetPairs

func (p *Params) ParamSetPairs() paramtypes.ParamSetPairs

ParamSetPairs get the params.ParamSet

func (*Params) ProtoMessage

func (*Params) ProtoMessage()

func (*Params) Reset

func (m *Params) Reset()

func (*Params) Size

func (m *Params) Size() (n int)

func (Params) String

func (p Params) String() string

String implements the Stringer interface.

func (*Params) Unmarshal

func (m *Params) Unmarshal(dAtA []byte) error

func (Params) Validate

func (p Params) Validate() error

Validate validates the set of params

func (*Params) XXX_DiscardUnknown

func (m *Params) XXX_DiscardUnknown()

func (*Params) XXX_Marshal

func (m *Params) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*Params) XXX_Merge

func (m *Params) XXX_Merge(src proto.Message)

func (*Params) XXX_Size

func (m *Params) XXX_Size() int

func (*Params) XXX_Unmarshal

func (m *Params) XXX_Unmarshal(b []byte) error

type QueryBorrowAmountRequest added in v0.15.0

type QueryBorrowAmountRequest struct {
	Address string `protobuf:"bytes,1,opt,name=address,proto3" json:"address,omitempty"`
}

func (*QueryBorrowAmountRequest) Descriptor added in v0.15.0

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

func (*QueryBorrowAmountRequest) GetAddress added in v0.15.0

func (m *QueryBorrowAmountRequest) GetAddress() string

func (*QueryBorrowAmountRequest) Marshal added in v0.15.0

func (m *QueryBorrowAmountRequest) Marshal() (dAtA []byte, err error)

func (*QueryBorrowAmountRequest) MarshalTo added in v0.15.0

func (m *QueryBorrowAmountRequest) MarshalTo(dAtA []byte) (int, error)

func (*QueryBorrowAmountRequest) MarshalToSizedBuffer added in v0.15.0

func (m *QueryBorrowAmountRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*QueryBorrowAmountRequest) ProtoMessage added in v0.15.0

func (*QueryBorrowAmountRequest) ProtoMessage()

func (*QueryBorrowAmountRequest) Reset added in v0.15.0

func (m *QueryBorrowAmountRequest) Reset()

func (*QueryBorrowAmountRequest) Size added in v0.15.0

func (m *QueryBorrowAmountRequest) Size() (n int)

func (*QueryBorrowAmountRequest) String added in v0.15.0

func (m *QueryBorrowAmountRequest) String() string

func (*QueryBorrowAmountRequest) Unmarshal added in v0.15.0

func (m *QueryBorrowAmountRequest) Unmarshal(dAtA []byte) error

func (*QueryBorrowAmountRequest) XXX_DiscardUnknown added in v0.15.0

func (m *QueryBorrowAmountRequest) XXX_DiscardUnknown()

func (*QueryBorrowAmountRequest) XXX_Marshal added in v0.15.0

func (m *QueryBorrowAmountRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*QueryBorrowAmountRequest) XXX_Merge added in v0.15.0

func (m *QueryBorrowAmountRequest) XXX_Merge(src proto.Message)

func (*QueryBorrowAmountRequest) XXX_Size added in v0.15.0

func (m *QueryBorrowAmountRequest) XXX_Size() int

func (*QueryBorrowAmountRequest) XXX_Unmarshal added in v0.15.0

func (m *QueryBorrowAmountRequest) XXX_Unmarshal(b []byte) error

type QueryClient

type QueryClient interface {
	// Parameters queries the parameters of the module.
	Params(ctx context.Context, in *QueryParamsRequest, opts ...grpc.CallOption) (*QueryParamsResponse, error)
	// Queries a list of ShowCommitments items.
	ShowCommitments(ctx context.Context, in *QueryShowCommitmentsRequest, opts ...grpc.CallOption) (*QueryShowCommitmentsResponse, error)
}

QueryClient is the client API for Query service.

For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.

func NewQueryClient

func NewQueryClient(cc grpc1.ClientConn) QueryClient

type QueryDelegatorDelegationsRequest added in v0.15.0

type QueryDelegatorDelegationsRequest struct {
	// delegator_addr defines the delegator address to query for.
	DelegatorAddress string `protobuf:"bytes,1,opt,name=delegator_address,json=delegatorAddress,proto3" json:"delegator_address,omitempty"`
}

func (*QueryDelegatorDelegationsRequest) Descriptor added in v0.15.0

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

func (*QueryDelegatorDelegationsRequest) GetDelegatorAddress added in v0.15.0

func (m *QueryDelegatorDelegationsRequest) GetDelegatorAddress() string

func (*QueryDelegatorDelegationsRequest) Marshal added in v0.15.0

func (m *QueryDelegatorDelegationsRequest) Marshal() (dAtA []byte, err error)

func (*QueryDelegatorDelegationsRequest) MarshalTo added in v0.15.0

func (m *QueryDelegatorDelegationsRequest) MarshalTo(dAtA []byte) (int, error)

func (*QueryDelegatorDelegationsRequest) MarshalToSizedBuffer added in v0.15.0

func (m *QueryDelegatorDelegationsRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*QueryDelegatorDelegationsRequest) ProtoMessage added in v0.15.0

func (*QueryDelegatorDelegationsRequest) ProtoMessage()

func (*QueryDelegatorDelegationsRequest) Reset added in v0.15.0

func (*QueryDelegatorDelegationsRequest) Size added in v0.15.0

func (m *QueryDelegatorDelegationsRequest) Size() (n int)

func (*QueryDelegatorDelegationsRequest) String added in v0.15.0

func (*QueryDelegatorDelegationsRequest) Unmarshal added in v0.15.0

func (m *QueryDelegatorDelegationsRequest) Unmarshal(dAtA []byte) error

func (*QueryDelegatorDelegationsRequest) XXX_DiscardUnknown added in v0.15.0

func (m *QueryDelegatorDelegationsRequest) XXX_DiscardUnknown()

func (*QueryDelegatorDelegationsRequest) XXX_Marshal added in v0.15.0

func (m *QueryDelegatorDelegationsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*QueryDelegatorDelegationsRequest) XXX_Merge added in v0.15.0

func (*QueryDelegatorDelegationsRequest) XXX_Size added in v0.15.0

func (m *QueryDelegatorDelegationsRequest) XXX_Size() int

func (*QueryDelegatorDelegationsRequest) XXX_Unmarshal added in v0.15.0

func (m *QueryDelegatorDelegationsRequest) XXX_Unmarshal(b []byte) error

type QueryDelegatorDelegationsResponse added in v0.15.0

type QueryDelegatorDelegationsResponse struct {
	// delegation_responses defines all the delegations' info of a delegator.
	DelegationResponses []DelegationResponse `protobuf:"bytes,1,rep,name=delegation_responses,json=delegationResponses,proto3" json:"delegation_responses"`
}

QueryDelegatorDelegationsResponse is response message for the Query/DelegatorDelegations RPC method.

func (*QueryDelegatorDelegationsResponse) Descriptor added in v0.15.0

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

func (*QueryDelegatorDelegationsResponse) GetDelegationResponses added in v0.15.0

func (m *QueryDelegatorDelegationsResponse) GetDelegationResponses() []DelegationResponse

func (*QueryDelegatorDelegationsResponse) Marshal added in v0.15.0

func (m *QueryDelegatorDelegationsResponse) Marshal() (dAtA []byte, err error)

func (*QueryDelegatorDelegationsResponse) MarshalTo added in v0.15.0

func (m *QueryDelegatorDelegationsResponse) MarshalTo(dAtA []byte) (int, error)

func (*QueryDelegatorDelegationsResponse) MarshalToSizedBuffer added in v0.15.0

func (m *QueryDelegatorDelegationsResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*QueryDelegatorDelegationsResponse) ProtoMessage added in v0.15.0

func (*QueryDelegatorDelegationsResponse) ProtoMessage()

func (*QueryDelegatorDelegationsResponse) Reset added in v0.15.0

func (*QueryDelegatorDelegationsResponse) Size added in v0.15.0

func (m *QueryDelegatorDelegationsResponse) Size() (n int)

func (*QueryDelegatorDelegationsResponse) String added in v0.15.0

func (*QueryDelegatorDelegationsResponse) Unmarshal added in v0.15.0

func (m *QueryDelegatorDelegationsResponse) Unmarshal(dAtA []byte) error

func (*QueryDelegatorDelegationsResponse) XXX_DiscardUnknown added in v0.15.0

func (m *QueryDelegatorDelegationsResponse) XXX_DiscardUnknown()

func (*QueryDelegatorDelegationsResponse) XXX_Marshal added in v0.15.0

func (m *QueryDelegatorDelegationsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*QueryDelegatorDelegationsResponse) XXX_Merge added in v0.15.0

func (*QueryDelegatorDelegationsResponse) XXX_Size added in v0.15.0

func (m *QueryDelegatorDelegationsResponse) XXX_Size() int

func (*QueryDelegatorDelegationsResponse) XXX_Unmarshal added in v0.15.0

func (m *QueryDelegatorDelegationsResponse) XXX_Unmarshal(b []byte) error

type QueryDelegatorUnbondingDelegationsRequest added in v0.15.0

type QueryDelegatorUnbondingDelegationsRequest struct {
	// delegator_addr defines the delegator address to query for.
	DelegatorAddress string `protobuf:"bytes,1,opt,name=delegator_address,json=delegatorAddress,proto3" json:"delegator_address,omitempty"`
}

QueryDelegatorUnbondingDelegationsRequest is request message for the

func (*QueryDelegatorUnbondingDelegationsRequest) Descriptor added in v0.15.0

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

func (*QueryDelegatorUnbondingDelegationsRequest) GetDelegatorAddress added in v0.15.0

func (m *QueryDelegatorUnbondingDelegationsRequest) GetDelegatorAddress() string

func (*QueryDelegatorUnbondingDelegationsRequest) Marshal added in v0.15.0

func (m *QueryDelegatorUnbondingDelegationsRequest) Marshal() (dAtA []byte, err error)

func (*QueryDelegatorUnbondingDelegationsRequest) MarshalTo added in v0.15.0

func (m *QueryDelegatorUnbondingDelegationsRequest) MarshalTo(dAtA []byte) (int, error)

func (*QueryDelegatorUnbondingDelegationsRequest) MarshalToSizedBuffer added in v0.15.0

func (m *QueryDelegatorUnbondingDelegationsRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*QueryDelegatorUnbondingDelegationsRequest) ProtoMessage added in v0.15.0

func (*QueryDelegatorUnbondingDelegationsRequest) Reset added in v0.15.0

func (*QueryDelegatorUnbondingDelegationsRequest) Size added in v0.15.0

func (*QueryDelegatorUnbondingDelegationsRequest) String added in v0.15.0

func (*QueryDelegatorUnbondingDelegationsRequest) Unmarshal added in v0.15.0

func (*QueryDelegatorUnbondingDelegationsRequest) XXX_DiscardUnknown added in v0.15.0

func (m *QueryDelegatorUnbondingDelegationsRequest) XXX_DiscardUnknown()

func (*QueryDelegatorUnbondingDelegationsRequest) XXX_Marshal added in v0.15.0

func (m *QueryDelegatorUnbondingDelegationsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*QueryDelegatorUnbondingDelegationsRequest) XXX_Merge added in v0.15.0

func (*QueryDelegatorUnbondingDelegationsRequest) XXX_Size added in v0.15.0

func (*QueryDelegatorUnbondingDelegationsRequest) XXX_Unmarshal added in v0.15.0

type QueryDelegatorUnbondingDelegationsResponse added in v0.15.0

type QueryDelegatorUnbondingDelegationsResponse struct {
	UnbondingResponses []UnbondingDelegation `protobuf:"bytes,1,rep,name=unbonding_responses,json=unbondingResponses,proto3" json:"unbonding_responses"`
}

QueryUnbondingDelegatorDelegationsResponse is response message for the Query/UnbondingDelegatorDelegations RPC method.

func (*QueryDelegatorUnbondingDelegationsResponse) Descriptor added in v0.15.0

func (*QueryDelegatorUnbondingDelegationsResponse) GetUnbondingResponses added in v0.15.0

func (*QueryDelegatorUnbondingDelegationsResponse) Marshal added in v0.15.0

func (m *QueryDelegatorUnbondingDelegationsResponse) Marshal() (dAtA []byte, err error)

func (*QueryDelegatorUnbondingDelegationsResponse) MarshalTo added in v0.15.0

func (m *QueryDelegatorUnbondingDelegationsResponse) MarshalTo(dAtA []byte) (int, error)

func (*QueryDelegatorUnbondingDelegationsResponse) MarshalToSizedBuffer added in v0.15.0

func (m *QueryDelegatorUnbondingDelegationsResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*QueryDelegatorUnbondingDelegationsResponse) ProtoMessage added in v0.15.0

func (*QueryDelegatorUnbondingDelegationsResponse) Reset added in v0.15.0

func (*QueryDelegatorUnbondingDelegationsResponse) Size added in v0.15.0

func (*QueryDelegatorUnbondingDelegationsResponse) String added in v0.15.0

func (*QueryDelegatorUnbondingDelegationsResponse) Unmarshal added in v0.15.0

func (*QueryDelegatorUnbondingDelegationsResponse) XXX_DiscardUnknown added in v0.15.0

func (m *QueryDelegatorUnbondingDelegationsResponse) XXX_DiscardUnknown()

func (*QueryDelegatorUnbondingDelegationsResponse) XXX_Marshal added in v0.15.0

func (m *QueryDelegatorUnbondingDelegationsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*QueryDelegatorUnbondingDelegationsResponse) XXX_Merge added in v0.15.0

func (*QueryDelegatorUnbondingDelegationsResponse) XXX_Size added in v0.15.0

func (*QueryDelegatorUnbondingDelegationsResponse) XXX_Unmarshal added in v0.15.0

type QueryDelegatorValidatorsResponse added in v0.15.0

type QueryDelegatorValidatorsResponse struct {
	// validators defines the validators' info of a delegator.
	Validators []ValidatorDetail `protobuf:"bytes,1,rep,name=validators,proto3" json:"validators"`
}

QueryDelegatorValidatorsResponse is response message for the Query/DelegatorValidators RPC method.

func (*QueryDelegatorValidatorsResponse) Descriptor added in v0.15.0

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

func (*QueryDelegatorValidatorsResponse) GetValidators added in v0.15.0

func (*QueryDelegatorValidatorsResponse) Marshal added in v0.15.0

func (m *QueryDelegatorValidatorsResponse) Marshal() (dAtA []byte, err error)

func (*QueryDelegatorValidatorsResponse) MarshalTo added in v0.15.0

func (m *QueryDelegatorValidatorsResponse) MarshalTo(dAtA []byte) (int, error)

func (*QueryDelegatorValidatorsResponse) MarshalToSizedBuffer added in v0.15.0

func (m *QueryDelegatorValidatorsResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*QueryDelegatorValidatorsResponse) ProtoMessage added in v0.15.0

func (*QueryDelegatorValidatorsResponse) ProtoMessage()

func (*QueryDelegatorValidatorsResponse) Reset added in v0.15.0

func (*QueryDelegatorValidatorsResponse) Size added in v0.15.0

func (m *QueryDelegatorValidatorsResponse) Size() (n int)

func (*QueryDelegatorValidatorsResponse) String added in v0.15.0

func (*QueryDelegatorValidatorsResponse) Unmarshal added in v0.15.0

func (m *QueryDelegatorValidatorsResponse) Unmarshal(dAtA []byte) error

func (*QueryDelegatorValidatorsResponse) XXX_DiscardUnknown added in v0.15.0

func (m *QueryDelegatorValidatorsResponse) XXX_DiscardUnknown()

func (*QueryDelegatorValidatorsResponse) XXX_Marshal added in v0.15.0

func (m *QueryDelegatorValidatorsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*QueryDelegatorValidatorsResponse) XXX_Merge added in v0.15.0

func (*QueryDelegatorValidatorsResponse) XXX_Size added in v0.15.0

func (m *QueryDelegatorValidatorsResponse) XXX_Size() int

func (*QueryDelegatorValidatorsResponse) XXX_Unmarshal added in v0.15.0

func (m *QueryDelegatorValidatorsResponse) XXX_Unmarshal(b []byte) error

type QueryParamsRequest

type QueryParamsRequest struct {
}

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

func (*QueryParamsRequest) Descriptor

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

func (*QueryParamsRequest) Marshal

func (m *QueryParamsRequest) Marshal() (dAtA []byte, err error)

func (*QueryParamsRequest) MarshalTo

func (m *QueryParamsRequest) MarshalTo(dAtA []byte) (int, error)

func (*QueryParamsRequest) MarshalToSizedBuffer

func (m *QueryParamsRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*QueryParamsRequest) ProtoMessage

func (*QueryParamsRequest) ProtoMessage()

func (*QueryParamsRequest) Reset

func (m *QueryParamsRequest) Reset()

func (*QueryParamsRequest) Size

func (m *QueryParamsRequest) Size() (n int)

func (*QueryParamsRequest) String

func (m *QueryParamsRequest) String() string

func (*QueryParamsRequest) Unmarshal

func (m *QueryParamsRequest) Unmarshal(dAtA []byte) error

func (*QueryParamsRequest) XXX_DiscardUnknown

func (m *QueryParamsRequest) XXX_DiscardUnknown()

func (*QueryParamsRequest) XXX_Marshal

func (m *QueryParamsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*QueryParamsRequest) XXX_Merge

func (m *QueryParamsRequest) XXX_Merge(src proto.Message)

func (*QueryParamsRequest) XXX_Size

func (m *QueryParamsRequest) XXX_Size() int

func (*QueryParamsRequest) XXX_Unmarshal

func (m *QueryParamsRequest) XXX_Unmarshal(b []byte) error

type QueryParamsResponse

type QueryParamsResponse struct {
	// params holds all the parameters of this module.
	Params Params `protobuf:"bytes,1,opt,name=params,proto3" json:"params"`
}

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

func (*QueryParamsResponse) Descriptor

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

func (*QueryParamsResponse) GetParams

func (m *QueryParamsResponse) GetParams() Params

func (*QueryParamsResponse) Marshal

func (m *QueryParamsResponse) Marshal() (dAtA []byte, err error)

func (*QueryParamsResponse) MarshalTo

func (m *QueryParamsResponse) MarshalTo(dAtA []byte) (int, error)

func (*QueryParamsResponse) MarshalToSizedBuffer

func (m *QueryParamsResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*QueryParamsResponse) ProtoMessage

func (*QueryParamsResponse) ProtoMessage()

func (*QueryParamsResponse) Reset

func (m *QueryParamsResponse) Reset()

func (*QueryParamsResponse) Size

func (m *QueryParamsResponse) Size() (n int)

func (*QueryParamsResponse) String

func (m *QueryParamsResponse) String() string

func (*QueryParamsResponse) Unmarshal

func (m *QueryParamsResponse) Unmarshal(dAtA []byte) error

func (*QueryParamsResponse) XXX_DiscardUnknown

func (m *QueryParamsResponse) XXX_DiscardUnknown()

func (*QueryParamsResponse) XXX_Marshal

func (m *QueryParamsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*QueryParamsResponse) XXX_Merge

func (m *QueryParamsResponse) XXX_Merge(src proto.Message)

func (*QueryParamsResponse) XXX_Size

func (m *QueryParamsResponse) XXX_Size() int

func (*QueryParamsResponse) XXX_Unmarshal

func (m *QueryParamsResponse) XXX_Unmarshal(b []byte) error

type QueryServer

type QueryServer interface {
	// Parameters queries the parameters of the module.
	Params(context.Context, *QueryParamsRequest) (*QueryParamsResponse, error)
	// Queries a list of ShowCommitments items.
	ShowCommitments(context.Context, *QueryShowCommitmentsRequest) (*QueryShowCommitmentsResponse, error)
}

QueryServer is the server API for Query service.

type QueryShowCommitmentsRequest

type QueryShowCommitmentsRequest struct {
	Creator string `protobuf:"bytes,1,opt,name=creator,proto3" json:"creator,omitempty"`
}

func (*QueryShowCommitmentsRequest) Descriptor

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

func (*QueryShowCommitmentsRequest) GetCreator

func (m *QueryShowCommitmentsRequest) GetCreator() string

func (*QueryShowCommitmentsRequest) Marshal

func (m *QueryShowCommitmentsRequest) Marshal() (dAtA []byte, err error)

func (*QueryShowCommitmentsRequest) MarshalTo

func (m *QueryShowCommitmentsRequest) MarshalTo(dAtA []byte) (int, error)

func (*QueryShowCommitmentsRequest) MarshalToSizedBuffer

func (m *QueryShowCommitmentsRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*QueryShowCommitmentsRequest) ProtoMessage

func (*QueryShowCommitmentsRequest) ProtoMessage()

func (*QueryShowCommitmentsRequest) Reset

func (m *QueryShowCommitmentsRequest) Reset()

func (*QueryShowCommitmentsRequest) Size

func (m *QueryShowCommitmentsRequest) Size() (n int)

func (*QueryShowCommitmentsRequest) String

func (m *QueryShowCommitmentsRequest) String() string

func (*QueryShowCommitmentsRequest) Unmarshal

func (m *QueryShowCommitmentsRequest) Unmarshal(dAtA []byte) error

func (*QueryShowCommitmentsRequest) XXX_DiscardUnknown

func (m *QueryShowCommitmentsRequest) XXX_DiscardUnknown()

func (*QueryShowCommitmentsRequest) XXX_Marshal

func (m *QueryShowCommitmentsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*QueryShowCommitmentsRequest) XXX_Merge

func (m *QueryShowCommitmentsRequest) XXX_Merge(src proto.Message)

func (*QueryShowCommitmentsRequest) XXX_Size

func (m *QueryShowCommitmentsRequest) XXX_Size() int

func (*QueryShowCommitmentsRequest) XXX_Unmarshal

func (m *QueryShowCommitmentsRequest) XXX_Unmarshal(b []byte) error

type QueryShowCommitmentsResponse

type QueryShowCommitmentsResponse struct {
	Commitments Commitments `protobuf:"bytes,1,opt,name=commitments,proto3" json:"commitments"`
}

func (*QueryShowCommitmentsResponse) Descriptor

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

func (*QueryShowCommitmentsResponse) GetCommitments

func (m *QueryShowCommitmentsResponse) GetCommitments() Commitments

func (*QueryShowCommitmentsResponse) Marshal

func (m *QueryShowCommitmentsResponse) Marshal() (dAtA []byte, err error)

func (*QueryShowCommitmentsResponse) MarshalTo

func (m *QueryShowCommitmentsResponse) MarshalTo(dAtA []byte) (int, error)

func (*QueryShowCommitmentsResponse) MarshalToSizedBuffer

func (m *QueryShowCommitmentsResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*QueryShowCommitmentsResponse) ProtoMessage

func (*QueryShowCommitmentsResponse) ProtoMessage()

func (*QueryShowCommitmentsResponse) Reset

func (m *QueryShowCommitmentsResponse) Reset()

func (*QueryShowCommitmentsResponse) Size

func (m *QueryShowCommitmentsResponse) Size() (n int)

func (*QueryShowCommitmentsResponse) String

func (*QueryShowCommitmentsResponse) Unmarshal

func (m *QueryShowCommitmentsResponse) Unmarshal(dAtA []byte) error

func (*QueryShowCommitmentsResponse) XXX_DiscardUnknown

func (m *QueryShowCommitmentsResponse) XXX_DiscardUnknown()

func (*QueryShowCommitmentsResponse) XXX_Marshal

func (m *QueryShowCommitmentsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*QueryShowCommitmentsResponse) XXX_Merge

func (m *QueryShowCommitmentsResponse) XXX_Merge(src proto.Message)

func (*QueryShowCommitmentsResponse) XXX_Size

func (m *QueryShowCommitmentsResponse) XXX_Size() int

func (*QueryShowCommitmentsResponse) XXX_Unmarshal

func (m *QueryShowCommitmentsResponse) XXX_Unmarshal(b []byte) error

type QueryStakedPositionResponse added in v0.15.0

type QueryStakedPositionResponse struct {
	StakedPosition []StakedPosition `protobuf:"bytes,1,rep,name=staked_position,json=stakedPosition,proto3" json:"staked_position"`
}

func (*QueryStakedPositionResponse) Descriptor added in v0.15.0

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

func (*QueryStakedPositionResponse) GetStakedPosition added in v0.15.0

func (m *QueryStakedPositionResponse) GetStakedPosition() []StakedPosition

func (*QueryStakedPositionResponse) Marshal added in v0.15.0

func (m *QueryStakedPositionResponse) Marshal() (dAtA []byte, err error)

func (*QueryStakedPositionResponse) MarshalTo added in v0.15.0

func (m *QueryStakedPositionResponse) MarshalTo(dAtA []byte) (int, error)

func (*QueryStakedPositionResponse) MarshalToSizedBuffer added in v0.15.0

func (m *QueryStakedPositionResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*QueryStakedPositionResponse) ProtoMessage added in v0.15.0

func (*QueryStakedPositionResponse) ProtoMessage()

func (*QueryStakedPositionResponse) Reset added in v0.15.0

func (m *QueryStakedPositionResponse) Reset()

func (*QueryStakedPositionResponse) Size added in v0.15.0

func (m *QueryStakedPositionResponse) Size() (n int)

func (*QueryStakedPositionResponse) String added in v0.15.0

func (m *QueryStakedPositionResponse) String() string

func (*QueryStakedPositionResponse) Unmarshal added in v0.15.0

func (m *QueryStakedPositionResponse) Unmarshal(dAtA []byte) error

func (*QueryStakedPositionResponse) XXX_DiscardUnknown added in v0.15.0

func (m *QueryStakedPositionResponse) XXX_DiscardUnknown()

func (*QueryStakedPositionResponse) XXX_Marshal added in v0.15.0

func (m *QueryStakedPositionResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*QueryStakedPositionResponse) XXX_Merge added in v0.15.0

func (m *QueryStakedPositionResponse) XXX_Merge(src proto.Message)

func (*QueryStakedPositionResponse) XXX_Size added in v0.15.0

func (m *QueryStakedPositionResponse) XXX_Size() int

func (*QueryStakedPositionResponse) XXX_Unmarshal added in v0.15.0

func (m *QueryStakedPositionResponse) XXX_Unmarshal(b []byte) error

type QuerySubBucketBalanceRequest added in v0.15.0

type QuerySubBucketBalanceRequest struct {
	Address string   `protobuf:"bytes,1,opt,name=address,proto3" json:"address,omitempty"`
	Denom   string   `protobuf:"bytes,2,opt,name=denom,proto3" json:"denom,omitempty"`
	Program EarnType `protobuf:"varint,3,opt,name=program,proto3,enum=elys.commitment.EarnType" json:"program,omitempty"`
}

func (*QuerySubBucketBalanceRequest) Descriptor added in v0.15.0

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

func (*QuerySubBucketBalanceRequest) GetAddress added in v0.15.0

func (m *QuerySubBucketBalanceRequest) GetAddress() string

func (*QuerySubBucketBalanceRequest) GetDenom added in v0.15.0

func (m *QuerySubBucketBalanceRequest) GetDenom() string

func (*QuerySubBucketBalanceRequest) GetProgram added in v0.15.0

func (m *QuerySubBucketBalanceRequest) GetProgram() EarnType

func (*QuerySubBucketBalanceRequest) Marshal added in v0.15.0

func (m *QuerySubBucketBalanceRequest) Marshal() (dAtA []byte, err error)

func (*QuerySubBucketBalanceRequest) MarshalTo added in v0.15.0

func (m *QuerySubBucketBalanceRequest) MarshalTo(dAtA []byte) (int, error)

func (*QuerySubBucketBalanceRequest) MarshalToSizedBuffer added in v0.15.0

func (m *QuerySubBucketBalanceRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*QuerySubBucketBalanceRequest) ProtoMessage added in v0.15.0

func (*QuerySubBucketBalanceRequest) ProtoMessage()

func (*QuerySubBucketBalanceRequest) Reset added in v0.15.0

func (m *QuerySubBucketBalanceRequest) Reset()

func (*QuerySubBucketBalanceRequest) Size added in v0.15.0

func (m *QuerySubBucketBalanceRequest) Size() (n int)

func (*QuerySubBucketBalanceRequest) String added in v0.15.0

func (*QuerySubBucketBalanceRequest) Unmarshal added in v0.15.0

func (m *QuerySubBucketBalanceRequest) Unmarshal(dAtA []byte) error

func (*QuerySubBucketBalanceRequest) XXX_DiscardUnknown added in v0.15.0

func (m *QuerySubBucketBalanceRequest) XXX_DiscardUnknown()

func (*QuerySubBucketBalanceRequest) XXX_Marshal added in v0.15.0

func (m *QuerySubBucketBalanceRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*QuerySubBucketBalanceRequest) XXX_Merge added in v0.15.0

func (m *QuerySubBucketBalanceRequest) XXX_Merge(src proto.Message)

func (*QuerySubBucketBalanceRequest) XXX_Size added in v0.15.0

func (m *QuerySubBucketBalanceRequest) XXX_Size() int

func (*QuerySubBucketBalanceRequest) XXX_Unmarshal added in v0.15.0

func (m *QuerySubBucketBalanceRequest) XXX_Unmarshal(b []byte) error

type QueryUnstakedPositionResponse added in v0.15.0

type QueryUnstakedPositionResponse struct {
	UnstakedPosition []UnstakedPosition `protobuf:"bytes,1,rep,name=unstaked_position,json=unstakedPosition,proto3" json:"unstaked_position"`
}

func (*QueryUnstakedPositionResponse) Descriptor added in v0.15.0

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

func (*QueryUnstakedPositionResponse) GetUnstakedPosition added in v0.15.0

func (m *QueryUnstakedPositionResponse) GetUnstakedPosition() []UnstakedPosition

func (*QueryUnstakedPositionResponse) Marshal added in v0.15.0

func (m *QueryUnstakedPositionResponse) Marshal() (dAtA []byte, err error)

func (*QueryUnstakedPositionResponse) MarshalTo added in v0.15.0

func (m *QueryUnstakedPositionResponse) MarshalTo(dAtA []byte) (int, error)

func (*QueryUnstakedPositionResponse) MarshalToSizedBuffer added in v0.15.0

func (m *QueryUnstakedPositionResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*QueryUnstakedPositionResponse) ProtoMessage added in v0.15.0

func (*QueryUnstakedPositionResponse) ProtoMessage()

func (*QueryUnstakedPositionResponse) Reset added in v0.15.0

func (m *QueryUnstakedPositionResponse) Reset()

func (*QueryUnstakedPositionResponse) Size added in v0.15.0

func (m *QueryUnstakedPositionResponse) Size() (n int)

func (*QueryUnstakedPositionResponse) String added in v0.15.0

func (*QueryUnstakedPositionResponse) Unmarshal added in v0.15.0

func (m *QueryUnstakedPositionResponse) Unmarshal(dAtA []byte) error

func (*QueryUnstakedPositionResponse) XXX_DiscardUnknown added in v0.15.0

func (m *QueryUnstakedPositionResponse) XXX_DiscardUnknown()

func (*QueryUnstakedPositionResponse) XXX_Marshal added in v0.15.0

func (m *QueryUnstakedPositionResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*QueryUnstakedPositionResponse) XXX_Merge added in v0.15.0

func (m *QueryUnstakedPositionResponse) XXX_Merge(src proto.Message)

func (*QueryUnstakedPositionResponse) XXX_Size added in v0.15.0

func (m *QueryUnstakedPositionResponse) XXX_Size() int

func (*QueryUnstakedPositionResponse) XXX_Unmarshal added in v0.15.0

func (m *QueryUnstakedPositionResponse) XXX_Unmarshal(b []byte) error

type QueryValidatorsRequest added in v0.15.0

type QueryValidatorsRequest struct {
	// status enables to query for validators matching a given status.
	DelegatorAddress string `protobuf:"bytes,1,opt,name=delegator_address,json=delegatorAddress,proto3" json:"delegator_address,omitempty"`
}

QueryValidatorsRequest is request message for Query/Validators RPC method.

func (*QueryValidatorsRequest) Descriptor added in v0.15.0

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

func (*QueryValidatorsRequest) GetDelegatorAddress added in v0.15.0

func (m *QueryValidatorsRequest) GetDelegatorAddress() string

func (*QueryValidatorsRequest) Marshal added in v0.15.0

func (m *QueryValidatorsRequest) Marshal() (dAtA []byte, err error)

func (*QueryValidatorsRequest) MarshalTo added in v0.15.0

func (m *QueryValidatorsRequest) MarshalTo(dAtA []byte) (int, error)

func (*QueryValidatorsRequest) MarshalToSizedBuffer added in v0.15.0

func (m *QueryValidatorsRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*QueryValidatorsRequest) ProtoMessage added in v0.15.0

func (*QueryValidatorsRequest) ProtoMessage()

func (*QueryValidatorsRequest) Reset added in v0.15.0

func (m *QueryValidatorsRequest) Reset()

func (*QueryValidatorsRequest) Size added in v0.15.0

func (m *QueryValidatorsRequest) Size() (n int)

func (*QueryValidatorsRequest) String added in v0.15.0

func (m *QueryValidatorsRequest) String() string

func (*QueryValidatorsRequest) Unmarshal added in v0.15.0

func (m *QueryValidatorsRequest) Unmarshal(dAtA []byte) error

func (*QueryValidatorsRequest) XXX_DiscardUnknown added in v0.15.0

func (m *QueryValidatorsRequest) XXX_DiscardUnknown()

func (*QueryValidatorsRequest) XXX_Marshal added in v0.15.0

func (m *QueryValidatorsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*QueryValidatorsRequest) XXX_Merge added in v0.15.0

func (m *QueryValidatorsRequest) XXX_Merge(src proto.Message)

func (*QueryValidatorsRequest) XXX_Size added in v0.15.0

func (m *QueryValidatorsRequest) XXX_Size() int

func (*QueryValidatorsRequest) XXX_Unmarshal added in v0.15.0

func (m *QueryValidatorsRequest) XXX_Unmarshal(b []byte) error

type QueryVestingInfoRequest added in v0.15.0

type QueryVestingInfoRequest struct {
	Address string `protobuf:"bytes,1,opt,name=address,proto3" json:"address,omitempty"`
}

func (*QueryVestingInfoRequest) Descriptor added in v0.15.0

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

func (*QueryVestingInfoRequest) GetAddress added in v0.15.0

func (m *QueryVestingInfoRequest) GetAddress() string

func (*QueryVestingInfoRequest) Marshal added in v0.15.0

func (m *QueryVestingInfoRequest) Marshal() (dAtA []byte, err error)

func (*QueryVestingInfoRequest) MarshalTo added in v0.15.0

func (m *QueryVestingInfoRequest) MarshalTo(dAtA []byte) (int, error)

func (*QueryVestingInfoRequest) MarshalToSizedBuffer added in v0.15.0

func (m *QueryVestingInfoRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*QueryVestingInfoRequest) ProtoMessage added in v0.15.0

func (*QueryVestingInfoRequest) ProtoMessage()

func (*QueryVestingInfoRequest) Reset added in v0.15.0

func (m *QueryVestingInfoRequest) Reset()

func (*QueryVestingInfoRequest) Size added in v0.15.0

func (m *QueryVestingInfoRequest) Size() (n int)

func (*QueryVestingInfoRequest) String added in v0.15.0

func (m *QueryVestingInfoRequest) String() string

func (*QueryVestingInfoRequest) Unmarshal added in v0.15.0

func (m *QueryVestingInfoRequest) Unmarshal(dAtA []byte) error

func (*QueryVestingInfoRequest) XXX_DiscardUnknown added in v0.15.0

func (m *QueryVestingInfoRequest) XXX_DiscardUnknown()

func (*QueryVestingInfoRequest) XXX_Marshal added in v0.15.0

func (m *QueryVestingInfoRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*QueryVestingInfoRequest) XXX_Merge added in v0.15.0

func (m *QueryVestingInfoRequest) XXX_Merge(src proto.Message)

func (*QueryVestingInfoRequest) XXX_Size added in v0.15.0

func (m *QueryVestingInfoRequest) XXX_Size() int

func (*QueryVestingInfoRequest) XXX_Unmarshal added in v0.15.0

func (m *QueryVestingInfoRequest) XXX_Unmarshal(b []byte) error

type QueryVestingInfoResponse added in v0.15.0

type QueryVestingInfoResponse struct {
	Vesting        BalanceAvailable `protobuf:"bytes,1,opt,name=vesting,proto3" json:"vesting"`
	VestingDetails []VestingDetail  `protobuf:"bytes,2,rep,name=vesting_details,json=vestingDetails,proto3" json:"vesting_details"`
}

func (*QueryVestingInfoResponse) Descriptor added in v0.15.0

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

func (*QueryVestingInfoResponse) GetVesting added in v0.15.0

func (*QueryVestingInfoResponse) GetVestingDetails added in v0.15.0

func (m *QueryVestingInfoResponse) GetVestingDetails() []VestingDetail

func (*QueryVestingInfoResponse) Marshal added in v0.15.0

func (m *QueryVestingInfoResponse) Marshal() (dAtA []byte, err error)

func (*QueryVestingInfoResponse) MarshalTo added in v0.15.0

func (m *QueryVestingInfoResponse) MarshalTo(dAtA []byte) (int, error)

func (*QueryVestingInfoResponse) MarshalToSizedBuffer added in v0.15.0

func (m *QueryVestingInfoResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*QueryVestingInfoResponse) ProtoMessage added in v0.15.0

func (*QueryVestingInfoResponse) ProtoMessage()

func (*QueryVestingInfoResponse) Reset added in v0.15.0

func (m *QueryVestingInfoResponse) Reset()

func (*QueryVestingInfoResponse) Size added in v0.15.0

func (m *QueryVestingInfoResponse) Size() (n int)

func (*QueryVestingInfoResponse) String added in v0.15.0

func (m *QueryVestingInfoResponse) String() string

func (*QueryVestingInfoResponse) Unmarshal added in v0.15.0

func (m *QueryVestingInfoResponse) Unmarshal(dAtA []byte) error

func (*QueryVestingInfoResponse) XXX_DiscardUnknown added in v0.15.0

func (m *QueryVestingInfoResponse) XXX_DiscardUnknown()

func (*QueryVestingInfoResponse) XXX_Marshal added in v0.15.0

func (m *QueryVestingInfoResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*QueryVestingInfoResponse) XXX_Merge added in v0.15.0

func (m *QueryVestingInfoResponse) XXX_Merge(src proto.Message)

func (*QueryVestingInfoResponse) XXX_Size added in v0.15.0

func (m *QueryVestingInfoResponse) XXX_Size() int

func (*QueryVestingInfoResponse) XXX_Unmarshal added in v0.15.0

func (m *QueryVestingInfoResponse) XXX_Unmarshal(b []byte) error

type RewardsUnclaimed added in v0.14.0

type RewardsUnclaimed struct {
	Denom  string                                 `protobuf:"bytes,1,opt,name=denom,proto3" json:"denom,omitempty"`
	Amount github_com_cosmos_cosmos_sdk_types.Int `protobuf:"bytes,2,opt,name=amount,proto3,customtype=github.com/cosmos/cosmos-sdk/types.Int" json:"amount"`
}

func (*RewardsUnclaimed) Descriptor added in v0.14.0

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

func (*RewardsUnclaimed) GetDenom added in v0.14.0

func (m *RewardsUnclaimed) GetDenom() string

func (*RewardsUnclaimed) Marshal added in v0.14.0

func (m *RewardsUnclaimed) Marshal() (dAtA []byte, err error)

func (*RewardsUnclaimed) MarshalTo added in v0.14.0

func (m *RewardsUnclaimed) MarshalTo(dAtA []byte) (int, error)

func (*RewardsUnclaimed) MarshalToSizedBuffer added in v0.14.0

func (m *RewardsUnclaimed) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*RewardsUnclaimed) ProtoMessage added in v0.14.0

func (*RewardsUnclaimed) ProtoMessage()

func (*RewardsUnclaimed) Reset added in v0.14.0

func (m *RewardsUnclaimed) Reset()

func (*RewardsUnclaimed) Size added in v0.14.0

func (m *RewardsUnclaimed) Size() (n int)

func (*RewardsUnclaimed) String added in v0.14.0

func (m *RewardsUnclaimed) String() string

func (*RewardsUnclaimed) Unmarshal added in v0.14.0

func (m *RewardsUnclaimed) Unmarshal(dAtA []byte) error

func (*RewardsUnclaimed) XXX_DiscardUnknown added in v0.14.0

func (m *RewardsUnclaimed) XXX_DiscardUnknown()

func (*RewardsUnclaimed) XXX_Marshal added in v0.14.0

func (m *RewardsUnclaimed) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*RewardsUnclaimed) XXX_Merge added in v0.14.0

func (m *RewardsUnclaimed) XXX_Merge(src proto.Message)

func (*RewardsUnclaimed) XXX_Size added in v0.14.0

func (m *RewardsUnclaimed) XXX_Size() int

func (*RewardsUnclaimed) XXX_Unmarshal added in v0.14.0

func (m *RewardsUnclaimed) XXX_Unmarshal(b []byte) error

type StakedAvailable added in v0.17.0

type StakedAvailable struct {
	Amount    github_com_cosmos_cosmos_sdk_types.Int `protobuf:"bytes,1,opt,name=amount,proto3,customtype=github.com/cosmos/cosmos-sdk/types.Int" json:"amount"`
	UsdAmount github_com_cosmos_cosmos_sdk_types.Dec `` /* 128-byte string literal not displayed */
	Lockups   []Lockup                               `protobuf:"bytes,3,rep,name=lockups,proto3" json:"lockups"`
}

func (*StakedAvailable) Descriptor added in v0.17.0

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

func (*StakedAvailable) GetLockups added in v0.17.0

func (m *StakedAvailable) GetLockups() []Lockup

func (*StakedAvailable) Marshal added in v0.17.0

func (m *StakedAvailable) Marshal() (dAtA []byte, err error)

func (*StakedAvailable) MarshalTo added in v0.17.0

func (m *StakedAvailable) MarshalTo(dAtA []byte) (int, error)

func (*StakedAvailable) MarshalToSizedBuffer added in v0.17.0

func (m *StakedAvailable) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*StakedAvailable) ProtoMessage added in v0.17.0

func (*StakedAvailable) ProtoMessage()

func (*StakedAvailable) Reset added in v0.17.0

func (m *StakedAvailable) Reset()

func (*StakedAvailable) Size added in v0.17.0

func (m *StakedAvailable) Size() (n int)

func (*StakedAvailable) String added in v0.17.0

func (m *StakedAvailable) String() string

func (*StakedAvailable) Unmarshal added in v0.17.0

func (m *StakedAvailable) Unmarshal(dAtA []byte) error

func (*StakedAvailable) XXX_DiscardUnknown added in v0.17.0

func (m *StakedAvailable) XXX_DiscardUnknown()

func (*StakedAvailable) XXX_Marshal added in v0.17.0

func (m *StakedAvailable) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*StakedAvailable) XXX_Merge added in v0.17.0

func (m *StakedAvailable) XXX_Merge(src proto.Message)

func (*StakedAvailable) XXX_Size added in v0.17.0

func (m *StakedAvailable) XXX_Size() int

func (*StakedAvailable) XXX_Unmarshal added in v0.17.0

func (m *StakedAvailable) XXX_Unmarshal(b []byte) error

type StakedPosition added in v0.15.0

type StakedPosition struct {
	// The position ID.
	Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	// The validator that's being unstaked from.
	Validator StakingValidator `protobuf:"bytes,2,opt,name=validator,proto3" json:"validator"`
	// The amount that's being staked.
	Staked BalanceAvailable `protobuf:"bytes,3,opt,name=staked,proto3" json:"staked"`
}

func (*StakedPosition) Descriptor added in v0.15.0

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

func (*StakedPosition) GetId added in v0.15.0

func (m *StakedPosition) GetId() string

func (*StakedPosition) GetStaked added in v0.15.0

func (m *StakedPosition) GetStaked() BalanceAvailable

func (*StakedPosition) GetValidator added in v0.15.0

func (m *StakedPosition) GetValidator() StakingValidator

func (*StakedPosition) Marshal added in v0.15.0

func (m *StakedPosition) Marshal() (dAtA []byte, err error)

func (*StakedPosition) MarshalTo added in v0.15.0

func (m *StakedPosition) MarshalTo(dAtA []byte) (int, error)

func (*StakedPosition) MarshalToSizedBuffer added in v0.15.0

func (m *StakedPosition) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*StakedPosition) ProtoMessage added in v0.15.0

func (*StakedPosition) ProtoMessage()

func (*StakedPosition) Reset added in v0.15.0

func (m *StakedPosition) Reset()

func (*StakedPosition) Size added in v0.15.0

func (m *StakedPosition) Size() (n int)

func (*StakedPosition) String added in v0.15.0

func (m *StakedPosition) String() string

func (*StakedPosition) Unmarshal added in v0.15.0

func (m *StakedPosition) Unmarshal(dAtA []byte) error

func (*StakedPosition) XXX_DiscardUnknown added in v0.15.0

func (m *StakedPosition) XXX_DiscardUnknown()

func (*StakedPosition) XXX_Marshal added in v0.15.0

func (m *StakedPosition) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*StakedPosition) XXX_Merge added in v0.15.0

func (m *StakedPosition) XXX_Merge(src proto.Message)

func (*StakedPosition) XXX_Size added in v0.15.0

func (m *StakedPosition) XXX_Size() int

func (*StakedPosition) XXX_Unmarshal added in v0.15.0

func (m *StakedPosition) XXX_Unmarshal(b []byte) error

type StakingKeeper

type StakingKeeper interface {
	BondDenom(ctx sdk.Context) string
}

StakingKeeper defines the expected interface contract the vesting module requires for finding and changing the delegated tokens, used in clawback.

type StakingValidator added in v0.15.0

type StakingValidator struct {
	// The validator address.
	Address string `protobuf:"bytes,1,opt,name=address,proto3" json:"address,omitempty"`
	// The validator name.
	Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"`
	// Voting power percentage for this validator.
	VotingPower github_com_cosmos_cosmos_sdk_types.Dec `` /* 134-byte string literal not displayed */
	// Comission percentage for the validator.
	Commission github_com_cosmos_cosmos_sdk_types.Dec `protobuf:"bytes,4,opt,name=commission,proto3,customtype=github.com/cosmos/cosmos-sdk/types.Dec" json:"commission"`
	// The url of the validator profile picture
	ProfilePictureSrc string `protobuf:"bytes,5,opt,name=profile_picture_src,json=profilePictureSrc,proto3" json:"profile_picture_src,omitempty"`
}

func (*StakingValidator) Descriptor added in v0.15.0

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

func (*StakingValidator) GetAddress added in v0.15.0

func (m *StakingValidator) GetAddress() string

func (*StakingValidator) GetName added in v0.15.0

func (m *StakingValidator) GetName() string

func (*StakingValidator) GetProfilePictureSrc added in v0.15.0

func (m *StakingValidator) GetProfilePictureSrc() string

func (*StakingValidator) Marshal added in v0.15.0

func (m *StakingValidator) Marshal() (dAtA []byte, err error)

func (*StakingValidator) MarshalTo added in v0.15.0

func (m *StakingValidator) MarshalTo(dAtA []byte) (int, error)

func (*StakingValidator) MarshalToSizedBuffer added in v0.15.0

func (m *StakingValidator) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*StakingValidator) ProtoMessage added in v0.15.0

func (*StakingValidator) ProtoMessage()

func (*StakingValidator) Reset added in v0.15.0

func (m *StakingValidator) Reset()

func (*StakingValidator) Size added in v0.15.0

func (m *StakingValidator) Size() (n int)

func (*StakingValidator) String added in v0.15.0

func (m *StakingValidator) String() string

func (*StakingValidator) Unmarshal added in v0.15.0

func (m *StakingValidator) Unmarshal(dAtA []byte) error

func (*StakingValidator) XXX_DiscardUnknown added in v0.15.0

func (m *StakingValidator) XXX_DiscardUnknown()

func (*StakingValidator) XXX_Marshal added in v0.15.0

func (m *StakingValidator) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*StakingValidator) XXX_Merge added in v0.15.0

func (m *StakingValidator) XXX_Merge(src proto.Message)

func (*StakingValidator) XXX_Size added in v0.15.0

func (m *StakingValidator) XXX_Size() int

func (*StakingValidator) XXX_Unmarshal added in v0.15.0

func (m *StakingValidator) XXX_Unmarshal(b []byte) error

type UnbondingDelegation added in v0.15.0

type UnbondingDelegation struct {
	// delegator_address is the bech32-encoded address of the delegator.
	DelegatorAddress string `protobuf:"bytes,1,opt,name=delegator_address,json=delegatorAddress,proto3" json:"delegator_address,omitempty"`
	// validator_address is the bech32-encoded address of the validator.
	ValidatorAddress string `protobuf:"bytes,2,opt,name=validator_address,json=validatorAddress,proto3" json:"validator_address,omitempty"`
	// entries are the unbonding delegation entries.
	Entries []UnbondingDelegationEntry `protobuf:"bytes,3,rep,name=entries,proto3" json:"entries"`
}

func (*UnbondingDelegation) Descriptor added in v0.15.0

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

func (*UnbondingDelegation) GetDelegatorAddress added in v0.15.0

func (m *UnbondingDelegation) GetDelegatorAddress() string

func (*UnbondingDelegation) GetEntries added in v0.15.0

func (*UnbondingDelegation) GetValidatorAddress added in v0.15.0

func (m *UnbondingDelegation) GetValidatorAddress() string

func (*UnbondingDelegation) Marshal added in v0.15.0

func (m *UnbondingDelegation) Marshal() (dAtA []byte, err error)

func (*UnbondingDelegation) MarshalTo added in v0.15.0

func (m *UnbondingDelegation) MarshalTo(dAtA []byte) (int, error)

func (*UnbondingDelegation) MarshalToSizedBuffer added in v0.15.0

func (m *UnbondingDelegation) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*UnbondingDelegation) ProtoMessage added in v0.15.0

func (*UnbondingDelegation) ProtoMessage()

func (*UnbondingDelegation) Reset added in v0.15.0

func (m *UnbondingDelegation) Reset()

func (*UnbondingDelegation) Size added in v0.15.0

func (m *UnbondingDelegation) Size() (n int)

func (*UnbondingDelegation) String added in v0.15.0

func (m *UnbondingDelegation) String() string

func (*UnbondingDelegation) Unmarshal added in v0.15.0

func (m *UnbondingDelegation) Unmarshal(dAtA []byte) error

func (*UnbondingDelegation) XXX_DiscardUnknown added in v0.15.0

func (m *UnbondingDelegation) XXX_DiscardUnknown()

func (*UnbondingDelegation) XXX_Marshal added in v0.15.0

func (m *UnbondingDelegation) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*UnbondingDelegation) XXX_Merge added in v0.15.0

func (m *UnbondingDelegation) XXX_Merge(src proto.Message)

func (*UnbondingDelegation) XXX_Size added in v0.15.0

func (m *UnbondingDelegation) XXX_Size() int

func (*UnbondingDelegation) XXX_Unmarshal added in v0.15.0

func (m *UnbondingDelegation) XXX_Unmarshal(b []byte) error

type UnbondingDelegationEntry added in v0.15.0

type UnbondingDelegationEntry struct {
	// creation_height is the height which the unbonding took place.
	CreationHeight int64 `protobuf:"varint,1,opt,name=creation_height,json=creationHeight,proto3" json:"creation_height,omitempty"`
	// completion_time is the unix time for unbonding completion.
	CompletionTime int64 `protobuf:"varint,2,opt,name=completion_time,json=completionTime,proto3" json:"completion_time,omitempty"`
	// initial_balance defines the tokens initially scheduled to receive at completion.
	InitialBalance github_com_cosmos_cosmos_sdk_types.Int `` /* 143-byte string literal not displayed */
	// balance defines the tokens to receive at completion.
	Balance github_com_cosmos_cosmos_sdk_types.Int `protobuf:"bytes,4,opt,name=balance,proto3,customtype=github.com/cosmos/cosmos-sdk/types.Int" json:"balance"`
	// Incrementing id that uniquely identifies this entry
	UnbondingId uint64 `protobuf:"varint,5,opt,name=unbonding_id,json=unbondingId,proto3" json:"unbonding_id,omitempty"`
}

UnbondingDelegationEntry defines an unbonding object with relevant metadata.

func (*UnbondingDelegationEntry) Descriptor added in v0.15.0

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

func (*UnbondingDelegationEntry) GetCompletionTime added in v0.15.0

func (m *UnbondingDelegationEntry) GetCompletionTime() int64

func (*UnbondingDelegationEntry) GetCreationHeight added in v0.15.0

func (m *UnbondingDelegationEntry) GetCreationHeight() int64

func (*UnbondingDelegationEntry) GetUnbondingId added in v0.15.0

func (m *UnbondingDelegationEntry) GetUnbondingId() uint64

func (*UnbondingDelegationEntry) Marshal added in v0.15.0

func (m *UnbondingDelegationEntry) Marshal() (dAtA []byte, err error)

func (*UnbondingDelegationEntry) MarshalTo added in v0.15.0

func (m *UnbondingDelegationEntry) MarshalTo(dAtA []byte) (int, error)

func (*UnbondingDelegationEntry) MarshalToSizedBuffer added in v0.15.0

func (m *UnbondingDelegationEntry) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*UnbondingDelegationEntry) ProtoMessage added in v0.15.0

func (*UnbondingDelegationEntry) ProtoMessage()

func (*UnbondingDelegationEntry) Reset added in v0.15.0

func (m *UnbondingDelegationEntry) Reset()

func (*UnbondingDelegationEntry) Size added in v0.15.0

func (m *UnbondingDelegationEntry) Size() (n int)

func (*UnbondingDelegationEntry) String added in v0.15.0

func (m *UnbondingDelegationEntry) String() string

func (*UnbondingDelegationEntry) Unmarshal added in v0.15.0

func (m *UnbondingDelegationEntry) Unmarshal(dAtA []byte) error

func (*UnbondingDelegationEntry) XXX_DiscardUnknown added in v0.15.0

func (m *UnbondingDelegationEntry) XXX_DiscardUnknown()

func (*UnbondingDelegationEntry) XXX_Marshal added in v0.15.0

func (m *UnbondingDelegationEntry) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*UnbondingDelegationEntry) XXX_Merge added in v0.15.0

func (m *UnbondingDelegationEntry) XXX_Merge(src proto.Message)

func (*UnbondingDelegationEntry) XXX_Size added in v0.15.0

func (m *UnbondingDelegationEntry) XXX_Size() int

func (*UnbondingDelegationEntry) XXX_Unmarshal added in v0.15.0

func (m *UnbondingDelegationEntry) XXX_Unmarshal(b []byte) error

type UnimplementedMsgServer

type UnimplementedMsgServer struct {
}

UnimplementedMsgServer can be embedded to have forward compatible implementations.

func (*UnimplementedMsgServer) CancelVest

func (*UnimplementedMsgServer) CommitClaimedRewards added in v0.15.0

func (*UnimplementedMsgServer) CommitLiquidTokens added in v0.13.0

func (*UnimplementedMsgServer) Stake added in v0.14.0

func (*UnimplementedMsgServer) UncommitTokens

func (*UnimplementedMsgServer) Unstake added in v0.14.0

func (*UnimplementedMsgServer) UpdateVestingInfo added in v0.12.0

func (*UnimplementedMsgServer) Vest

func (*UnimplementedMsgServer) VestLiquid added in v0.13.0

func (*UnimplementedMsgServer) VestNow

type UnimplementedQueryServer

type UnimplementedQueryServer struct {
}

UnimplementedQueryServer can be embedded to have forward compatible implementations.

func (*UnimplementedQueryServer) Params

func (*UnimplementedQueryServer) ShowCommitments

type UnstakedPosition added in v0.15.0

type UnstakedPosition struct {
	// The position ID.
	Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	// The validator that's being unstaked from.
	Validator StakingValidator `protobuf:"bytes,2,opt,name=validator,proto3" json:"validator"`
	// Remaining time to unstake in days.
	RemainingTime uint64 `protobuf:"varint,3,opt,name=remaining_time,json=remainingTime,proto3" json:"remaining_time,omitempty"`
	// The amount that's being staked.
	Unstaked BalanceAvailable `protobuf:"bytes,4,opt,name=unstaked,proto3" json:"unstaked"`
}

func (*UnstakedPosition) Descriptor added in v0.15.0

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

func (*UnstakedPosition) GetId added in v0.15.0

func (m *UnstakedPosition) GetId() string

func (*UnstakedPosition) GetRemainingTime added in v0.15.0

func (m *UnstakedPosition) GetRemainingTime() uint64

func (*UnstakedPosition) GetUnstaked added in v0.15.0

func (m *UnstakedPosition) GetUnstaked() BalanceAvailable

func (*UnstakedPosition) GetValidator added in v0.15.0

func (m *UnstakedPosition) GetValidator() StakingValidator

func (*UnstakedPosition) Marshal added in v0.15.0

func (m *UnstakedPosition) Marshal() (dAtA []byte, err error)

func (*UnstakedPosition) MarshalTo added in v0.15.0

func (m *UnstakedPosition) MarshalTo(dAtA []byte) (int, error)

func (*UnstakedPosition) MarshalToSizedBuffer added in v0.15.0

func (m *UnstakedPosition) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*UnstakedPosition) ProtoMessage added in v0.15.0

func (*UnstakedPosition) ProtoMessage()

func (*UnstakedPosition) Reset added in v0.15.0

func (m *UnstakedPosition) Reset()

func (*UnstakedPosition) Size added in v0.15.0

func (m *UnstakedPosition) Size() (n int)

func (*UnstakedPosition) String added in v0.15.0

func (m *UnstakedPosition) String() string

func (*UnstakedPosition) Unmarshal added in v0.15.0

func (m *UnstakedPosition) Unmarshal(dAtA []byte) error

func (*UnstakedPosition) XXX_DiscardUnknown added in v0.15.0

func (m *UnstakedPosition) XXX_DiscardUnknown()

func (*UnstakedPosition) XXX_Marshal added in v0.15.0

func (m *UnstakedPosition) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*UnstakedPosition) XXX_Merge added in v0.15.0

func (m *UnstakedPosition) XXX_Merge(src proto.Message)

func (*UnstakedPosition) XXX_Size added in v0.15.0

func (m *UnstakedPosition) XXX_Size() int

func (*UnstakedPosition) XXX_Unmarshal added in v0.15.0

func (m *UnstakedPosition) XXX_Unmarshal(b []byte) error

type ValidatorDetail added in v0.15.0

type ValidatorDetail struct {
	// The validator address.
	Address string `protobuf:"bytes,1,opt,name=address,proto3" json:"address,omitempty"`
	// The validator name.
	Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"`
	// Voting power percentage for this validator.
	VotingPower github_com_cosmos_cosmos_sdk_types.Dec `` /* 134-byte string literal not displayed */
	// Comission percentage for the validator.
	Commission github_com_cosmos_cosmos_sdk_types.Dec `protobuf:"bytes,4,opt,name=commission,proto3,customtype=github.com/cosmos/cosmos-sdk/types.Dec" json:"commission"`
	// The url of the validator profile picture
	ProfilePictureSrc string `protobuf:"bytes,5,opt,name=profile_picture_src,json=profilePictureSrc,proto3" json:"profile_picture_src,omitempty"`
	// The staked amount the user has w/ this validator
	// Only available if there's some and if address.
	// is sent in request object.
	Staked BalanceAvailable `protobuf:"bytes,6,opt,name=staked,proto3" json:"staked"`
}

func (*ValidatorDetail) Descriptor added in v0.15.0

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

func (*ValidatorDetail) GetAddress added in v0.15.0

func (m *ValidatorDetail) GetAddress() string

func (*ValidatorDetail) GetName added in v0.15.0

func (m *ValidatorDetail) GetName() string

func (*ValidatorDetail) GetProfilePictureSrc added in v0.15.0

func (m *ValidatorDetail) GetProfilePictureSrc() string

func (*ValidatorDetail) GetStaked added in v0.15.0

func (m *ValidatorDetail) GetStaked() BalanceAvailable

func (*ValidatorDetail) Marshal added in v0.15.0

func (m *ValidatorDetail) Marshal() (dAtA []byte, err error)

func (*ValidatorDetail) MarshalTo added in v0.15.0

func (m *ValidatorDetail) MarshalTo(dAtA []byte) (int, error)

func (*ValidatorDetail) MarshalToSizedBuffer added in v0.15.0

func (m *ValidatorDetail) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*ValidatorDetail) ProtoMessage added in v0.15.0

func (*ValidatorDetail) ProtoMessage()

func (*ValidatorDetail) Reset added in v0.15.0

func (m *ValidatorDetail) Reset()

func (*ValidatorDetail) Size added in v0.15.0

func (m *ValidatorDetail) Size() (n int)

func (*ValidatorDetail) String added in v0.15.0

func (m *ValidatorDetail) String() string

func (*ValidatorDetail) Unmarshal added in v0.15.0

func (m *ValidatorDetail) Unmarshal(dAtA []byte) error

func (*ValidatorDetail) XXX_DiscardUnknown added in v0.15.0

func (m *ValidatorDetail) XXX_DiscardUnknown()

func (*ValidatorDetail) XXX_Marshal added in v0.15.0

func (m *ValidatorDetail) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ValidatorDetail) XXX_Merge added in v0.15.0

func (m *ValidatorDetail) XXX_Merge(src proto.Message)

func (*ValidatorDetail) XXX_Size added in v0.15.0

func (m *ValidatorDetail) XXX_Size() int

func (*ValidatorDetail) XXX_Unmarshal added in v0.15.0

func (m *ValidatorDetail) XXX_Unmarshal(b []byte) error

type VestingDetail added in v0.15.0

type VestingDetail struct {
	Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	// The total vest for the current vest
	TotalVest BalanceAvailable `protobuf:"bytes,2,opt,name=total_vest,json=totalVest,proto3" json:"total_vest"`
	// The balance that's already vested
	BalanceVested BalanceAvailable `protobuf:"bytes,3,opt,name=balance_vested,json=balanceVested,proto3" json:"balance_vested"`
	// The remaining amount to vest
	RemainingVest BalanceAvailable `protobuf:"bytes,4,opt,name=remaining_vest,json=remainingVest,proto3" json:"remaining_vest"`
	// Remaining time to vest. Javascript timestamp.
	RemainingTime int64 `protobuf:"varint,5,opt,name=remaining_time,json=remainingTime,proto3" json:"remaining_time,omitempty"`
}

func (*VestingDetail) Descriptor added in v0.15.0

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

func (*VestingDetail) GetBalanceVested added in v0.15.0

func (m *VestingDetail) GetBalanceVested() BalanceAvailable

func (*VestingDetail) GetId added in v0.15.0

func (m *VestingDetail) GetId() string

func (*VestingDetail) GetRemainingTime added in v0.15.0

func (m *VestingDetail) GetRemainingTime() int64

func (*VestingDetail) GetRemainingVest added in v0.15.0

func (m *VestingDetail) GetRemainingVest() BalanceAvailable

func (*VestingDetail) GetTotalVest added in v0.15.0

func (m *VestingDetail) GetTotalVest() BalanceAvailable

func (*VestingDetail) Marshal added in v0.15.0

func (m *VestingDetail) Marshal() (dAtA []byte, err error)

func (*VestingDetail) MarshalTo added in v0.15.0

func (m *VestingDetail) MarshalTo(dAtA []byte) (int, error)

func (*VestingDetail) MarshalToSizedBuffer added in v0.15.0

func (m *VestingDetail) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*VestingDetail) ProtoMessage added in v0.15.0

func (*VestingDetail) ProtoMessage()

func (*VestingDetail) Reset added in v0.15.0

func (m *VestingDetail) Reset()

func (*VestingDetail) Size added in v0.15.0

func (m *VestingDetail) Size() (n int)

func (*VestingDetail) String added in v0.15.0

func (m *VestingDetail) String() string

func (*VestingDetail) Unmarshal added in v0.15.0

func (m *VestingDetail) Unmarshal(dAtA []byte) error

func (*VestingDetail) XXX_DiscardUnknown added in v0.15.0

func (m *VestingDetail) XXX_DiscardUnknown()

func (*VestingDetail) XXX_Marshal added in v0.15.0

func (m *VestingDetail) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*VestingDetail) XXX_Merge added in v0.15.0

func (m *VestingDetail) XXX_Merge(src proto.Message)

func (*VestingDetail) XXX_Size added in v0.15.0

func (m *VestingDetail) XXX_Size() int

func (*VestingDetail) XXX_Unmarshal added in v0.15.0

func (m *VestingDetail) XXX_Unmarshal(b []byte) error

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"`
	EpochIdentifier string                                 `protobuf:"bytes,3,opt,name=epoch_identifier,json=epochIdentifier,proto3" json:"epoch_identifier,omitempty"`
	NumEpochs       int64                                  `protobuf:"varint,4,opt,name=num_epochs,json=numEpochs,proto3" json:"num_epochs,omitempty"`
	VestNowFactor   github_com_cosmos_cosmos_sdk_types.Int `` /* 142-byte string literal not displayed */
	NumMaxVestings  int64                                  `protobuf:"varint,6,opt,name=num_max_vestings,json=numMaxVestings,proto3" json:"num_max_vestings,omitempty"`
}

func (*VestingInfo) Descriptor

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

func (*VestingInfo) GetBaseDenom

func (m *VestingInfo) GetBaseDenom() string

func (*VestingInfo) GetEpochIdentifier

func (m *VestingInfo) GetEpochIdentifier() string

func (*VestingInfo) GetNumEpochs

func (m *VestingInfo) GetNumEpochs() int64

func (*VestingInfo) GetNumMaxVestings added in v0.12.0

func (m *VestingInfo) GetNumMaxVestings() int64

func (*VestingInfo) GetVestingDenom

func (m *VestingInfo) GetVestingDenom() string

func (*VestingInfo) Marshal

func (m *VestingInfo) Marshal() (dAtA []byte, err error)

func (*VestingInfo) MarshalTo

func (m *VestingInfo) MarshalTo(dAtA []byte) (int, error)

func (*VestingInfo) MarshalToSizedBuffer

func (m *VestingInfo) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*VestingInfo) ProtoMessage

func (*VestingInfo) ProtoMessage()

func (*VestingInfo) Reset

func (m *VestingInfo) Reset()

func (*VestingInfo) Size

func (m *VestingInfo) Size() (n int)

func (*VestingInfo) String

func (m *VestingInfo) String() string

func (*VestingInfo) Unmarshal

func (m *VestingInfo) Unmarshal(dAtA []byte) error

func (*VestingInfo) XXX_DiscardUnknown

func (m *VestingInfo) XXX_DiscardUnknown()

func (*VestingInfo) XXX_Marshal

func (m *VestingInfo) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*VestingInfo) XXX_Merge

func (m *VestingInfo) XXX_Merge(src proto.Message)

func (*VestingInfo) XXX_Size

func (m *VestingInfo) XXX_Size() int

func (*VestingInfo) XXX_Unmarshal

func (m *VestingInfo) XXX_Unmarshal(b []byte) error

type VestingTokens

type VestingTokens struct {
	Denom                string                                 `protobuf:"bytes,1,opt,name=denom,proto3" json:"denom,omitempty"`
	TotalAmount          github_com_cosmos_cosmos_sdk_types.Int `` /* 134-byte string literal not displayed */
	UnvestedAmount       github_com_cosmos_cosmos_sdk_types.Int `` /* 143-byte string literal not displayed */
	EpochIdentifier      string                                 `protobuf:"bytes,4,opt,name=epoch_identifier,json=epochIdentifier,proto3" json:"epoch_identifier,omitempty"`
	NumEpochs            int64                                  `protobuf:"varint,5,opt,name=num_epochs,json=numEpochs,proto3" json:"num_epochs,omitempty"`
	CurrentEpoch         int64                                  `protobuf:"varint,6,opt,name=current_epoch,json=currentEpoch,proto3" json:"current_epoch,omitempty"`
	VestStartedTimestamp int64                                  `protobuf:"varint,7,opt,name=vest_started_timestamp,json=vestStartedTimestamp,proto3" json:"vest_started_timestamp,omitempty"`
}

func (*VestingTokens) Descriptor

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

func (*VestingTokens) GetCurrentEpoch

func (m *VestingTokens) GetCurrentEpoch() int64

func (*VestingTokens) GetDenom

func (m *VestingTokens) GetDenom() string

func (*VestingTokens) GetEpochIdentifier

func (m *VestingTokens) GetEpochIdentifier() string

func (*VestingTokens) GetNumEpochs

func (m *VestingTokens) GetNumEpochs() int64

func (*VestingTokens) GetVestStartedTimestamp added in v0.17.0

func (m *VestingTokens) GetVestStartedTimestamp() int64

func (*VestingTokens) Marshal

func (m *VestingTokens) Marshal() (dAtA []byte, err error)

func (*VestingTokens) MarshalTo

func (m *VestingTokens) MarshalTo(dAtA []byte) (int, error)

func (*VestingTokens) MarshalToSizedBuffer

func (m *VestingTokens) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*VestingTokens) ProtoMessage

func (*VestingTokens) ProtoMessage()

func (*VestingTokens) Reset

func (m *VestingTokens) Reset()

func (*VestingTokens) Size

func (m *VestingTokens) Size() (n int)

func (*VestingTokens) String

func (m *VestingTokens) String() string

func (*VestingTokens) Unmarshal

func (m *VestingTokens) Unmarshal(dAtA []byte) error

func (*VestingTokens) XXX_DiscardUnknown

func (m *VestingTokens) XXX_DiscardUnknown()

func (*VestingTokens) XXX_Marshal

func (m *VestingTokens) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*VestingTokens) XXX_Merge

func (m *VestingTokens) XXX_Merge(src proto.Message)

func (*VestingTokens) XXX_Size

func (m *VestingTokens) XXX_Size() int

func (*VestingTokens) XXX_Unmarshal

func (m *VestingTokens) XXX_Unmarshal(b []byte) error

Jump to

Keyboard shortcuts

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