types

package
v1.3.1 Latest Latest
Warning

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

Go to latest
Published: Feb 20, 2024 License: Apache-2.0 Imports: 41 Imported by: 0

Documentation

Overview

Package types is a reverse proxy.

It translates gRPC into RESTful JSON APIs.

Index

Constants

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

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

	// RouterKey is the message route for slashing
	RouterKey = ModuleName

	// QuerierRoute defines the module's query routing key
	QuerierRoute = ModuleName

	// MemStoreKey defines the in-memory store key
	MemStoreKey = "mem_cfevesting"
)
View Source
const (
	VestingAccountTraceKey      = "VestingAccountTrace-value-"
	VestingAccountTraceCountKey = "VestingAccountTrace-count-"
)
View Source
const (
	Day    = "day"
	Hour   = "hour"
	Minute = "minute"
	Second = "second"
)
View Source
const DefaultIndex uint64 = 1

DefaultIndex is the default capability global index

View Source
const TypeMsgCreateVestingAccount = "create_vesting_account"
View Source
const TypeMsgCreateVestingPool = "create_vesting_pool"
View Source
const TypeMsgMoveAvailableVesting = "move_available_vesting"
View Source
const TypeMsgMoveAvailableVestingByDenoms = "move_available_vesting_by_denoms"
View Source
const TypeMsgSendToVestingAccount = "send_to_vesting_account"
View Source
const TypeMsgSplitVesting = "split_vesting"
View Source
const TypeMsgUpdateDenomParam = "update_denom_param"
View Source
const TypeMsgWithdrawAllAvailable = "withdraw_all_available"

Variables

View Source
var (
	ErrInvalidLengthAccountVestingPool        = fmt.Errorf("proto: negative length found during unmarshaling")
	ErrIntOverflowAccountVestingPool          = fmt.Errorf("proto: integer overflow")
	ErrUnexpectedEndOfGroupAccountVestingPool = fmt.Errorf("proto: unexpected end of group")
)
View Source
var (
	Amino     = codec.NewLegacyAmino()
	ModuleCdc = codec.NewAminoCodec(Amino)
)
View Source
var (
	ErrAmount                          = errors.Register(ModuleName, 2, "wrong amount value")
	ErrAlreadyExists                   = errors.Register(ModuleName, 3, "entity already exists")
	ErrSendCoins                       = errors.Register(ModuleName, 4, "failed to send coins")
	ErrIdenticalAccountsAddresses      = errors.Register(ModuleName, 5, "account addresses cannot be identical")
	ErrGetVestingType                  = errors.Register(ModuleName, 6, "failed to get vesting type")
	ErrAccountNotAllowedToReceiveFunds = errors.Register(ModuleName, 7, "account is not allowed to receive")
	ErrInvalidAccountType              = errors.Register(ModuleName, 8, "invalid account type")
	ErrParsing                         = errors.Register(ModuleName, 9, "failed to parse")
	ErrParam                           = errors.Register(ModuleName, 10, "wrong param value")
)

x/cfevesting module sentinel errors

View Source
var (
	ErrInvalidLengthEvent        = fmt.Errorf("proto: negative length found during unmarshaling")
	ErrIntOverflowEvent          = fmt.Errorf("proto: integer overflow")
	ErrUnexpectedEndOfGroupEvent = fmt.Errorf("proto: unexpected end of group")
)
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 (
	ParamsKey                    = []byte{0x00}
	VestingTypesKeyPrefix        = []byte{0x01}
	AccountVestingPoolsKeyPrefix = []byte{0x02}
)
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 (
	ErrInvalidLengthVestingAccount        = fmt.Errorf("proto: negative length found during unmarshaling")
	ErrIntOverflowVestingAccount          = fmt.Errorf("proto: integer overflow")
	ErrUnexpectedEndOfGroupVestingAccount = fmt.Errorf("proto: unexpected end of group")
)
View Source
var (
	ErrInvalidLengthVestingTypes        = fmt.Errorf("proto: negative length found during unmarshaling")
	ErrIntOverflowVestingTypes          = fmt.Errorf("proto: integer overflow")
	ErrUnexpectedEndOfGroupVestingTypes = fmt.Errorf("proto: unexpected end of group")
)
View Source
var (
	DefaultDenom string = "uc4e"
)

Functions

func DurationFromUnits added in v1.1.0

func DurationFromUnits(unit PeriodUnit, value int64) (time.Duration, error)

func KeyPrefix

func KeyPrefix(p string) []byte

func RegisterInterfaces

func RegisterInterfaces(registry cdctypes.InterfaceRegistry)

func RegisterLegacyAminoCodec added in v1.2.0

func RegisterLegacyAminoCodec(cdc *codec.LegacyAmino)

RegisterLegacyAminoCodec registers the necessary x/bank interfaces and concrete types on the provided LegacyAmino codec. These types are used for Amino JSON serialization.

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)

func ValidateAccountAddresses added in v1.2.0

func ValidateAccountAddresses(fromAddress string, toAddress string) (fromAccAddress sdk.AccAddress, toAccAddress sdk.AccAddress, error error)

func ValidateCreateVestingAccount added in v1.2.0

func ValidateCreateVestingAccount(fromAddress string, toAddress string, amount sdk.Coins, startTime int64,
	endTime int64) (fromAccAddress sdk.AccAddress, toAccAddress sdk.AccAddress, err error)

func ValidateCreateVestingPool added in v1.2.0

func ValidateCreateVestingPool(address string, vestingPoolName string, amount math.Int, duration time.Duration) (accAddress sdk.AccAddress, error error)

func ValidateMsgMoveAvailableVesting added in v1.2.0

func ValidateMsgMoveAvailableVesting(fromAddress string, toAddress string) (fromAccAddress sdk.AccAddress, toAccAddress sdk.AccAddress, error error)

func ValidateMsgMoveAvailableVestingByDenom added in v1.2.0

func ValidateMsgMoveAvailableVestingByDenom(fromAddress string, toAddress string, denoms []string) (fromAccAddress sdk.AccAddress, toAccAddress sdk.AccAddress, error error)

func ValidateMsgSplitVesting added in v1.2.0

func ValidateMsgSplitVesting(fromAddress string, toAddress string,
	amount sdk.Coins) (fromAccAddress sdk.AccAddress, toAccAddress sdk.AccAddress, error error)

func ValidateSendToVestingAccount added in v1.2.0

func ValidateSendToVestingAccount(owner string, toAddr string, vestingPoolName string, amount math.Int) (ownerAccAddress sdk.AccAddress, toAccAddress sdk.AccAddress, error error)

Types

type AccountKeeper

type AccountKeeper interface {
	GetAccount(ctx sdk.Context, addr sdk.AccAddress) types.AccountI
	GetModuleAddress(name string) sdk.AccAddress
	GetModuleAccount(ctx sdk.Context, moduleName string) types.ModuleAccountI
	NewAccount(ctx sdk.Context, acc types.AccountI) types.AccountI
	SetModuleAccount(ctx sdk.Context, macc types.ModuleAccountI)
	NewAccountWithAddress(ctx sdk.Context, addr sdk.AccAddress) types.AccountI
	SetAccount(ctx sdk.Context, acc types.AccountI)
}

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

type AccountVestingPools added in v1.1.0

type AccountVestingPools struct {
	Owner        string         `protobuf:"bytes,1,opt,name=owner,proto3" json:"owner,omitempty"`
	VestingPools []*VestingPool `protobuf:"bytes,2,rep,name=vesting_pools,json=vestingPools,proto3" json:"vesting_pools,omitempty"`
}

func (*AccountVestingPools) Descriptor added in v1.1.0

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

func (*AccountVestingPools) GetOwner added in v1.2.0

func (m *AccountVestingPools) GetOwner() string

func (*AccountVestingPools) GetVestingPools added in v1.1.0

func (m *AccountVestingPools) GetVestingPools() []*VestingPool

func (*AccountVestingPools) Marshal added in v1.1.0

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

func (*AccountVestingPools) MarshalTo added in v1.1.0

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

func (*AccountVestingPools) MarshalToSizedBuffer added in v1.1.0

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

func (*AccountVestingPools) ProtoMessage added in v1.1.0

func (*AccountVestingPools) ProtoMessage()

func (*AccountVestingPools) Reset added in v1.1.0

func (m *AccountVestingPools) Reset()

func (*AccountVestingPools) Size added in v1.1.0

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

func (*AccountVestingPools) String added in v1.1.0

func (m *AccountVestingPools) String() string

func (*AccountVestingPools) Unmarshal added in v1.1.0

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

func (AccountVestingPools) Validate added in v1.1.0

func (av AccountVestingPools) Validate() error

func (AccountVestingPools) ValidateAgainstVestingTypes added in v1.1.0

func (av AccountVestingPools) ValidateAgainstVestingTypes(vestingTypes []GenesisVestingType) error

func (*AccountVestingPools) XXX_DiscardUnknown added in v1.1.0

func (m *AccountVestingPools) XXX_DiscardUnknown()

func (*AccountVestingPools) XXX_Marshal added in v1.1.0

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

func (*AccountVestingPools) XXX_Merge added in v1.1.0

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

func (*AccountVestingPools) XXX_Size added in v1.1.0

func (m *AccountVestingPools) XXX_Size() int

func (*AccountVestingPools) XXX_Unmarshal added in v1.1.0

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

type AccountVestingPoolsList added in v1.2.0

type AccountVestingPoolsList []AccountVestingPools

func (AccountVestingPoolsList) GetGenesisAmount added in v1.2.0

func (avpl AccountVestingPoolsList) GetGenesisAmount() math.Int

type BankKeeper

type BankKeeper interface {
	SpendableCoins(ctx sdk.Context, addr sdk.AccAddress) sdk.Coins
	SendCoins(ctx sdk.Context, fromAddr sdk.AccAddress, toAddr sdk.AccAddress, amt sdk.Coins) error
	SendCoinsFromAccountToModule(ctx sdk.Context, senderAddr sdk.AccAddress, recipientModule string, amt sdk.Coins) error
	SendCoinsFromModuleToAccount(ctx sdk.Context, senderModule string, recipientAddr sdk.AccAddress, amt sdk.Coins) error
	SendCoinsFromModuleToModule(ctx sdk.Context, senderModule, recipientModule string, amt sdk.Coins) error
	GetBalance(ctx sdk.Context, addr sdk.AccAddress, denom string) sdk.Coin
	GetAllBalances(ctx sdk.Context, addr sdk.AccAddress) sdk.Coins
	LockedCoins(ctx sdk.Context, addr sdk.AccAddress) sdk.Coins
	IsSendEnabledCoins(ctx sdk.Context, coins ...sdk.Coin) error
	BlockedAddr(addr sdk.AccAddress) bool
}

BankKeeper defines the expected interface needed to retrieve account balances.

type ContinuousVestingPeriod added in v1.3.0

type ContinuousVestingPeriod struct {
	StartTime int64                                    `protobuf:"varint,1,opt,name=start_time,json=startTime,proto3" json:"start_time,omitempty"`
	EndTime   int64                                    `protobuf:"varint,2,opt,name=end_time,json=endTime,proto3" json:"end_time,omitempty"`
	Amount    github_com_cosmos_cosmos_sdk_types.Coins `protobuf:"bytes,3,rep,name=amount,proto3,castrepeated=github.com/cosmos/cosmos-sdk/types.Coins" json:"amount"`
}

ContinuousVestingPeriod defines a length of time and amount of coins that will vest.

func (*ContinuousVestingPeriod) Descriptor added in v1.3.0

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

func (*ContinuousVestingPeriod) GetAmount added in v1.3.0

func (*ContinuousVestingPeriod) GetEndTime added in v1.3.0

func (m *ContinuousVestingPeriod) GetEndTime() int64

func (*ContinuousVestingPeriod) GetStartTime added in v1.3.0

func (m *ContinuousVestingPeriod) GetStartTime() int64

func (ContinuousVestingPeriod) GetVestedCoins added in v1.3.0

func (cva ContinuousVestingPeriod) GetVestedCoins(blockTime time.Time) sdk.Coins

func (*ContinuousVestingPeriod) Marshal added in v1.3.0

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

func (*ContinuousVestingPeriod) MarshalTo added in v1.3.0

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

func (*ContinuousVestingPeriod) MarshalToSizedBuffer added in v1.3.0

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

func (ContinuousVestingPeriod) MarshalYAML added in v1.3.0

func (cvp ContinuousVestingPeriod) MarshalYAML() (interface{}, error)

func (*ContinuousVestingPeriod) ProtoMessage added in v1.3.0

func (*ContinuousVestingPeriod) ProtoMessage()

func (*ContinuousVestingPeriod) Reset added in v1.3.0

func (m *ContinuousVestingPeriod) Reset()

func (*ContinuousVestingPeriod) Size added in v1.3.0

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

func (ContinuousVestingPeriod) String added in v1.3.0

func (cvp ContinuousVestingPeriod) String() string

func (*ContinuousVestingPeriod) Unmarshal added in v1.3.0

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

func (*ContinuousVestingPeriod) Validate added in v1.3.0

func (cva *ContinuousVestingPeriod) Validate() error

Validate checks for errors on the account fields

func (*ContinuousVestingPeriod) XXX_DiscardUnknown added in v1.3.0

func (m *ContinuousVestingPeriod) XXX_DiscardUnknown()

func (*ContinuousVestingPeriod) XXX_Marshal added in v1.3.0

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

func (*ContinuousVestingPeriod) XXX_Merge added in v1.3.0

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

func (*ContinuousVestingPeriod) XXX_Size added in v1.3.0

func (m *ContinuousVestingPeriod) XXX_Size() int

func (*ContinuousVestingPeriod) XXX_Unmarshal added in v1.3.0

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

type ContinuousVestingPeriods added in v1.3.0

type ContinuousVestingPeriods []ContinuousVestingPeriod

type DistributionKeeper

type DistributionKeeper interface {
	GetDelegatorWithdrawAddr(ctx sdk.Context, delAddr sdk.AccAddress) sdk.AccAddress
	SetDelegatorWithdrawAddr(ctx sdk.Context, delAddr, withdrawAddr sdk.AccAddress)
}

DistributionKeeper defines the expected interface needed for distribution functionality.

type EventNewVestingAccount added in v1.3.0

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

func (*EventNewVestingAccount) Descriptor added in v1.3.0

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

func (*EventNewVestingAccount) GetAddress added in v1.3.0

func (m *EventNewVestingAccount) GetAddress() string

func (*EventNewVestingAccount) Marshal added in v1.3.0

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

func (*EventNewVestingAccount) MarshalTo added in v1.3.0

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

func (*EventNewVestingAccount) MarshalToSizedBuffer added in v1.3.0

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

func (*EventNewVestingAccount) ProtoMessage added in v1.3.0

func (*EventNewVestingAccount) ProtoMessage()

func (*EventNewVestingAccount) Reset added in v1.3.0

func (m *EventNewVestingAccount) Reset()

func (*EventNewVestingAccount) Size added in v1.3.0

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

func (*EventNewVestingAccount) String added in v1.3.0

func (m *EventNewVestingAccount) String() string

func (*EventNewVestingAccount) Unmarshal added in v1.3.0

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

func (*EventNewVestingAccount) XXX_DiscardUnknown added in v1.3.0

func (m *EventNewVestingAccount) XXX_DiscardUnknown()

func (*EventNewVestingAccount) XXX_Marshal added in v1.3.0

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

func (*EventNewVestingAccount) XXX_Merge added in v1.3.0

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

func (*EventNewVestingAccount) XXX_Size added in v1.3.0

func (m *EventNewVestingAccount) XXX_Size() int

func (*EventNewVestingAccount) XXX_Unmarshal added in v1.3.0

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

type EventNewVestingPeriodFromVestingPool added in v1.3.0

type EventNewVestingPeriodFromVestingPool struct {
	Owner           string `protobuf:"bytes,1,opt,name=owner,proto3" json:"owner,omitempty"`
	Address         string `protobuf:"bytes,2,opt,name=address,proto3" json:"address,omitempty"`
	VestingPoolName string `protobuf:"bytes,3,opt,name=vesting_pool_name,json=vestingPoolName,proto3" json:"vesting_pool_name,omitempty"`
	Amount          string `protobuf:"bytes,4,opt,name=amount,proto3" json:"amount,omitempty"`
	RestartVesting  string `protobuf:"bytes,5,opt,name=restart_vesting,json=restartVesting,proto3" json:"restart_vesting,omitempty"`
	PeriodId        uint64 `protobuf:"varint,6,opt,name=period_id,json=periodId,proto3" json:"period_id,omitempty"`
}

func (*EventNewVestingPeriodFromVestingPool) Descriptor added in v1.3.0

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

func (*EventNewVestingPeriodFromVestingPool) GetAddress added in v1.3.0

func (*EventNewVestingPeriodFromVestingPool) GetAmount added in v1.3.0

func (*EventNewVestingPeriodFromVestingPool) GetOwner added in v1.3.0

func (*EventNewVestingPeriodFromVestingPool) GetPeriodId added in v1.3.0

func (*EventNewVestingPeriodFromVestingPool) GetRestartVesting added in v1.3.0

func (m *EventNewVestingPeriodFromVestingPool) GetRestartVesting() string

func (*EventNewVestingPeriodFromVestingPool) GetVestingPoolName added in v1.3.0

func (m *EventNewVestingPeriodFromVestingPool) GetVestingPoolName() string

func (*EventNewVestingPeriodFromVestingPool) Marshal added in v1.3.0

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

func (*EventNewVestingPeriodFromVestingPool) MarshalTo added in v1.3.0

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

func (*EventNewVestingPeriodFromVestingPool) MarshalToSizedBuffer added in v1.3.0

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

func (*EventNewVestingPeriodFromVestingPool) ProtoMessage added in v1.3.0

func (*EventNewVestingPeriodFromVestingPool) ProtoMessage()

func (*EventNewVestingPeriodFromVestingPool) Reset added in v1.3.0

func (*EventNewVestingPeriodFromVestingPool) Size added in v1.3.0

func (*EventNewVestingPeriodFromVestingPool) String added in v1.3.0

func (*EventNewVestingPeriodFromVestingPool) Unmarshal added in v1.3.0

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

func (*EventNewVestingPeriodFromVestingPool) XXX_DiscardUnknown added in v1.3.0

func (m *EventNewVestingPeriodFromVestingPool) XXX_DiscardUnknown()

func (*EventNewVestingPeriodFromVestingPool) XXX_Marshal added in v1.3.0

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

func (*EventNewVestingPeriodFromVestingPool) XXX_Merge added in v1.3.0

func (*EventNewVestingPeriodFromVestingPool) XXX_Size added in v1.3.0

func (*EventNewVestingPeriodFromVestingPool) XXX_Unmarshal added in v1.3.0

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

type EventNewVestingPool added in v1.3.0

type EventNewVestingPool struct {
	Owner       string `protobuf:"bytes,1,opt,name=owner,proto3" json:"owner,omitempty"`
	Name        string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"`
	Amount      string `protobuf:"bytes,3,opt,name=amount,proto3" json:"amount,omitempty"`
	Duration    string `protobuf:"bytes,4,opt,name=duration,proto3" json:"duration,omitempty"`
	VestingType string `protobuf:"bytes,5,opt,name=vestingType,proto3" json:"vestingType,omitempty"`
}

func (*EventNewVestingPool) Descriptor added in v1.3.0

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

func (*EventNewVestingPool) GetAmount added in v1.3.0

func (m *EventNewVestingPool) GetAmount() string

func (*EventNewVestingPool) GetDuration added in v1.3.0

func (m *EventNewVestingPool) GetDuration() string

func (*EventNewVestingPool) GetName added in v1.3.0

func (m *EventNewVestingPool) GetName() string

func (*EventNewVestingPool) GetOwner added in v1.3.0

func (m *EventNewVestingPool) GetOwner() string

func (*EventNewVestingPool) GetVestingType added in v1.3.0

func (m *EventNewVestingPool) GetVestingType() string

func (*EventNewVestingPool) Marshal added in v1.3.0

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

func (*EventNewVestingPool) MarshalTo added in v1.3.0

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

func (*EventNewVestingPool) MarshalToSizedBuffer added in v1.3.0

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

func (*EventNewVestingPool) ProtoMessage added in v1.3.0

func (*EventNewVestingPool) ProtoMessage()

func (*EventNewVestingPool) Reset added in v1.3.0

func (m *EventNewVestingPool) Reset()

func (*EventNewVestingPool) Size added in v1.3.0

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

func (*EventNewVestingPool) String added in v1.3.0

func (m *EventNewVestingPool) String() string

func (*EventNewVestingPool) Unmarshal added in v1.3.0

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

func (*EventNewVestingPool) XXX_DiscardUnknown added in v1.3.0

func (m *EventNewVestingPool) XXX_DiscardUnknown()

func (*EventNewVestingPool) XXX_Marshal added in v1.3.0

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

func (*EventNewVestingPool) XXX_Merge added in v1.3.0

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

func (*EventNewVestingPool) XXX_Size added in v1.3.0

func (m *EventNewVestingPool) XXX_Size() int

func (*EventNewVestingPool) XXX_Unmarshal added in v1.3.0

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

type EventVestingSplit added in v1.3.0

type EventVestingSplit struct {
	Source      string `protobuf:"bytes,1,opt,name=source,proto3" json:"source,omitempty"`
	Destination string `protobuf:"bytes,2,opt,name=destination,proto3" json:"destination,omitempty"`
}

func (*EventVestingSplit) Descriptor added in v1.3.0

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

func (*EventVestingSplit) GetDestination added in v1.3.0

func (m *EventVestingSplit) GetDestination() string

func (*EventVestingSplit) GetSource added in v1.3.0

func (m *EventVestingSplit) GetSource() string

func (*EventVestingSplit) Marshal added in v1.3.0

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

func (*EventVestingSplit) MarshalTo added in v1.3.0

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

func (*EventVestingSplit) MarshalToSizedBuffer added in v1.3.0

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

func (*EventVestingSplit) ProtoMessage added in v1.3.0

func (*EventVestingSplit) ProtoMessage()

func (*EventVestingSplit) Reset added in v1.3.0

func (m *EventVestingSplit) Reset()

func (*EventVestingSplit) Size added in v1.3.0

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

func (*EventVestingSplit) String added in v1.3.0

func (m *EventVestingSplit) String() string

func (*EventVestingSplit) Unmarshal added in v1.3.0

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

func (*EventVestingSplit) XXX_DiscardUnknown added in v1.3.0

func (m *EventVestingSplit) XXX_DiscardUnknown()

func (*EventVestingSplit) XXX_Marshal added in v1.3.0

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

func (*EventVestingSplit) XXX_Merge added in v1.3.0

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

func (*EventVestingSplit) XXX_Size added in v1.3.0

func (m *EventVestingSplit) XXX_Size() int

func (*EventVestingSplit) XXX_Unmarshal added in v1.3.0

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

type EventWithdrawAvailable added in v1.3.0

type EventWithdrawAvailable struct {
	Owner           string `protobuf:"bytes,1,opt,name=owner,proto3" json:"owner,omitempty"`
	VestingPoolName string `protobuf:"bytes,2,opt,name=vesting_pool_name,json=vestingPoolName,proto3" json:"vesting_pool_name,omitempty"`
	Amount          string `protobuf:"bytes,3,opt,name=amount,proto3" json:"amount,omitempty"`
}

func (*EventWithdrawAvailable) Descriptor added in v1.3.0

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

func (*EventWithdrawAvailable) GetAmount added in v1.3.0

func (m *EventWithdrawAvailable) GetAmount() string

func (*EventWithdrawAvailable) GetOwner added in v1.3.0

func (m *EventWithdrawAvailable) GetOwner() string

func (*EventWithdrawAvailable) GetVestingPoolName added in v1.3.0

func (m *EventWithdrawAvailable) GetVestingPoolName() string

func (*EventWithdrawAvailable) Marshal added in v1.3.0

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

func (*EventWithdrawAvailable) MarshalTo added in v1.3.0

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

func (*EventWithdrawAvailable) MarshalToSizedBuffer added in v1.3.0

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

func (*EventWithdrawAvailable) ProtoMessage added in v1.3.0

func (*EventWithdrawAvailable) ProtoMessage()

func (*EventWithdrawAvailable) Reset added in v1.3.0

func (m *EventWithdrawAvailable) Reset()

func (*EventWithdrawAvailable) Size added in v1.3.0

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

func (*EventWithdrawAvailable) String added in v1.3.0

func (m *EventWithdrawAvailable) String() string

func (*EventWithdrawAvailable) Unmarshal added in v1.3.0

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

func (*EventWithdrawAvailable) XXX_DiscardUnknown added in v1.3.0

func (m *EventWithdrawAvailable) XXX_DiscardUnknown()

func (*EventWithdrawAvailable) XXX_Marshal added in v1.3.0

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

func (*EventWithdrawAvailable) XXX_Merge added in v1.3.0

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

func (*EventWithdrawAvailable) XXX_Size added in v1.3.0

func (m *EventWithdrawAvailable) XXX_Size() int

func (*EventWithdrawAvailable) XXX_Unmarshal added in v1.3.0

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

type GenesisState

type GenesisState struct {
	Params                   Params                 `protobuf:"bytes,1,opt,name=params,proto3" json:"params"`
	VestingTypes             []GenesisVestingType   `protobuf:"bytes,2,rep,name=vesting_types,json=vestingTypes,proto3" json:"vesting_types" yaml:"vesting_types"`
	AccountVestingPools      []*AccountVestingPools `` /* 149-byte string literal not displayed */
	VestingAccountTraces     []VestingAccountTrace  `protobuf:"bytes,4,rep,name=vesting_account_traces,json=vestingAccountTraces,proto3" json:"vesting_account_traces"`
	VestingAccountTraceCount uint64                 `` /* 138-byte string literal not displayed */
}

GenesisState defines the cfevesting module's genesis state.

func DefaultGenesis

func DefaultGenesis() *GenesisState

DefaultGenesis returns the default Capability genesis state

func (*GenesisState) Descriptor

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

func (*GenesisState) GetAccountVestingPools added in v1.1.0

func (m *GenesisState) GetAccountVestingPools() []*AccountVestingPools

func (*GenesisState) GetParams

func (m *GenesisState) GetParams() Params

func (*GenesisState) GetVestingAccountTraceCount added in v1.2.0

func (m *GenesisState) GetVestingAccountTraceCount() uint64

func (*GenesisState) GetVestingAccountTraces added in v1.2.0

func (m *GenesisState) GetVestingAccountTraces() []VestingAccountTrace

func (*GenesisState) GetVestingTypes

func (m *GenesisState) GetVestingTypes() []GenesisVestingType

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 GenesisVestingType

type GenesisVestingType struct {
	// vesting type name
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// period of locked coins from vesting start
	LockupPeriod     int64  `protobuf:"varint,2,opt,name=lockup_period,json=lockupPeriod,proto3" json:"lockup_period,omitempty"`
	LockupPeriodUnit string `protobuf:"bytes,3,opt,name=lockup_period_unit,json=lockupPeriodUnit,proto3" json:"lockup_period_unit,omitempty"`
	// period of veesting coins from lockup period end
	VestingPeriod     int64                                  `protobuf:"varint,4,opt,name=vesting_period,json=vestingPeriod,proto3" json:"vesting_period,omitempty"`
	VestingPeriodUnit string                                 `protobuf:"bytes,5,opt,name=vesting_period_unit,json=vestingPeriodUnit,proto3" json:"vesting_period_unit,omitempty"`
	Free              github_com_cosmos_cosmos_sdk_types.Dec `protobuf:"bytes,6,opt,name=free,proto3,customtype=github.com/cosmos/cosmos-sdk/types.Dec" json:"free"`
}

func ConvertVestingTypesToGenesisVestingTypes added in v1.1.0

func ConvertVestingTypesToGenesisVestingTypes(vestingTypes *VestingTypes) []GenesisVestingType

func (*GenesisVestingType) Descriptor

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

func (*GenesisVestingType) GetLockupPeriod

func (m *GenesisVestingType) GetLockupPeriod() int64

func (*GenesisVestingType) GetLockupPeriodUnit

func (m *GenesisVestingType) GetLockupPeriodUnit() string

func (*GenesisVestingType) GetName

func (m *GenesisVestingType) GetName() string

func (*GenesisVestingType) GetVestingPeriod

func (m *GenesisVestingType) GetVestingPeriod() int64

func (*GenesisVestingType) GetVestingPeriodUnit

func (m *GenesisVestingType) GetVestingPeriodUnit() string

func (*GenesisVestingType) Marshal

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

func (*GenesisVestingType) MarshalTo

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

func (*GenesisVestingType) MarshalToSizedBuffer

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

func (*GenesisVestingType) ProtoMessage

func (*GenesisVestingType) ProtoMessage()

func (*GenesisVestingType) Reset

func (m *GenesisVestingType) Reset()

func (*GenesisVestingType) Size

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

func (*GenesisVestingType) String

func (m *GenesisVestingType) String() string

func (*GenesisVestingType) Unmarshal

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

func (GenesisVestingType) Validate added in v1.1.0

func (gst GenesisVestingType) Validate() error

func (*GenesisVestingType) XXX_DiscardUnknown

func (m *GenesisVestingType) XXX_DiscardUnknown()

func (*GenesisVestingType) XXX_Marshal

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

func (*GenesisVestingType) XXX_Merge

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

func (*GenesisVestingType) XXX_Size

func (m *GenesisVestingType) XXX_Size() int

func (*GenesisVestingType) XXX_Unmarshal

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

type GovKeeper

type GovKeeper interface {
}

GovKeeper defines the expected interface needed for distribution functionality.

type MsgClient

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 MsgCreateVestingAccount

type MsgCreateVestingAccount struct {
	FromAddress string                                   `protobuf:"bytes,1,opt,name=from_address,json=fromAddress,proto3" json:"from_address,omitempty" yaml:"from_address"`
	ToAddress   string                                   `protobuf:"bytes,2,opt,name=to_address,json=toAddress,proto3" json:"to_address,omitempty" yaml:"to_address"`
	Amount      github_com_cosmos_cosmos_sdk_types.Coins `protobuf:"bytes,3,rep,name=amount,proto3,castrepeated=github.com/cosmos/cosmos-sdk/types.Coins" json:"amount"`
	StartTime   int64                                    `protobuf:"varint,4,opt,name=start_time,json=startTime,proto3" json:"start_time,omitempty" yaml:"start_time"`
	EndTime     int64                                    `protobuf:"varint,5,opt,name=end_time,json=endTime,proto3" json:"end_time,omitempty" yaml:"end_time"`
}

func NewMsgCreateVestingAccount

func NewMsgCreateVestingAccount(fromAddress string, toAddress string, amount sdk.Coins, startTime int64, endTime int64) *MsgCreateVestingAccount

func (*MsgCreateVestingAccount) Descriptor

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

func (*MsgCreateVestingAccount) GetAmount

func (*MsgCreateVestingAccount) GetEndTime

func (m *MsgCreateVestingAccount) GetEndTime() int64

func (*MsgCreateVestingAccount) GetFromAddress

func (m *MsgCreateVestingAccount) GetFromAddress() string

func (*MsgCreateVestingAccount) GetSignBytes

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

func (*MsgCreateVestingAccount) GetSigners

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

func (*MsgCreateVestingAccount) GetStartTime

func (m *MsgCreateVestingAccount) GetStartTime() int64

func (*MsgCreateVestingAccount) GetToAddress

func (m *MsgCreateVestingAccount) GetToAddress() string

func (*MsgCreateVestingAccount) Marshal

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

func (*MsgCreateVestingAccount) MarshalTo

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

func (*MsgCreateVestingAccount) MarshalToSizedBuffer

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

func (*MsgCreateVestingAccount) ProtoMessage

func (*MsgCreateVestingAccount) ProtoMessage()

func (*MsgCreateVestingAccount) Reset

func (m *MsgCreateVestingAccount) Reset()

func (*MsgCreateVestingAccount) Route

func (msg *MsgCreateVestingAccount) Route() string

func (*MsgCreateVestingAccount) Size

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

func (*MsgCreateVestingAccount) String

func (m *MsgCreateVestingAccount) String() string

func (*MsgCreateVestingAccount) Type

func (msg *MsgCreateVestingAccount) Type() string

func (*MsgCreateVestingAccount) Unmarshal

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

func (*MsgCreateVestingAccount) ValidateBasic

func (msg *MsgCreateVestingAccount) ValidateBasic() error

func (*MsgCreateVestingAccount) XXX_DiscardUnknown

func (m *MsgCreateVestingAccount) XXX_DiscardUnknown()

func (*MsgCreateVestingAccount) XXX_Marshal

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

func (*MsgCreateVestingAccount) XXX_Merge

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

func (*MsgCreateVestingAccount) XXX_Size

func (m *MsgCreateVestingAccount) XXX_Size() int

func (*MsgCreateVestingAccount) XXX_Unmarshal

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

type MsgCreateVestingAccountResponse

type MsgCreateVestingAccountResponse struct {
}

func (*MsgCreateVestingAccountResponse) Descriptor

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

func (*MsgCreateVestingAccountResponse) Marshal

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

func (*MsgCreateVestingAccountResponse) MarshalTo

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

func (*MsgCreateVestingAccountResponse) MarshalToSizedBuffer

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

func (*MsgCreateVestingAccountResponse) ProtoMessage

func (*MsgCreateVestingAccountResponse) ProtoMessage()

func (*MsgCreateVestingAccountResponse) Reset

func (*MsgCreateVestingAccountResponse) Size

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

func (*MsgCreateVestingAccountResponse) String

func (*MsgCreateVestingAccountResponse) Unmarshal

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

func (*MsgCreateVestingAccountResponse) XXX_DiscardUnknown

func (m *MsgCreateVestingAccountResponse) XXX_DiscardUnknown()

func (*MsgCreateVestingAccountResponse) XXX_Marshal

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

func (*MsgCreateVestingAccountResponse) XXX_Merge

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

func (*MsgCreateVestingAccountResponse) XXX_Size

func (m *MsgCreateVestingAccountResponse) XXX_Size() int

func (*MsgCreateVestingAccountResponse) XXX_Unmarshal

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

type MsgCreateVestingPool

type MsgCreateVestingPool struct {
	Owner       string                                 `protobuf:"bytes,1,opt,name=owner,proto3" json:"owner,omitempty"`
	Name        string                                 `protobuf:"bytes,3,opt,name=name,proto3" json:"name,omitempty"`
	Amount      github_com_cosmos_cosmos_sdk_types.Int `protobuf:"bytes,4,opt,name=amount,proto3,customtype=github.com/cosmos/cosmos-sdk/types.Int" json:"amount"`
	Duration    time.Duration                          `protobuf:"bytes,5,opt,name=duration,proto3,stdduration" json:"duration"`
	VestingType string                                 `protobuf:"bytes,6,opt,name=vesting_type,json=vestingType,proto3" json:"vesting_type,omitempty"`
}

func NewMsgCreateVestingPool

func NewMsgCreateVestingPool(owner string, name string, amount math.Int, duration time.Duration, vestingType string) *MsgCreateVestingPool

func (*MsgCreateVestingPool) Descriptor

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

func (*MsgCreateVestingPool) GetDuration

func (m *MsgCreateVestingPool) GetDuration() time.Duration

func (*MsgCreateVestingPool) GetName

func (m *MsgCreateVestingPool) GetName() string

func (*MsgCreateVestingPool) GetOwner added in v1.2.0

func (m *MsgCreateVestingPool) GetOwner() string

func (*MsgCreateVestingPool) GetSignBytes

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

func (*MsgCreateVestingPool) GetSigners

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

func (*MsgCreateVestingPool) GetVestingType

func (m *MsgCreateVestingPool) GetVestingType() string

func (*MsgCreateVestingPool) Marshal

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

func (*MsgCreateVestingPool) MarshalTo

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

func (*MsgCreateVestingPool) MarshalToSizedBuffer

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

func (*MsgCreateVestingPool) ProtoMessage

func (*MsgCreateVestingPool) ProtoMessage()

func (*MsgCreateVestingPool) Reset

func (m *MsgCreateVestingPool) Reset()

func (*MsgCreateVestingPool) Route

func (msg *MsgCreateVestingPool) Route() string

func (*MsgCreateVestingPool) Size

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

func (*MsgCreateVestingPool) String

func (m *MsgCreateVestingPool) String() string

func (*MsgCreateVestingPool) Type

func (msg *MsgCreateVestingPool) Type() string

func (*MsgCreateVestingPool) Unmarshal

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

func (*MsgCreateVestingPool) ValidateBasic

func (msg *MsgCreateVestingPool) ValidateBasic() error

func (*MsgCreateVestingPool) XXX_DiscardUnknown

func (m *MsgCreateVestingPool) XXX_DiscardUnknown()

func (*MsgCreateVestingPool) XXX_Marshal

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

func (*MsgCreateVestingPool) XXX_Merge

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

func (*MsgCreateVestingPool) XXX_Size

func (m *MsgCreateVestingPool) XXX_Size() int

func (*MsgCreateVestingPool) XXX_Unmarshal

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

type MsgCreateVestingPoolResponse

type MsgCreateVestingPoolResponse struct {
}

func (*MsgCreateVestingPoolResponse) Descriptor

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

func (*MsgCreateVestingPoolResponse) Marshal

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

func (*MsgCreateVestingPoolResponse) MarshalTo

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

func (*MsgCreateVestingPoolResponse) MarshalToSizedBuffer

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

func (*MsgCreateVestingPoolResponse) ProtoMessage

func (*MsgCreateVestingPoolResponse) ProtoMessage()

func (*MsgCreateVestingPoolResponse) Reset

func (m *MsgCreateVestingPoolResponse) Reset()

func (*MsgCreateVestingPoolResponse) Size

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

func (*MsgCreateVestingPoolResponse) String

func (*MsgCreateVestingPoolResponse) Unmarshal

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

func (*MsgCreateVestingPoolResponse) XXX_DiscardUnknown

func (m *MsgCreateVestingPoolResponse) XXX_DiscardUnknown()

func (*MsgCreateVestingPoolResponse) XXX_Marshal

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

func (*MsgCreateVestingPoolResponse) XXX_Merge

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

func (*MsgCreateVestingPoolResponse) XXX_Size

func (m *MsgCreateVestingPoolResponse) XXX_Size() int

func (*MsgCreateVestingPoolResponse) XXX_Unmarshal

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

type MsgMoveAvailableVesting added in v1.2.0

type MsgMoveAvailableVesting struct {
	FromAddress string `protobuf:"bytes,1,opt,name=from_address,json=fromAddress,proto3" json:"from_address,omitempty"`
	ToAddress   string `protobuf:"bytes,2,opt,name=to_address,json=toAddress,proto3" json:"to_address,omitempty"`
}

func NewMsgMoveAvailableVesting added in v1.2.0

func NewMsgMoveAvailableVesting(fromAddress string, toAddress string) *MsgMoveAvailableVesting

func (*MsgMoveAvailableVesting) Descriptor added in v1.2.0

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

func (*MsgMoveAvailableVesting) GetFromAddress added in v1.2.0

func (m *MsgMoveAvailableVesting) GetFromAddress() string

func (*MsgMoveAvailableVesting) GetSignBytes added in v1.2.0

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

func (*MsgMoveAvailableVesting) GetSigners added in v1.2.0

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

func (*MsgMoveAvailableVesting) GetToAddress added in v1.2.0

func (m *MsgMoveAvailableVesting) GetToAddress() string

func (*MsgMoveAvailableVesting) Marshal added in v1.2.0

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

func (*MsgMoveAvailableVesting) MarshalTo added in v1.2.0

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

func (*MsgMoveAvailableVesting) MarshalToSizedBuffer added in v1.2.0

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

func (*MsgMoveAvailableVesting) ProtoMessage added in v1.2.0

func (*MsgMoveAvailableVesting) ProtoMessage()

func (*MsgMoveAvailableVesting) Reset added in v1.2.0

func (m *MsgMoveAvailableVesting) Reset()

func (*MsgMoveAvailableVesting) Route added in v1.2.0

func (msg *MsgMoveAvailableVesting) Route() string

func (*MsgMoveAvailableVesting) Size added in v1.2.0

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

func (*MsgMoveAvailableVesting) String added in v1.2.0

func (m *MsgMoveAvailableVesting) String() string

func (*MsgMoveAvailableVesting) Type added in v1.2.0

func (msg *MsgMoveAvailableVesting) Type() string

func (*MsgMoveAvailableVesting) Unmarshal added in v1.2.0

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

func (*MsgMoveAvailableVesting) ValidateBasic added in v1.2.0

func (msg *MsgMoveAvailableVesting) ValidateBasic() error

func (*MsgMoveAvailableVesting) XXX_DiscardUnknown added in v1.2.0

func (m *MsgMoveAvailableVesting) XXX_DiscardUnknown()

func (*MsgMoveAvailableVesting) XXX_Marshal added in v1.2.0

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

func (*MsgMoveAvailableVesting) XXX_Merge added in v1.2.0

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

func (*MsgMoveAvailableVesting) XXX_Size added in v1.2.0

func (m *MsgMoveAvailableVesting) XXX_Size() int

func (*MsgMoveAvailableVesting) XXX_Unmarshal added in v1.2.0

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

type MsgMoveAvailableVestingByDenoms added in v1.2.0

type MsgMoveAvailableVestingByDenoms struct {
	FromAddress string   `protobuf:"bytes,1,opt,name=from_address,json=fromAddress,proto3" json:"from_address,omitempty"`
	ToAddress   string   `protobuf:"bytes,2,opt,name=to_address,json=toAddress,proto3" json:"to_address,omitempty"`
	Denoms      []string `protobuf:"bytes,3,rep,name=denoms,proto3" json:"denoms,omitempty"`
}

func NewMsgMoveAvailableVestingByDenoms added in v1.2.0

func NewMsgMoveAvailableVestingByDenoms(fromAddress string, toAddress string, denoms []string) *MsgMoveAvailableVestingByDenoms

func (*MsgMoveAvailableVestingByDenoms) Descriptor added in v1.2.0

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

func (*MsgMoveAvailableVestingByDenoms) GetDenoms added in v1.2.0

func (m *MsgMoveAvailableVestingByDenoms) GetDenoms() []string

func (*MsgMoveAvailableVestingByDenoms) GetFromAddress added in v1.2.0

func (m *MsgMoveAvailableVestingByDenoms) GetFromAddress() string

func (*MsgMoveAvailableVestingByDenoms) GetSignBytes added in v1.2.0

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

func (*MsgMoveAvailableVestingByDenoms) GetSigners added in v1.2.0

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

func (*MsgMoveAvailableVestingByDenoms) GetToAddress added in v1.2.0

func (m *MsgMoveAvailableVestingByDenoms) GetToAddress() string

func (*MsgMoveAvailableVestingByDenoms) Marshal added in v1.2.0

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

func (*MsgMoveAvailableVestingByDenoms) MarshalTo added in v1.2.0

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

func (*MsgMoveAvailableVestingByDenoms) MarshalToSizedBuffer added in v1.2.0

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

func (*MsgMoveAvailableVestingByDenoms) ProtoMessage added in v1.2.0

func (*MsgMoveAvailableVestingByDenoms) ProtoMessage()

func (*MsgMoveAvailableVestingByDenoms) Reset added in v1.2.0

func (*MsgMoveAvailableVestingByDenoms) Route added in v1.2.0

func (*MsgMoveAvailableVestingByDenoms) Size added in v1.2.0

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

func (*MsgMoveAvailableVestingByDenoms) String added in v1.2.0

func (*MsgMoveAvailableVestingByDenoms) Type added in v1.2.0

func (*MsgMoveAvailableVestingByDenoms) Unmarshal added in v1.2.0

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

func (*MsgMoveAvailableVestingByDenoms) ValidateBasic added in v1.2.0

func (msg *MsgMoveAvailableVestingByDenoms) ValidateBasic() error

func (*MsgMoveAvailableVestingByDenoms) XXX_DiscardUnknown added in v1.2.0

func (m *MsgMoveAvailableVestingByDenoms) XXX_DiscardUnknown()

func (*MsgMoveAvailableVestingByDenoms) XXX_Marshal added in v1.2.0

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

func (*MsgMoveAvailableVestingByDenoms) XXX_Merge added in v1.2.0

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

func (*MsgMoveAvailableVestingByDenoms) XXX_Size added in v1.2.0

func (m *MsgMoveAvailableVestingByDenoms) XXX_Size() int

func (*MsgMoveAvailableVestingByDenoms) XXX_Unmarshal added in v1.2.0

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

type MsgMoveAvailableVestingByDenomsResponse added in v1.2.0

type MsgMoveAvailableVestingByDenomsResponse struct {
}

func (*MsgMoveAvailableVestingByDenomsResponse) Descriptor added in v1.2.0

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

func (*MsgMoveAvailableVestingByDenomsResponse) Marshal added in v1.2.0

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

func (*MsgMoveAvailableVestingByDenomsResponse) MarshalTo added in v1.2.0

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

func (*MsgMoveAvailableVestingByDenomsResponse) MarshalToSizedBuffer added in v1.2.0

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

func (*MsgMoveAvailableVestingByDenomsResponse) ProtoMessage added in v1.2.0

func (*MsgMoveAvailableVestingByDenomsResponse) Reset added in v1.2.0

func (*MsgMoveAvailableVestingByDenomsResponse) Size added in v1.2.0

func (*MsgMoveAvailableVestingByDenomsResponse) String added in v1.2.0

func (*MsgMoveAvailableVestingByDenomsResponse) Unmarshal added in v1.2.0

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

func (*MsgMoveAvailableVestingByDenomsResponse) XXX_DiscardUnknown added in v1.2.0

func (m *MsgMoveAvailableVestingByDenomsResponse) XXX_DiscardUnknown()

func (*MsgMoveAvailableVestingByDenomsResponse) XXX_Marshal added in v1.2.0

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

func (*MsgMoveAvailableVestingByDenomsResponse) XXX_Merge added in v1.2.0

func (*MsgMoveAvailableVestingByDenomsResponse) XXX_Size added in v1.2.0

func (*MsgMoveAvailableVestingByDenomsResponse) XXX_Unmarshal added in v1.2.0

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

type MsgMoveAvailableVestingResponse added in v1.2.0

type MsgMoveAvailableVestingResponse struct {
}

func (*MsgMoveAvailableVestingResponse) Descriptor added in v1.2.0

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

func (*MsgMoveAvailableVestingResponse) Marshal added in v1.2.0

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

func (*MsgMoveAvailableVestingResponse) MarshalTo added in v1.2.0

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

func (*MsgMoveAvailableVestingResponse) MarshalToSizedBuffer added in v1.2.0

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

func (*MsgMoveAvailableVestingResponse) ProtoMessage added in v1.2.0

func (*MsgMoveAvailableVestingResponse) ProtoMessage()

func (*MsgMoveAvailableVestingResponse) Reset added in v1.2.0

func (*MsgMoveAvailableVestingResponse) Size added in v1.2.0

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

func (*MsgMoveAvailableVestingResponse) String added in v1.2.0

func (*MsgMoveAvailableVestingResponse) Unmarshal added in v1.2.0

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

func (*MsgMoveAvailableVestingResponse) XXX_DiscardUnknown added in v1.2.0

func (m *MsgMoveAvailableVestingResponse) XXX_DiscardUnknown()

func (*MsgMoveAvailableVestingResponse) XXX_Marshal added in v1.2.0

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

func (*MsgMoveAvailableVestingResponse) XXX_Merge added in v1.2.0

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

func (*MsgMoveAvailableVestingResponse) XXX_Size added in v1.2.0

func (m *MsgMoveAvailableVestingResponse) XXX_Size() int

func (*MsgMoveAvailableVestingResponse) XXX_Unmarshal added in v1.2.0

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

type MsgSendToVestingAccount

type MsgSendToVestingAccount struct {
	Owner           string                                 `protobuf:"bytes,1,opt,name=owner,proto3" json:"owner,omitempty"`
	ToAddress       string                                 `protobuf:"bytes,2,opt,name=to_address,json=toAddress,proto3" json:"to_address,omitempty"`
	VestingPoolName string                                 `protobuf:"bytes,3,opt,name=vesting_pool_name,json=vestingPoolName,proto3" json:"vesting_pool_name,omitempty"`
	Amount          github_com_cosmos_cosmos_sdk_types.Int `protobuf:"bytes,4,opt,name=amount,proto3,customtype=github.com/cosmos/cosmos-sdk/types.Int" json:"amount"`
	RestartVesting  bool                                   `protobuf:"varint,5,opt,name=restart_vesting,json=restartVesting,proto3" json:"restart_vesting,omitempty"`
}

func NewMsgSendToVestingAccount

func NewMsgSendToVestingAccount(owner string, toAddress string, vestingPoolName string, amount math.Int, restartVesting bool) *MsgSendToVestingAccount

func (*MsgSendToVestingAccount) Descriptor

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

func (*MsgSendToVestingAccount) GetOwner added in v1.2.0

func (m *MsgSendToVestingAccount) GetOwner() string

func (*MsgSendToVestingAccount) GetRestartVesting

func (m *MsgSendToVestingAccount) GetRestartVesting() bool

func (*MsgSendToVestingAccount) GetSignBytes

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

func (*MsgSendToVestingAccount) GetSigners

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

func (*MsgSendToVestingAccount) GetToAddress

func (m *MsgSendToVestingAccount) GetToAddress() string

func (*MsgSendToVestingAccount) GetVestingPoolName added in v1.1.0

func (m *MsgSendToVestingAccount) GetVestingPoolName() string

func (*MsgSendToVestingAccount) Marshal

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

func (*MsgSendToVestingAccount) MarshalTo

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

func (*MsgSendToVestingAccount) MarshalToSizedBuffer

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

func (*MsgSendToVestingAccount) ProtoMessage

func (*MsgSendToVestingAccount) ProtoMessage()

func (*MsgSendToVestingAccount) Reset

func (m *MsgSendToVestingAccount) Reset()

func (*MsgSendToVestingAccount) Route

func (msg *MsgSendToVestingAccount) Route() string

func (*MsgSendToVestingAccount) Size

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

func (*MsgSendToVestingAccount) String

func (m *MsgSendToVestingAccount) String() string

func (*MsgSendToVestingAccount) Type

func (msg *MsgSendToVestingAccount) Type() string

func (*MsgSendToVestingAccount) Unmarshal

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

func (*MsgSendToVestingAccount) ValidateBasic

func (msg *MsgSendToVestingAccount) ValidateBasic() error

func (*MsgSendToVestingAccount) XXX_DiscardUnknown

func (m *MsgSendToVestingAccount) XXX_DiscardUnknown()

func (*MsgSendToVestingAccount) XXX_Marshal

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

func (*MsgSendToVestingAccount) XXX_Merge

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

func (*MsgSendToVestingAccount) XXX_Size

func (m *MsgSendToVestingAccount) XXX_Size() int

func (*MsgSendToVestingAccount) XXX_Unmarshal

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

type MsgSendToVestingAccountResponse

type MsgSendToVestingAccountResponse struct {
}

func (*MsgSendToVestingAccountResponse) Descriptor

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

func (*MsgSendToVestingAccountResponse) Marshal

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

func (*MsgSendToVestingAccountResponse) MarshalTo

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

func (*MsgSendToVestingAccountResponse) MarshalToSizedBuffer

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

func (*MsgSendToVestingAccountResponse) ProtoMessage

func (*MsgSendToVestingAccountResponse) ProtoMessage()

func (*MsgSendToVestingAccountResponse) Reset

func (*MsgSendToVestingAccountResponse) Size

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

func (*MsgSendToVestingAccountResponse) String

func (*MsgSendToVestingAccountResponse) Unmarshal

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

func (*MsgSendToVestingAccountResponse) XXX_DiscardUnknown

func (m *MsgSendToVestingAccountResponse) XXX_DiscardUnknown()

func (*MsgSendToVestingAccountResponse) XXX_Marshal

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

func (*MsgSendToVestingAccountResponse) XXX_Merge

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

func (*MsgSendToVestingAccountResponse) XXX_Size

func (m *MsgSendToVestingAccountResponse) XXX_Size() int

func (*MsgSendToVestingAccountResponse) XXX_Unmarshal

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

type MsgSplitVesting added in v1.2.0

type MsgSplitVesting struct {
	FromAddress string                                   `protobuf:"bytes,1,opt,name=from_address,json=fromAddress,proto3" json:"from_address,omitempty"`
	ToAddress   string                                   `protobuf:"bytes,2,opt,name=to_address,json=toAddress,proto3" json:"to_address,omitempty"`
	Amount      github_com_cosmos_cosmos_sdk_types.Coins `protobuf:"bytes,3,rep,name=amount,proto3,castrepeated=github.com/cosmos/cosmos-sdk/types.Coins" json:"amount"`
}

func NewMsgSplitVesting added in v1.2.0

func NewMsgSplitVesting(fromAddress string, toAddress string, amount sdk.Coins) *MsgSplitVesting

func (*MsgSplitVesting) Descriptor added in v1.2.0

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

func (*MsgSplitVesting) GetAmount added in v1.2.0

func (*MsgSplitVesting) GetFromAddress added in v1.2.0

func (m *MsgSplitVesting) GetFromAddress() string

func (*MsgSplitVesting) GetSignBytes added in v1.2.0

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

func (*MsgSplitVesting) GetSigners added in v1.2.0

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

func (*MsgSplitVesting) GetToAddress added in v1.2.0

func (m *MsgSplitVesting) GetToAddress() string

func (*MsgSplitVesting) Marshal added in v1.2.0

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

func (*MsgSplitVesting) MarshalTo added in v1.2.0

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

func (*MsgSplitVesting) MarshalToSizedBuffer added in v1.2.0

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

func (*MsgSplitVesting) ProtoMessage added in v1.2.0

func (*MsgSplitVesting) ProtoMessage()

func (*MsgSplitVesting) Reset added in v1.2.0

func (m *MsgSplitVesting) Reset()

func (*MsgSplitVesting) Route added in v1.2.0

func (msg *MsgSplitVesting) Route() string

func (*MsgSplitVesting) Size added in v1.2.0

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

func (*MsgSplitVesting) String added in v1.2.0

func (m *MsgSplitVesting) String() string

func (*MsgSplitVesting) Type added in v1.2.0

func (msg *MsgSplitVesting) Type() string

func (*MsgSplitVesting) Unmarshal added in v1.2.0

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

func (*MsgSplitVesting) ValidateBasic added in v1.2.0

func (msg *MsgSplitVesting) ValidateBasic() error

func (*MsgSplitVesting) XXX_DiscardUnknown added in v1.2.0

func (m *MsgSplitVesting) XXX_DiscardUnknown()

func (*MsgSplitVesting) XXX_Marshal added in v1.2.0

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

func (*MsgSplitVesting) XXX_Merge added in v1.2.0

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

func (*MsgSplitVesting) XXX_Size added in v1.2.0

func (m *MsgSplitVesting) XXX_Size() int

func (*MsgSplitVesting) XXX_Unmarshal added in v1.2.0

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

type MsgSplitVestingResponse added in v1.2.0

type MsgSplitVestingResponse struct {
}

func (*MsgSplitVestingResponse) Descriptor added in v1.2.0

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

func (*MsgSplitVestingResponse) Marshal added in v1.2.0

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

func (*MsgSplitVestingResponse) MarshalTo added in v1.2.0

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

func (*MsgSplitVestingResponse) MarshalToSizedBuffer added in v1.2.0

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

func (*MsgSplitVestingResponse) ProtoMessage added in v1.2.0

func (*MsgSplitVestingResponse) ProtoMessage()

func (*MsgSplitVestingResponse) Reset added in v1.2.0

func (m *MsgSplitVestingResponse) Reset()

func (*MsgSplitVestingResponse) Size added in v1.2.0

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

func (*MsgSplitVestingResponse) String added in v1.2.0

func (m *MsgSplitVestingResponse) String() string

func (*MsgSplitVestingResponse) Unmarshal added in v1.2.0

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

func (*MsgSplitVestingResponse) XXX_DiscardUnknown added in v1.2.0

func (m *MsgSplitVestingResponse) XXX_DiscardUnknown()

func (*MsgSplitVestingResponse) XXX_Marshal added in v1.2.0

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

func (*MsgSplitVestingResponse) XXX_Merge added in v1.2.0

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

func (*MsgSplitVestingResponse) XXX_Size added in v1.2.0

func (m *MsgSplitVestingResponse) XXX_Size() int

func (*MsgSplitVestingResponse) XXX_Unmarshal added in v1.2.0

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

type MsgUpdateDenomParam added in v1.2.0

type MsgUpdateDenomParam struct {
	// authority is the address of the governance account.
	Authority string `protobuf:"bytes,1,opt,name=authority,proto3" json:"authority,omitempty"`
	Denom     string `protobuf:"bytes,2,opt,name=denom,proto3" json:"denom,omitempty"`
}

func (*MsgUpdateDenomParam) Descriptor added in v1.2.0

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

func (*MsgUpdateDenomParam) GetAuthority added in v1.2.0

func (m *MsgUpdateDenomParam) GetAuthority() string

func (*MsgUpdateDenomParam) GetDenom added in v1.2.0

func (m *MsgUpdateDenomParam) GetDenom() string

func (*MsgUpdateDenomParam) GetSignBytes added in v1.2.0

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

func (*MsgUpdateDenomParam) GetSigners added in v1.2.0

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

func (*MsgUpdateDenomParam) Marshal added in v1.2.0

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

func (*MsgUpdateDenomParam) MarshalTo added in v1.2.0

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

func (*MsgUpdateDenomParam) MarshalToSizedBuffer added in v1.2.0

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

func (*MsgUpdateDenomParam) ProtoMessage added in v1.2.0

func (*MsgUpdateDenomParam) ProtoMessage()

func (*MsgUpdateDenomParam) Reset added in v1.2.0

func (m *MsgUpdateDenomParam) Reset()

func (*MsgUpdateDenomParam) Route added in v1.2.0

func (msg *MsgUpdateDenomParam) Route() string

func (*MsgUpdateDenomParam) Size added in v1.2.0

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

func (*MsgUpdateDenomParam) String added in v1.2.0

func (m *MsgUpdateDenomParam) String() string

func (*MsgUpdateDenomParam) Type added in v1.2.0

func (msg *MsgUpdateDenomParam) Type() string

func (*MsgUpdateDenomParam) Unmarshal added in v1.2.0

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

func (*MsgUpdateDenomParam) ValidateBasic added in v1.2.0

func (msg *MsgUpdateDenomParam) ValidateBasic() error

func (*MsgUpdateDenomParam) XXX_DiscardUnknown added in v1.2.0

func (m *MsgUpdateDenomParam) XXX_DiscardUnknown()

func (*MsgUpdateDenomParam) XXX_Marshal added in v1.2.0

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

func (*MsgUpdateDenomParam) XXX_Merge added in v1.2.0

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

func (*MsgUpdateDenomParam) XXX_Size added in v1.2.0

func (m *MsgUpdateDenomParam) XXX_Size() int

func (*MsgUpdateDenomParam) XXX_Unmarshal added in v1.2.0

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

type MsgUpdateDenomParamResponse added in v1.2.0

type MsgUpdateDenomParamResponse struct {
}

func (*MsgUpdateDenomParamResponse) Descriptor added in v1.2.0

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

func (*MsgUpdateDenomParamResponse) Marshal added in v1.2.0

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

func (*MsgUpdateDenomParamResponse) MarshalTo added in v1.2.0

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

func (*MsgUpdateDenomParamResponse) MarshalToSizedBuffer added in v1.2.0

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

func (*MsgUpdateDenomParamResponse) ProtoMessage added in v1.2.0

func (*MsgUpdateDenomParamResponse) ProtoMessage()

func (*MsgUpdateDenomParamResponse) Reset added in v1.2.0

func (m *MsgUpdateDenomParamResponse) Reset()

func (*MsgUpdateDenomParamResponse) Size added in v1.2.0

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

func (*MsgUpdateDenomParamResponse) String added in v1.2.0

func (m *MsgUpdateDenomParamResponse) String() string

func (*MsgUpdateDenomParamResponse) Unmarshal added in v1.2.0

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

func (*MsgUpdateDenomParamResponse) XXX_DiscardUnknown added in v1.2.0

func (m *MsgUpdateDenomParamResponse) XXX_DiscardUnknown()

func (*MsgUpdateDenomParamResponse) XXX_Marshal added in v1.2.0

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

func (*MsgUpdateDenomParamResponse) XXX_Merge added in v1.2.0

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

func (*MsgUpdateDenomParamResponse) XXX_Size added in v1.2.0

func (m *MsgUpdateDenomParamResponse) XXX_Size() int

func (*MsgUpdateDenomParamResponse) XXX_Unmarshal added in v1.2.0

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

type MsgWithdrawAllAvailable

type MsgWithdrawAllAvailable struct {
	Owner string `protobuf:"bytes,1,opt,name=owner,proto3" json:"owner,omitempty"`
}

func NewMsgWithdrawAllAvailable

func NewMsgWithdrawAllAvailable(owner string) *MsgWithdrawAllAvailable

func (*MsgWithdrawAllAvailable) Descriptor

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

func (*MsgWithdrawAllAvailable) GetOwner added in v1.2.0

func (m *MsgWithdrawAllAvailable) GetOwner() string

func (*MsgWithdrawAllAvailable) GetSignBytes

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

func (*MsgWithdrawAllAvailable) GetSigners

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

func (*MsgWithdrawAllAvailable) Marshal

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

func (*MsgWithdrawAllAvailable) MarshalTo

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

func (*MsgWithdrawAllAvailable) MarshalToSizedBuffer

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

func (*MsgWithdrawAllAvailable) ProtoMessage

func (*MsgWithdrawAllAvailable) ProtoMessage()

func (*MsgWithdrawAllAvailable) Reset

func (m *MsgWithdrawAllAvailable) Reset()

func (*MsgWithdrawAllAvailable) Route

func (msg *MsgWithdrawAllAvailable) Route() string

func (*MsgWithdrawAllAvailable) Size

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

func (*MsgWithdrawAllAvailable) String

func (m *MsgWithdrawAllAvailable) String() string

func (*MsgWithdrawAllAvailable) Type

func (msg *MsgWithdrawAllAvailable) Type() string

func (*MsgWithdrawAllAvailable) Unmarshal

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

func (*MsgWithdrawAllAvailable) ValidateBasic

func (msg *MsgWithdrawAllAvailable) ValidateBasic() error

func (*MsgWithdrawAllAvailable) XXX_DiscardUnknown

func (m *MsgWithdrawAllAvailable) XXX_DiscardUnknown()

func (*MsgWithdrawAllAvailable) XXX_Marshal

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

func (*MsgWithdrawAllAvailable) XXX_Merge

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

func (*MsgWithdrawAllAvailable) XXX_Size

func (m *MsgWithdrawAllAvailable) XXX_Size() int

func (*MsgWithdrawAllAvailable) XXX_Unmarshal

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

type MsgWithdrawAllAvailableResponse

type MsgWithdrawAllAvailableResponse struct {
	Withdrawn github_com_cosmos_cosmos_sdk_types.Coin `protobuf:"bytes,1,opt,name=withdrawn,proto3,customtype=github.com/cosmos/cosmos-sdk/types.Coin" json:"withdrawn"`
}

func (*MsgWithdrawAllAvailableResponse) Descriptor

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

func (*MsgWithdrawAllAvailableResponse) Marshal

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

func (*MsgWithdrawAllAvailableResponse) MarshalTo

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

func (*MsgWithdrawAllAvailableResponse) MarshalToSizedBuffer

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

func (*MsgWithdrawAllAvailableResponse) ProtoMessage

func (*MsgWithdrawAllAvailableResponse) ProtoMessage()

func (*MsgWithdrawAllAvailableResponse) Reset

func (*MsgWithdrawAllAvailableResponse) Size

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

func (*MsgWithdrawAllAvailableResponse) String

func (*MsgWithdrawAllAvailableResponse) Unmarshal

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

func (*MsgWithdrawAllAvailableResponse) XXX_DiscardUnknown

func (m *MsgWithdrawAllAvailableResponse) XXX_DiscardUnknown()

func (*MsgWithdrawAllAvailableResponse) XXX_Marshal

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

func (*MsgWithdrawAllAvailableResponse) XXX_Merge

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

func (*MsgWithdrawAllAvailableResponse) XXX_Size

func (m *MsgWithdrawAllAvailableResponse) XXX_Size() int

func (*MsgWithdrawAllAvailableResponse) XXX_Unmarshal

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

type Params

type Params struct {
	Denom string `protobuf:"bytes,1,opt,name=denom,proto3" json:"denom,omitempty" yaml:"denom"`
}

Params defines the parameters for the module.

func DefaultParams

func DefaultParams() Params

DefaultParams returns a default set of parameters

func NewParams

func NewParams(denom string) Params

NewParams creates a new Params instance

func (*Params) Descriptor

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

func (*Params) GetDenom

func (m *Params) GetDenom() string

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) 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 PeriodUnit added in v1.1.0

type PeriodUnit string

func UnitsFromDuration added in v1.1.0

func UnitsFromDuration(duration time.Duration) (unit PeriodUnit, value int64)

type PeriodicContinuousVestingAccount added in v1.3.0

type PeriodicContinuousVestingAccount struct {
	*types1.BaseVestingAccount ``                        /* 147-byte string literal not displayed */
	StartTime                  int64                     `protobuf:"varint,2,opt,name=start_time,json=startTime,proto3" json:"start_time,omitempty"`
	VestingPeriods             []ContinuousVestingPeriod `protobuf:"bytes,3,rep,name=vesting_periods,json=vestingPeriods,proto3" json:"vesting_periods"`
}

PeriodicContinuousVestingAccount implements the VestingAccount interface. It periodically vests by unlocking coins during each specified period.

func NewPeriodicContinuousVestingAccount added in v1.3.0

func NewPeriodicContinuousVestingAccount(baseAcc *authtypes.BaseAccount, originalVesting sdk.Coins, startTime int64, endTime int64, periods ContinuousVestingPeriods) *PeriodicContinuousVestingAccount

NewPeriodicContinuousVestingAccount returns a new VestingAccount

func NewPeriodicContinuousVestingAccountRaw added in v1.3.0

func NewPeriodicContinuousVestingAccountRaw(bva *vestingtypes.BaseVestingAccount, startTime int64) *PeriodicContinuousVestingAccount

NewPeriodicContinuousVestingAccountRaw creates a new VestingAccount object from BaseVestingAccount

func (*PeriodicContinuousVestingAccount) AddNewContinousVestingPeriod added in v1.3.0

func (account *PeriodicContinuousVestingAccount) AddNewContinousVestingPeriod(startTime int64, endTime int64, amount sdk.Coins) uint64

func (*PeriodicContinuousVestingAccount) Descriptor added in v1.3.0

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

func (PeriodicContinuousVestingAccount) GetLockedCoins added in v1.3.0

func (account PeriodicContinuousVestingAccount) GetLockedCoins(vestingCoins sdk.Coins) sdk.Coins

GetLockedCoinsFromCoins returns the set of coins that are not spendable (i.e. locked), defined as the vesting coins that are not delegated.

func (PeriodicContinuousVestingAccount) GetStartTime added in v1.3.0

func (account PeriodicContinuousVestingAccount) GetStartTime() int64

func (PeriodicContinuousVestingAccount) GetVestedCoins added in v1.3.0

func (account PeriodicContinuousVestingAccount) GetVestedCoins(blockTime time.Time) sdk.Coins

GetVestedCoins returns the total number of vested coins. If no coins are vested, nil is returned.

func (PeriodicContinuousVestingAccount) GetVestedCoinsForSpecyficPeriods added in v1.3.0

func (account PeriodicContinuousVestingAccount) GetVestedCoinsForSpecyficPeriods(blockTime time.Time, periodsToTrace []uint64) sdk.Coins

GetVestedCoinsForSpecyficPeriods returns the total number of vested coins. If no coins are vested, nil is returned.

func (PeriodicContinuousVestingAccount) GetVestingCoins added in v1.3.0

func (account PeriodicContinuousVestingAccount) GetVestingCoins(blockTime time.Time) sdk.Coins

GetVestingCoins returns the total number of vesting coins. If no coins are vesting, nil is returned.

func (PeriodicContinuousVestingAccount) GetVestingCoinsForSpecificPeriods added in v1.3.0

func (account PeriodicContinuousVestingAccount) GetVestingCoinsForSpecificPeriods(blockTime time.Time, periodsToTrace []uint64) sdk.Coins

GetVestingCoinsForSpecificPeriods returns the total number of vesting coins. If no coins are vesting, nil is returned.

func (PeriodicContinuousVestingAccount) LockedCoins added in v1.3.0

func (account PeriodicContinuousVestingAccount) LockedCoins(blockTime time.Time) sdk.Coins

cfevestingtypes.ModuleName returns the set of coins that are not spendable (i.e. locked), defined as the vesting coins that are not delegated.

func (*PeriodicContinuousVestingAccount) Marshal added in v1.3.0

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

func (*PeriodicContinuousVestingAccount) MarshalTo added in v1.3.0

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

func (*PeriodicContinuousVestingAccount) MarshalToSizedBuffer added in v1.3.0

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

func (PeriodicContinuousVestingAccount) MarshalYAML added in v1.3.0

func (account PeriodicContinuousVestingAccount) MarshalYAML() (interface{}, error)

func (*PeriodicContinuousVestingAccount) ProtoMessage added in v1.3.0

func (*PeriodicContinuousVestingAccount) ProtoMessage()

func (*PeriodicContinuousVestingAccount) Reset added in v1.3.0

func (*PeriodicContinuousVestingAccount) Size added in v1.3.0

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

func (PeriodicContinuousVestingAccount) String added in v1.3.0

func (account PeriodicContinuousVestingAccount) String() string

func (*PeriodicContinuousVestingAccount) TrackDelegation added in v1.3.0

func (account *PeriodicContinuousVestingAccount) TrackDelegation(blockTime time.Time, balance, amount sdk.Coins)

TrackDelegation tracks a desired delegation amount by setting the appropriate values for the amount of delegated vesting, delegated free, and reducing the overall amount of base coins.

func (*PeriodicContinuousVestingAccount) Unmarshal added in v1.3.0

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

func (*PeriodicContinuousVestingAccount) Validate added in v1.3.0

func (account *PeriodicContinuousVestingAccount) Validate() error

Validate checks for errors on the account fields

func (*PeriodicContinuousVestingAccount) XXX_DiscardUnknown added in v1.3.0

func (m *PeriodicContinuousVestingAccount) XXX_DiscardUnknown()

func (*PeriodicContinuousVestingAccount) XXX_Marshal added in v1.3.0

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

func (*PeriodicContinuousVestingAccount) XXX_Merge added in v1.3.0

func (*PeriodicContinuousVestingAccount) XXX_Size added in v1.3.0

func (m *PeriodicContinuousVestingAccount) XXX_Size() int

func (*PeriodicContinuousVestingAccount) XXX_Unmarshal added in v1.3.0

func (m *PeriodicContinuousVestingAccount) 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 VestingType items.
	VestingType(ctx context.Context, in *QueryVestingTypeRequest, opts ...grpc.CallOption) (*QueryVestingTypeResponse, error)
	// Queries a list of Vesting items.
	VestingPools(ctx context.Context, in *QueryVestingPoolsRequest, opts ...grpc.CallOption) (*QueryVestingPoolsResponse, error)
	// Queries a summary of the entire vesting.
	VestingsSummary(ctx context.Context, in *QueryVestingsSummaryRequest, opts ...grpc.CallOption) (*QueryVestingsSummaryResponse, error)
	// Queries a list of GenesisVestingsSummary items.
	GenesisVestingsSummary(ctx context.Context, in *QueryGenesisVestingsSummaryRequest, opts ...grpc.CallOption) (*QueryGenesisVestingsSummaryResponse, 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 QueryGenesisVestingsSummaryRequest added in v1.2.0

type QueryGenesisVestingsSummaryRequest struct {
}

this line is used by starport scaffolding # 3

func (*QueryGenesisVestingsSummaryRequest) Descriptor added in v1.2.0

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

func (*QueryGenesisVestingsSummaryRequest) Marshal added in v1.2.0

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

func (*QueryGenesisVestingsSummaryRequest) MarshalTo added in v1.2.0

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

func (*QueryGenesisVestingsSummaryRequest) MarshalToSizedBuffer added in v1.2.0

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

func (*QueryGenesisVestingsSummaryRequest) ProtoMessage added in v1.2.0

func (*QueryGenesisVestingsSummaryRequest) ProtoMessage()

func (*QueryGenesisVestingsSummaryRequest) Reset added in v1.2.0

func (*QueryGenesisVestingsSummaryRequest) Size added in v1.2.0

func (*QueryGenesisVestingsSummaryRequest) String added in v1.2.0

func (*QueryGenesisVestingsSummaryRequest) Unmarshal added in v1.2.0

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

func (*QueryGenesisVestingsSummaryRequest) XXX_DiscardUnknown added in v1.2.0

func (m *QueryGenesisVestingsSummaryRequest) XXX_DiscardUnknown()

func (*QueryGenesisVestingsSummaryRequest) XXX_Marshal added in v1.2.0

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

func (*QueryGenesisVestingsSummaryRequest) XXX_Merge added in v1.2.0

func (*QueryGenesisVestingsSummaryRequest) XXX_Size added in v1.2.0

func (*QueryGenesisVestingsSummaryRequest) XXX_Unmarshal added in v1.2.0

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

type QueryGenesisVestingsSummaryResponse added in v1.2.0

type QueryGenesisVestingsSummaryResponse struct {
	VestingAllAmount        github_com_cosmos_cosmos_sdk_types.Int `` /* 151-byte string literal not displayed */
	VestingInPoolsAmount    github_com_cosmos_cosmos_sdk_types.Int `` /* 165-byte string literal not displayed */
	VestingInAccountsAmount github_com_cosmos_cosmos_sdk_types.Int `` /* 174-byte string literal not displayed */
	DelegatedVestingAmount  github_com_cosmos_cosmos_sdk_types.Int `` /* 169-byte string literal not displayed */
}

func (*QueryGenesisVestingsSummaryResponse) Descriptor added in v1.2.0

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

func (*QueryGenesisVestingsSummaryResponse) Marshal added in v1.2.0

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

func (*QueryGenesisVestingsSummaryResponse) MarshalTo added in v1.2.0

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

func (*QueryGenesisVestingsSummaryResponse) MarshalToSizedBuffer added in v1.2.0

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

func (*QueryGenesisVestingsSummaryResponse) ProtoMessage added in v1.2.0

func (*QueryGenesisVestingsSummaryResponse) ProtoMessage()

func (*QueryGenesisVestingsSummaryResponse) Reset added in v1.2.0

func (*QueryGenesisVestingsSummaryResponse) Size added in v1.2.0

func (*QueryGenesisVestingsSummaryResponse) String added in v1.2.0

func (*QueryGenesisVestingsSummaryResponse) Unmarshal added in v1.2.0

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

func (*QueryGenesisVestingsSummaryResponse) XXX_DiscardUnknown added in v1.2.0

func (m *QueryGenesisVestingsSummaryResponse) XXX_DiscardUnknown()

func (*QueryGenesisVestingsSummaryResponse) XXX_Marshal added in v1.2.0

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

func (*QueryGenesisVestingsSummaryResponse) XXX_Merge added in v1.2.0

func (*QueryGenesisVestingsSummaryResponse) XXX_Size added in v1.2.0

func (*QueryGenesisVestingsSummaryResponse) XXX_Unmarshal added in v1.2.0

func (m *QueryGenesisVestingsSummaryResponse) 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 VestingType items.
	VestingType(context.Context, *QueryVestingTypeRequest) (*QueryVestingTypeResponse, error)
	// Queries a list of Vesting items.
	VestingPools(context.Context, *QueryVestingPoolsRequest) (*QueryVestingPoolsResponse, error)
	// Queries a summary of the entire vesting.
	VestingsSummary(context.Context, *QueryVestingsSummaryRequest) (*QueryVestingsSummaryResponse, error)
	// Queries a list of GenesisVestingsSummary items.
	GenesisVestingsSummary(context.Context, *QueryGenesisVestingsSummaryRequest) (*QueryGenesisVestingsSummaryResponse, error)
}

QueryServer is the server API for Query service.

type QueryVestingPoolsRequest

type QueryVestingPoolsRequest struct {
	Owner string `protobuf:"bytes,1,opt,name=owner,proto3" json:"owner,omitempty"`
}

func (*QueryVestingPoolsRequest) Descriptor

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

func (*QueryVestingPoolsRequest) GetOwner added in v1.2.0

func (m *QueryVestingPoolsRequest) GetOwner() string

func (*QueryVestingPoolsRequest) Marshal

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

func (*QueryVestingPoolsRequest) MarshalTo

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

func (*QueryVestingPoolsRequest) MarshalToSizedBuffer

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

func (*QueryVestingPoolsRequest) ProtoMessage

func (*QueryVestingPoolsRequest) ProtoMessage()

func (*QueryVestingPoolsRequest) Reset

func (m *QueryVestingPoolsRequest) Reset()

func (*QueryVestingPoolsRequest) Size

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

func (*QueryVestingPoolsRequest) String

func (m *QueryVestingPoolsRequest) String() string

func (*QueryVestingPoolsRequest) Unmarshal

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

func (*QueryVestingPoolsRequest) XXX_DiscardUnknown

func (m *QueryVestingPoolsRequest) XXX_DiscardUnknown()

func (*QueryVestingPoolsRequest) XXX_Marshal

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

func (*QueryVestingPoolsRequest) XXX_Merge

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

func (*QueryVestingPoolsRequest) XXX_Size

func (m *QueryVestingPoolsRequest) XXX_Size() int

func (*QueryVestingPoolsRequest) XXX_Unmarshal

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

type QueryVestingPoolsResponse

type QueryVestingPoolsResponse struct {
	VestingPools []*VestingPoolInfo `protobuf:"bytes,2,rep,name=vesting_pools,json=vestingPools,proto3" json:"vesting_pools,omitempty"`
}

func (*QueryVestingPoolsResponse) Descriptor

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

func (*QueryVestingPoolsResponse) GetVestingPools

func (m *QueryVestingPoolsResponse) GetVestingPools() []*VestingPoolInfo

func (*QueryVestingPoolsResponse) Marshal

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

func (*QueryVestingPoolsResponse) MarshalTo

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

func (*QueryVestingPoolsResponse) MarshalToSizedBuffer

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

func (*QueryVestingPoolsResponse) ProtoMessage

func (*QueryVestingPoolsResponse) ProtoMessage()

func (*QueryVestingPoolsResponse) Reset

func (m *QueryVestingPoolsResponse) Reset()

func (*QueryVestingPoolsResponse) Size

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

func (*QueryVestingPoolsResponse) String

func (m *QueryVestingPoolsResponse) String() string

func (*QueryVestingPoolsResponse) Unmarshal

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

func (*QueryVestingPoolsResponse) XXX_DiscardUnknown

func (m *QueryVestingPoolsResponse) XXX_DiscardUnknown()

func (*QueryVestingPoolsResponse) XXX_Marshal

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

func (*QueryVestingPoolsResponse) XXX_Merge

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

func (*QueryVestingPoolsResponse) XXX_Size

func (m *QueryVestingPoolsResponse) XXX_Size() int

func (*QueryVestingPoolsResponse) XXX_Unmarshal

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

type QueryVestingTypeRequest

type QueryVestingTypeRequest struct {
}

func (*QueryVestingTypeRequest) Descriptor

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

func (*QueryVestingTypeRequest) Marshal

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

func (*QueryVestingTypeRequest) MarshalTo

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

func (*QueryVestingTypeRequest) MarshalToSizedBuffer

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

func (*QueryVestingTypeRequest) ProtoMessage

func (*QueryVestingTypeRequest) ProtoMessage()

func (*QueryVestingTypeRequest) Reset

func (m *QueryVestingTypeRequest) Reset()

func (*QueryVestingTypeRequest) Size

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

func (*QueryVestingTypeRequest) String

func (m *QueryVestingTypeRequest) String() string

func (*QueryVestingTypeRequest) Unmarshal

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

func (*QueryVestingTypeRequest) XXX_DiscardUnknown

func (m *QueryVestingTypeRequest) XXX_DiscardUnknown()

func (*QueryVestingTypeRequest) XXX_Marshal

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

func (*QueryVestingTypeRequest) XXX_Merge

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

func (*QueryVestingTypeRequest) XXX_Size

func (m *QueryVestingTypeRequest) XXX_Size() int

func (*QueryVestingTypeRequest) XXX_Unmarshal

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

type QueryVestingTypeResponse

type QueryVestingTypeResponse struct {
	VestingTypes []GenesisVestingType `protobuf:"bytes,2,rep,name=vesting_types,json=vestingTypes,proto3" json:"vesting_types" yaml:"vesting_types"`
}

func (*QueryVestingTypeResponse) Descriptor

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

func (*QueryVestingTypeResponse) GetVestingTypes

func (m *QueryVestingTypeResponse) GetVestingTypes() []GenesisVestingType

func (*QueryVestingTypeResponse) Marshal

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

func (*QueryVestingTypeResponse) MarshalTo

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

func (*QueryVestingTypeResponse) MarshalToSizedBuffer

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

func (*QueryVestingTypeResponse) ProtoMessage

func (*QueryVestingTypeResponse) ProtoMessage()

func (*QueryVestingTypeResponse) Reset

func (m *QueryVestingTypeResponse) Reset()

func (*QueryVestingTypeResponse) Size

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

func (*QueryVestingTypeResponse) String

func (m *QueryVestingTypeResponse) String() string

func (*QueryVestingTypeResponse) Unmarshal

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

func (*QueryVestingTypeResponse) XXX_DiscardUnknown

func (m *QueryVestingTypeResponse) XXX_DiscardUnknown()

func (*QueryVestingTypeResponse) XXX_Marshal

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

func (*QueryVestingTypeResponse) XXX_Merge

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

func (*QueryVestingTypeResponse) XXX_Size

func (m *QueryVestingTypeResponse) XXX_Size() int

func (*QueryVestingTypeResponse) XXX_Unmarshal

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

type QueryVestingsSummaryRequest added in v1.1.0

type QueryVestingsSummaryRequest struct {
}

func (*QueryVestingsSummaryRequest) Descriptor added in v1.1.0

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

func (*QueryVestingsSummaryRequest) Marshal added in v1.1.0

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

func (*QueryVestingsSummaryRequest) MarshalTo added in v1.1.0

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

func (*QueryVestingsSummaryRequest) MarshalToSizedBuffer added in v1.1.0

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

func (*QueryVestingsSummaryRequest) ProtoMessage added in v1.1.0

func (*QueryVestingsSummaryRequest) ProtoMessage()

func (*QueryVestingsSummaryRequest) Reset added in v1.1.0

func (m *QueryVestingsSummaryRequest) Reset()

func (*QueryVestingsSummaryRequest) Size added in v1.1.0

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

func (*QueryVestingsSummaryRequest) String added in v1.1.0

func (m *QueryVestingsSummaryRequest) String() string

func (*QueryVestingsSummaryRequest) Unmarshal added in v1.1.0

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

func (*QueryVestingsSummaryRequest) XXX_DiscardUnknown added in v1.1.0

func (m *QueryVestingsSummaryRequest) XXX_DiscardUnknown()

func (*QueryVestingsSummaryRequest) XXX_Marshal added in v1.1.0

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

func (*QueryVestingsSummaryRequest) XXX_Merge added in v1.1.0

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

func (*QueryVestingsSummaryRequest) XXX_Size added in v1.1.0

func (m *QueryVestingsSummaryRequest) XXX_Size() int

func (*QueryVestingsSummaryRequest) XXX_Unmarshal added in v1.1.0

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

type QueryVestingsSummaryResponse added in v1.1.0

type QueryVestingsSummaryResponse struct {
	VestingAllAmount        github_com_cosmos_cosmos_sdk_types.Int `` /* 151-byte string literal not displayed */
	VestingInPoolsAmount    github_com_cosmos_cosmos_sdk_types.Int `` /* 165-byte string literal not displayed */
	VestingInAccountsAmount github_com_cosmos_cosmos_sdk_types.Int `` /* 174-byte string literal not displayed */
	DelegatedVestingAmount  github_com_cosmos_cosmos_sdk_types.Int `` /* 169-byte string literal not displayed */
}

func (*QueryVestingsSummaryResponse) Descriptor added in v1.1.0

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

func (*QueryVestingsSummaryResponse) Marshal added in v1.1.0

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

func (*QueryVestingsSummaryResponse) MarshalTo added in v1.1.0

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

func (*QueryVestingsSummaryResponse) MarshalToSizedBuffer added in v1.1.0

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

func (*QueryVestingsSummaryResponse) ProtoMessage added in v1.1.0

func (*QueryVestingsSummaryResponse) ProtoMessage()

func (*QueryVestingsSummaryResponse) Reset added in v1.1.0

func (m *QueryVestingsSummaryResponse) Reset()

func (*QueryVestingsSummaryResponse) Size added in v1.1.0

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

func (*QueryVestingsSummaryResponse) String added in v1.1.0

func (*QueryVestingsSummaryResponse) Unmarshal added in v1.1.0

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

func (*QueryVestingsSummaryResponse) XXX_DiscardUnknown added in v1.1.0

func (m *QueryVestingsSummaryResponse) XXX_DiscardUnknown()

func (*QueryVestingsSummaryResponse) XXX_Marshal added in v1.1.0

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

func (*QueryVestingsSummaryResponse) XXX_Merge added in v1.1.0

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

func (*QueryVestingsSummaryResponse) XXX_Size added in v1.1.0

func (m *QueryVestingsSummaryResponse) XXX_Size() int

func (*QueryVestingsSummaryResponse) XXX_Unmarshal added in v1.1.0

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

type StakingKeeper

type StakingKeeper interface {
	BondDenom(ctx sdk.Context) (res string)
	GetValidator(ctx sdk.Context, addr sdk.ValAddress) (validator stakingtypes.Validator, found bool)
	Delegate(
		ctx sdk.Context, delAddr sdk.AccAddress, bondAmt math.Int, tokenSrc stakingtypes.BondStatus,
		validator stakingtypes.Validator, subtractAccount bool,
	) (newShares sdk.Dec, err error)
}

StakingKeeper defines the expected interface needed for staking functionality.

type UnimplementedMsgServer

type UnimplementedMsgServer struct {
}

UnimplementedMsgServer can be embedded to have forward compatible implementations.

func (*UnimplementedMsgServer) CreateVestingAccount

func (*UnimplementedMsgServer) CreateVestingPool

func (*UnimplementedMsgServer) MoveAvailableVesting added in v1.2.0

func (*UnimplementedMsgServer) MoveAvailableVestingByDenoms added in v1.2.0

func (*UnimplementedMsgServer) SendToVestingAccount

func (*UnimplementedMsgServer) SplitVesting added in v1.2.0

func (*UnimplementedMsgServer) UpdateDenomParam added in v1.2.0

func (*UnimplementedMsgServer) WithdrawAllAvailable

type UnimplementedQueryServer

type UnimplementedQueryServer struct {
}

UnimplementedQueryServer can be embedded to have forward compatible implementations.

func (*UnimplementedQueryServer) GenesisVestingsSummary added in v1.2.0

func (*UnimplementedQueryServer) Params

func (*UnimplementedQueryServer) VestingPools

func (*UnimplementedQueryServer) VestingType

func (*UnimplementedQueryServer) VestingsSummary added in v1.1.0

type VestingAccountTrace added in v1.2.0

type VestingAccountTrace struct {
	Id                 uint64   `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"`
	Address            string   `protobuf:"bytes,2,opt,name=address,proto3" json:"address,omitempty"`
	PeriodsToTrace     []uint64 `protobuf:"varint,3,rep,packed,name=periods_to_trace,json=periodsToTrace,proto3" json:"periods_to_trace,omitempty"`
	Genesis            bool     `protobuf:"varint,4,opt,name=genesis,proto3" json:"genesis,omitempty"`
	FromGenesisPool    bool     `protobuf:"varint,5,opt,name=from_genesis_pool,json=fromGenesisPool,proto3" json:"from_genesis_pool,omitempty"`
	FromGenesisAccount bool     `protobuf:"varint,6,opt,name=from_genesis_account,json=fromGenesisAccount,proto3" json:"from_genesis_account,omitempty"`
}

func (*VestingAccountTrace) Descriptor added in v1.2.0

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

func (*VestingAccountTrace) GetAddress added in v1.2.0

func (m *VestingAccountTrace) GetAddress() string

func (*VestingAccountTrace) GetFromGenesisAccount added in v1.2.0

func (m *VestingAccountTrace) GetFromGenesisAccount() bool

func (*VestingAccountTrace) GetFromGenesisPool added in v1.2.0

func (m *VestingAccountTrace) GetFromGenesisPool() bool

func (*VestingAccountTrace) GetGenesis added in v1.2.0

func (m *VestingAccountTrace) GetGenesis() bool

func (*VestingAccountTrace) GetId added in v1.2.0

func (m *VestingAccountTrace) GetId() uint64

func (*VestingAccountTrace) GetPeriodsToTrace added in v1.3.0

func (m *VestingAccountTrace) GetPeriodsToTrace() []uint64

func (VestingAccountTrace) IsGenesisOrFromGenesis added in v1.2.0

func (v VestingAccountTrace) IsGenesisOrFromGenesis() bool

func (*VestingAccountTrace) Marshal added in v1.2.0

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

func (*VestingAccountTrace) MarshalTo added in v1.2.0

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

func (*VestingAccountTrace) MarshalToSizedBuffer added in v1.2.0

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

func (*VestingAccountTrace) ProtoMessage added in v1.2.0

func (*VestingAccountTrace) ProtoMessage()

func (*VestingAccountTrace) Reset added in v1.2.0

func (m *VestingAccountTrace) Reset()

func (*VestingAccountTrace) Size added in v1.2.0

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

func (*VestingAccountTrace) String added in v1.2.0

func (m *VestingAccountTrace) String() string

func (*VestingAccountTrace) Unmarshal added in v1.2.0

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

func (VestingAccountTrace) Validate added in v1.2.0

func (v VestingAccountTrace) Validate() error

func (*VestingAccountTrace) XXX_DiscardUnknown added in v1.2.0

func (m *VestingAccountTrace) XXX_DiscardUnknown()

func (*VestingAccountTrace) XXX_Marshal added in v1.2.0

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

func (*VestingAccountTrace) XXX_Merge added in v1.2.0

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

func (*VestingAccountTrace) XXX_Size added in v1.2.0

func (m *VestingAccountTrace) XXX_Size() int

func (*VestingAccountTrace) XXX_Unmarshal added in v1.2.0

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

type VestingPool

type VestingPool struct {
	Name            string                                 `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	VestingType     string                                 `protobuf:"bytes,2,opt,name=vesting_type,json=vestingType,proto3" json:"vesting_type,omitempty"`
	LockStart       time.Time                              `protobuf:"bytes,3,opt,name=lock_start,json=lockStart,proto3,stdtime" json:"lock_start"`
	LockEnd         time.Time                              `protobuf:"bytes,4,opt,name=lock_end,json=lockEnd,proto3,stdtime" json:"lock_end"`
	InitiallyLocked github_com_cosmos_cosmos_sdk_types.Int `` /* 146-byte string literal not displayed */
	Withdrawn       github_com_cosmos_cosmos_sdk_types.Int `protobuf:"bytes,6,opt,name=withdrawn,proto3,customtype=github.com/cosmos/cosmos-sdk/types.Int" json:"withdrawn"`
	Sent            github_com_cosmos_cosmos_sdk_types.Int `protobuf:"bytes,7,opt,name=sent,proto3,customtype=github.com/cosmos/cosmos-sdk/types.Int" json:"sent"`
	GenesisPool     bool                                   `protobuf:"varint,8,opt,name=genesis_pool,json=genesisPool,proto3" json:"genesis_pool,omitempty"`
	Reservations    []*VestingPoolReservation              `protobuf:"bytes,9,rep,name=reservations,proto3" json:"reservations,omitempty"`
}

func (*VestingPool) AddReservation added in v1.3.0

func (pool *VestingPool) AddReservation(reservationId uint64, amount math.Int)

func (*VestingPool) DecrementReservedAndSent added in v1.3.0

func (pool *VestingPool) DecrementReservedAndSent(reservationId uint64, amount math.Int) error

func (*VestingPool) Descriptor

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

func (*VestingPool) GetAllReserved added in v1.3.0

func (pool *VestingPool) GetAllReserved() math.Int

func (*VestingPool) GetCurrentlyLocked added in v1.1.0

func (pool *VestingPool) GetCurrentlyLocked() math.Int

func (*VestingPool) GetGenesisPool added in v1.2.0

func (m *VestingPool) GetGenesisPool() bool

func (*VestingPool) GetLockEnd

func (m *VestingPool) GetLockEnd() time.Time

func (*VestingPool) GetLockStart

func (m *VestingPool) GetLockStart() time.Time

func (*VestingPool) GetLockedNotReserved added in v1.3.0

func (pool *VestingPool) GetLockedNotReserved() math.Int

func (*VestingPool) GetName

func (m *VestingPool) GetName() string

func (*VestingPool) GetReservation added in v1.3.0

func (pool *VestingPool) GetReservation(reservationId uint64) *VestingPoolReservation

func (*VestingPool) GetReservations added in v1.3.0

func (m *VestingPool) GetReservations() []*VestingPoolReservation

func (*VestingPool) GetReserved added in v1.3.0

func (pool *VestingPool) GetReserved(reservationId uint64) math.Int

func (*VestingPool) GetVestingType

func (m *VestingPool) GetVestingType() string

func (*VestingPool) IncrementSent added in v1.3.0

func (pool *VestingPool) IncrementSent(amount math.Int) error

func (*VestingPool) Marshal

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

func (*VestingPool) MarshalTo

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

func (*VestingPool) MarshalToSizedBuffer

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

func (*VestingPool) ProtoMessage

func (*VestingPool) ProtoMessage()

func (*VestingPool) Reset

func (m *VestingPool) Reset()

func (*VestingPool) Size

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

func (*VestingPool) String

func (m *VestingPool) String() string

func (*VestingPool) SubstractFromReservation added in v1.3.0

func (pool *VestingPool) SubstractFromReservation(reservationId uint64, amount math.Int) error

func (*VestingPool) Unmarshal

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

func (*VestingPool) Validate added in v1.1.0

func (pool *VestingPool) Validate(accountAdd string) error

func (*VestingPool) XXX_DiscardUnknown

func (m *VestingPool) XXX_DiscardUnknown()

func (*VestingPool) XXX_Marshal

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

func (*VestingPool) XXX_Merge

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

func (*VestingPool) XXX_Size

func (m *VestingPool) XXX_Size() int

func (*VestingPool) XXX_Unmarshal

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

type VestingPoolInfo

type VestingPoolInfo struct {
	Name            string                    `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	VestingType     string                    `protobuf:"bytes,2,opt,name=vesting_type,json=vestingType,proto3" json:"vesting_type,omitempty"`
	LockStart       time.Time                 `protobuf:"bytes,3,opt,name=lock_start,json=lockStart,proto3,stdtime" json:"lock_start"`
	LockEnd         time.Time                 `protobuf:"bytes,4,opt,name=lock_end,json=lockEnd,proto3,stdtime" json:"lock_end"`
	Withdrawable    string                    `protobuf:"bytes,5,opt,name=withdrawable,proto3" json:"withdrawable,omitempty"`
	InitiallyLocked *types.Coin               `protobuf:"bytes,6,opt,name=initially_locked,json=initiallyLocked,proto3" json:"initially_locked,omitempty"`
	CurrentlyLocked string                    `protobuf:"bytes,7,opt,name=currently_locked,json=currentlyLocked,proto3" json:"currently_locked,omitempty"`
	SentAmount      string                    `protobuf:"bytes,8,opt,name=sent_amount,json=sentAmount,proto3" json:"sent_amount,omitempty"`
	Reservations    []*VestingPoolReservation `protobuf:"bytes,9,rep,name=reservations,proto3" json:"reservations,omitempty"`
}

func (*VestingPoolInfo) Descriptor

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

func (*VestingPoolInfo) GetCurrentlyLocked added in v1.1.0

func (m *VestingPoolInfo) GetCurrentlyLocked() string

func (*VestingPoolInfo) GetInitiallyLocked added in v1.1.0

func (m *VestingPoolInfo) GetInitiallyLocked() *types.Coin

func (*VestingPoolInfo) GetLockEnd

func (m *VestingPoolInfo) GetLockEnd() time.Time

func (*VestingPoolInfo) GetLockStart

func (m *VestingPoolInfo) GetLockStart() time.Time

func (*VestingPoolInfo) GetName

func (m *VestingPoolInfo) GetName() string

func (*VestingPoolInfo) GetReservations added in v1.3.0

func (m *VestingPoolInfo) GetReservations() []*VestingPoolReservation

func (*VestingPoolInfo) GetSentAmount

func (m *VestingPoolInfo) GetSentAmount() string

func (*VestingPoolInfo) GetVestingType

func (m *VestingPoolInfo) GetVestingType() string

func (*VestingPoolInfo) GetWithdrawable

func (m *VestingPoolInfo) GetWithdrawable() string

func (*VestingPoolInfo) Marshal

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

func (*VestingPoolInfo) MarshalTo

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

func (*VestingPoolInfo) MarshalToSizedBuffer

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

func (*VestingPoolInfo) ProtoMessage

func (*VestingPoolInfo) ProtoMessage()

func (*VestingPoolInfo) Reset

func (m *VestingPoolInfo) Reset()

func (*VestingPoolInfo) Size

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

func (*VestingPoolInfo) String

func (m *VestingPoolInfo) String() string

func (*VestingPoolInfo) Unmarshal

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

func (*VestingPoolInfo) XXX_DiscardUnknown

func (m *VestingPoolInfo) XXX_DiscardUnknown()

func (*VestingPoolInfo) XXX_Marshal

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

func (*VestingPoolInfo) XXX_Merge

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

func (*VestingPoolInfo) XXX_Size

func (m *VestingPoolInfo) XXX_Size() int

func (*VestingPoolInfo) XXX_Unmarshal

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

type VestingPoolReservation added in v1.3.0

type VestingPoolReservation struct {
	Id     uint64                                 `protobuf:"varint,1,opt,name=id,proto3" json:"id,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 (*VestingPoolReservation) Descriptor added in v1.3.0

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

func (*VestingPoolReservation) GetId added in v1.3.0

func (m *VestingPoolReservation) GetId() uint64

func (*VestingPoolReservation) Marshal added in v1.3.0

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

func (*VestingPoolReservation) MarshalTo added in v1.3.0

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

func (*VestingPoolReservation) MarshalToSizedBuffer added in v1.3.0

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

func (*VestingPoolReservation) ProtoMessage added in v1.3.0

func (*VestingPoolReservation) ProtoMessage()

func (*VestingPoolReservation) Reset added in v1.3.0

func (m *VestingPoolReservation) Reset()

func (*VestingPoolReservation) Size added in v1.3.0

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

func (*VestingPoolReservation) String added in v1.3.0

func (m *VestingPoolReservation) String() string

func (*VestingPoolReservation) Unmarshal added in v1.3.0

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

func (*VestingPoolReservation) XXX_DiscardUnknown added in v1.3.0

func (m *VestingPoolReservation) XXX_DiscardUnknown()

func (*VestingPoolReservation) XXX_Marshal added in v1.3.0

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

func (*VestingPoolReservation) XXX_Merge added in v1.3.0

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

func (*VestingPoolReservation) XXX_Size added in v1.3.0

func (m *VestingPoolReservation) XXX_Size() int

func (*VestingPoolReservation) XXX_Unmarshal added in v1.3.0

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

type VestingType

type VestingType struct {
	// vesting type name
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// period of locked coins (minutes) from vesting start
	LockupPeriod time.Duration `protobuf:"bytes,2,opt,name=lockup_period,json=lockupPeriod,proto3,stdduration" json:"lockup_period"`
	// period of vesting coins (minutes) from lockup period end
	VestingPeriod time.Duration `protobuf:"bytes,3,opt,name=vesting_period,json=vestingPeriod,proto3,stdduration" json:"vesting_period"`
	// the percentage of tokens that are released initially
	Free github_com_cosmos_cosmos_sdk_types.Dec `protobuf:"bytes,4,opt,name=free,proto3,customtype=github.com/cosmos/cosmos-sdk/types.Dec" json:"free"`
}

func (*VestingType) Descriptor

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

func (*VestingType) GetLockupPeriod

func (m *VestingType) GetLockupPeriod() time.Duration

func (*VestingType) GetName

func (m *VestingType) GetName() string

func (*VestingType) GetVestingPeriod

func (m *VestingType) GetVestingPeriod() time.Duration

func (*VestingType) Marshal

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

func (*VestingType) MarshalTo

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

func (*VestingType) MarshalToSizedBuffer

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

func (*VestingType) ProtoMessage

func (*VestingType) ProtoMessage()

func (*VestingType) Reset

func (m *VestingType) Reset()

func (*VestingType) Size

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

func (*VestingType) String

func (m *VestingType) String() string

func (*VestingType) Unmarshal

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

func (*VestingType) ValidateVestingFree added in v1.3.0

func (vestingType *VestingType) ValidateVestingFree(free sdk.Dec) error

func (*VestingType) ValidateVestingPeriods added in v1.3.0

func (vestingType *VestingType) ValidateVestingPeriods(lockupPeriod time.Duration, vestingPeriod time.Duration) error

func (*VestingType) XXX_DiscardUnknown

func (m *VestingType) XXX_DiscardUnknown()

func (*VestingType) XXX_Marshal

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

func (*VestingType) XXX_Merge

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

func (*VestingType) XXX_Size

func (m *VestingType) XXX_Size() int

func (*VestingType) XXX_Unmarshal

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

type VestingTypes

type VestingTypes struct {
	VestingTypes []*VestingType `protobuf:"bytes,1,rep,name=vesting_types,json=vestingTypes,proto3" json:"vesting_types,omitempty"`
}

func (*VestingTypes) Descriptor

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

func (*VestingTypes) GetVestingTypes

func (m *VestingTypes) GetVestingTypes() []*VestingType

func (*VestingTypes) Marshal

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

func (*VestingTypes) MarshalTo

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

func (*VestingTypes) MarshalToSizedBuffer

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

func (*VestingTypes) ProtoMessage

func (*VestingTypes) ProtoMessage()

func (*VestingTypes) Reset

func (m *VestingTypes) Reset()

func (*VestingTypes) Size

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

func (*VestingTypes) String

func (m *VestingTypes) String() string

func (*VestingTypes) Unmarshal

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

func (*VestingTypes) XXX_DiscardUnknown

func (m *VestingTypes) XXX_DiscardUnknown()

func (*VestingTypes) XXX_Marshal

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

func (*VestingTypes) XXX_Merge

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

func (*VestingTypes) XXX_Size

func (m *VestingTypes) XXX_Size() int

func (*VestingTypes) XXX_Unmarshal

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

Jump to

Keyboard shortcuts

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