types

package
v2.0.0-rc6 Latest Latest
Warning

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

Go to latest
Published: Jun 27, 2023 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

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

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

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

func ValidateCreateVestingAccount

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

func ValidateCreateVestingPool

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

func ValidateMsgMoveAvailableVesting

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

func ValidateMsgMoveAvailableVestingByDenom

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

func ValidateMsgSplitVesting

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

func ValidateSendToVestingAccount

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

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

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

func (*AccountVestingPools) GetOwner

func (m *AccountVestingPools) GetOwner() string

func (*AccountVestingPools) GetVestingPools

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

func (*AccountVestingPools) Marshal

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

func (*AccountVestingPools) MarshalTo

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

func (*AccountVestingPools) MarshalToSizedBuffer

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

func (*AccountVestingPools) ProtoMessage

func (*AccountVestingPools) ProtoMessage()

func (*AccountVestingPools) Reset

func (m *AccountVestingPools) Reset()

func (*AccountVestingPools) Size

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

func (*AccountVestingPools) String

func (m *AccountVestingPools) String() string

func (*AccountVestingPools) Unmarshal

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

func (AccountVestingPools) Validate

func (av AccountVestingPools) Validate() error

func (AccountVestingPools) ValidateAgainstVestingTypes

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

func (*AccountVestingPools) XXX_DiscardUnknown

func (m *AccountVestingPools) XXX_DiscardUnknown()

func (*AccountVestingPools) XXX_Marshal

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

func (*AccountVestingPools) XXX_Merge

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

func (*AccountVestingPools) XXX_Size

func (m *AccountVestingPools) XXX_Size() int

func (*AccountVestingPools) XXX_Unmarshal

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

type AccountVestingPoolsList

type AccountVestingPoolsList []AccountVestingPools

func (AccountVestingPoolsList) GetGenesisAmount

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

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

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

func (*ContinuousVestingPeriod) GetAmount

func (*ContinuousVestingPeriod) GetEndTime

func (m *ContinuousVestingPeriod) GetEndTime() int64

func (*ContinuousVestingPeriod) GetStartTime

func (m *ContinuousVestingPeriod) GetStartTime() int64

func (ContinuousVestingPeriod) GetVestedCoins

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

func (*ContinuousVestingPeriod) Marshal

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

func (*ContinuousVestingPeriod) MarshalTo

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

func (*ContinuousVestingPeriod) MarshalToSizedBuffer

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

func (ContinuousVestingPeriod) MarshalYAML

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

func (*ContinuousVestingPeriod) ProtoMessage

func (*ContinuousVestingPeriod) ProtoMessage()

func (*ContinuousVestingPeriod) Reset

func (m *ContinuousVestingPeriod) Reset()

func (*ContinuousVestingPeriod) Size

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

func (ContinuousVestingPeriod) String

func (cvp ContinuousVestingPeriod) String() string

func (*ContinuousVestingPeriod) Unmarshal

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

func (*ContinuousVestingPeriod) Validate

func (cva *ContinuousVestingPeriod) Validate() error

Validate checks for errors on the account fields

func (*ContinuousVestingPeriod) XXX_DiscardUnknown

func (m *ContinuousVestingPeriod) XXX_DiscardUnknown()

func (*ContinuousVestingPeriod) XXX_Marshal

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

func (*ContinuousVestingPeriod) XXX_Merge

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

func (*ContinuousVestingPeriod) XXX_Size

func (m *ContinuousVestingPeriod) XXX_Size() int

func (*ContinuousVestingPeriod) XXX_Unmarshal

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

type ContinuousVestingPeriods

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

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

func (*EventNewVestingAccount) Descriptor

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

func (*EventNewVestingAccount) GetAddress

func (m *EventNewVestingAccount) GetAddress() string

func (*EventNewVestingAccount) Marshal

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

func (*EventNewVestingAccount) MarshalTo

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

func (*EventNewVestingAccount) MarshalToSizedBuffer

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

func (*EventNewVestingAccount) ProtoMessage

func (*EventNewVestingAccount) ProtoMessage()

func (*EventNewVestingAccount) Reset

func (m *EventNewVestingAccount) Reset()

func (*EventNewVestingAccount) Size

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

func (*EventNewVestingAccount) String

func (m *EventNewVestingAccount) String() string

func (*EventNewVestingAccount) Unmarshal

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

func (*EventNewVestingAccount) XXX_DiscardUnknown

func (m *EventNewVestingAccount) XXX_DiscardUnknown()

func (*EventNewVestingAccount) XXX_Marshal

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

func (*EventNewVestingAccount) XXX_Merge

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

func (*EventNewVestingAccount) XXX_Size

func (m *EventNewVestingAccount) XXX_Size() int

func (*EventNewVestingAccount) XXX_Unmarshal

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

type EventNewVestingPeriodFromVestingPool

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

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

func (*EventNewVestingPeriodFromVestingPool) GetAddress

func (*EventNewVestingPeriodFromVestingPool) GetAmount

func (*EventNewVestingPeriodFromVestingPool) GetOwner

func (*EventNewVestingPeriodFromVestingPool) GetPeriodId

func (*EventNewVestingPeriodFromVestingPool) GetRestartVesting

func (m *EventNewVestingPeriodFromVestingPool) GetRestartVesting() string

func (*EventNewVestingPeriodFromVestingPool) GetVestingPoolName

func (m *EventNewVestingPeriodFromVestingPool) GetVestingPoolName() string

func (*EventNewVestingPeriodFromVestingPool) Marshal

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

func (*EventNewVestingPeriodFromVestingPool) MarshalTo

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

func (*EventNewVestingPeriodFromVestingPool) MarshalToSizedBuffer

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

func (*EventNewVestingPeriodFromVestingPool) ProtoMessage

func (*EventNewVestingPeriodFromVestingPool) ProtoMessage()

func (*EventNewVestingPeriodFromVestingPool) Reset

func (*EventNewVestingPeriodFromVestingPool) Size

func (*EventNewVestingPeriodFromVestingPool) String

func (*EventNewVestingPeriodFromVestingPool) Unmarshal

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

func (*EventNewVestingPeriodFromVestingPool) XXX_DiscardUnknown

func (m *EventNewVestingPeriodFromVestingPool) XXX_DiscardUnknown()

func (*EventNewVestingPeriodFromVestingPool) XXX_Marshal

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

func (*EventNewVestingPeriodFromVestingPool) XXX_Merge

func (*EventNewVestingPeriodFromVestingPool) XXX_Size

func (*EventNewVestingPeriodFromVestingPool) XXX_Unmarshal

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

type EventNewVestingPool

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

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

func (*EventNewVestingPool) GetAmount

func (m *EventNewVestingPool) GetAmount() string

func (*EventNewVestingPool) GetDuration

func (m *EventNewVestingPool) GetDuration() string

func (*EventNewVestingPool) GetName

func (m *EventNewVestingPool) GetName() string

func (*EventNewVestingPool) GetOwner

func (m *EventNewVestingPool) GetOwner() string

func (*EventNewVestingPool) GetVestingType

func (m *EventNewVestingPool) GetVestingType() string

func (*EventNewVestingPool) Marshal

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

func (*EventNewVestingPool) MarshalTo

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

func (*EventNewVestingPool) MarshalToSizedBuffer

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

func (*EventNewVestingPool) ProtoMessage

func (*EventNewVestingPool) ProtoMessage()

func (*EventNewVestingPool) Reset

func (m *EventNewVestingPool) Reset()

func (*EventNewVestingPool) Size

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

func (*EventNewVestingPool) String

func (m *EventNewVestingPool) String() string

func (*EventNewVestingPool) Unmarshal

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

func (*EventNewVestingPool) XXX_DiscardUnknown

func (m *EventNewVestingPool) XXX_DiscardUnknown()

func (*EventNewVestingPool) XXX_Marshal

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

func (*EventNewVestingPool) XXX_Merge

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

func (*EventNewVestingPool) XXX_Size

func (m *EventNewVestingPool) XXX_Size() int

func (*EventNewVestingPool) XXX_Unmarshal

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

type EventVestingSplit

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

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

func (*EventVestingSplit) GetDestination

func (m *EventVestingSplit) GetDestination() string

func (*EventVestingSplit) GetSource

func (m *EventVestingSplit) GetSource() string

func (*EventVestingSplit) Marshal

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

func (*EventVestingSplit) MarshalTo

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

func (*EventVestingSplit) MarshalToSizedBuffer

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

func (*EventVestingSplit) ProtoMessage

func (*EventVestingSplit) ProtoMessage()

func (*EventVestingSplit) Reset

func (m *EventVestingSplit) Reset()

func (*EventVestingSplit) Size

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

func (*EventVestingSplit) String

func (m *EventVestingSplit) String() string

func (*EventVestingSplit) Unmarshal

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

func (*EventVestingSplit) XXX_DiscardUnknown

func (m *EventVestingSplit) XXX_DiscardUnknown()

func (*EventVestingSplit) XXX_Marshal

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

func (*EventVestingSplit) XXX_Merge

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

func (*EventVestingSplit) XXX_Size

func (m *EventVestingSplit) XXX_Size() int

func (*EventVestingSplit) XXX_Unmarshal

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

type EventWithdrawAvailable

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

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

func (*EventWithdrawAvailable) GetAmount

func (m *EventWithdrawAvailable) GetAmount() string

func (*EventWithdrawAvailable) GetOwner

func (m *EventWithdrawAvailable) GetOwner() string

func (*EventWithdrawAvailable) GetVestingPoolName

func (m *EventWithdrawAvailable) GetVestingPoolName() string

func (*EventWithdrawAvailable) Marshal

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

func (*EventWithdrawAvailable) MarshalTo

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

func (*EventWithdrawAvailable) MarshalToSizedBuffer

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

func (*EventWithdrawAvailable) ProtoMessage

func (*EventWithdrawAvailable) ProtoMessage()

func (*EventWithdrawAvailable) Reset

func (m *EventWithdrawAvailable) Reset()

func (*EventWithdrawAvailable) Size

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

func (*EventWithdrawAvailable) String

func (m *EventWithdrawAvailable) String() string

func (*EventWithdrawAvailable) Unmarshal

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

func (*EventWithdrawAvailable) XXX_DiscardUnknown

func (m *EventWithdrawAvailable) XXX_DiscardUnknown()

func (*EventWithdrawAvailable) XXX_Marshal

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

func (*EventWithdrawAvailable) XXX_Merge

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

func (*EventWithdrawAvailable) XXX_Size

func (m *EventWithdrawAvailable) XXX_Size() int

func (*EventWithdrawAvailable) XXX_Unmarshal

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

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

func (*GenesisState) GetParams

func (m *GenesisState) GetParams() Params

func (*GenesisState) GetVestingAccountTraceCount

func (m *GenesisState) GetVestingAccountTraceCount() uint64

func (*GenesisState) GetVestingAccountTraces

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

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

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

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

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

func NewMsgMoveAvailableVesting(fromAddress string, toAddress string) *MsgMoveAvailableVesting

func (*MsgMoveAvailableVesting) Descriptor

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

func (*MsgMoveAvailableVesting) GetFromAddress

func (m *MsgMoveAvailableVesting) GetFromAddress() string

func (*MsgMoveAvailableVesting) GetSignBytes

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

func (*MsgMoveAvailableVesting) GetSigners

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

func (*MsgMoveAvailableVesting) GetToAddress

func (m *MsgMoveAvailableVesting) GetToAddress() string

func (*MsgMoveAvailableVesting) Marshal

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

func (*MsgMoveAvailableVesting) MarshalTo

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

func (*MsgMoveAvailableVesting) MarshalToSizedBuffer

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

func (*MsgMoveAvailableVesting) ProtoMessage

func (*MsgMoveAvailableVesting) ProtoMessage()

func (*MsgMoveAvailableVesting) Reset

func (m *MsgMoveAvailableVesting) Reset()

func (*MsgMoveAvailableVesting) Route

func (msg *MsgMoveAvailableVesting) Route() string

func (*MsgMoveAvailableVesting) Size

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

func (*MsgMoveAvailableVesting) String

func (m *MsgMoveAvailableVesting) String() string

func (*MsgMoveAvailableVesting) Type

func (msg *MsgMoveAvailableVesting) Type() string

func (*MsgMoveAvailableVesting) Unmarshal

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

func (*MsgMoveAvailableVesting) ValidateBasic

func (msg *MsgMoveAvailableVesting) ValidateBasic() error

func (*MsgMoveAvailableVesting) XXX_DiscardUnknown

func (m *MsgMoveAvailableVesting) XXX_DiscardUnknown()

func (*MsgMoveAvailableVesting) XXX_Marshal

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

func (*MsgMoveAvailableVesting) XXX_Merge

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

func (*MsgMoveAvailableVesting) XXX_Size

func (m *MsgMoveAvailableVesting) XXX_Size() int

func (*MsgMoveAvailableVesting) XXX_Unmarshal

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

type MsgMoveAvailableVestingByDenoms

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

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

func (*MsgMoveAvailableVestingByDenoms) Descriptor

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

func (*MsgMoveAvailableVestingByDenoms) GetDenoms

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

func (*MsgMoveAvailableVestingByDenoms) GetFromAddress

func (m *MsgMoveAvailableVestingByDenoms) GetFromAddress() string

func (*MsgMoveAvailableVestingByDenoms) GetSignBytes

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

func (*MsgMoveAvailableVestingByDenoms) GetSigners

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

func (*MsgMoveAvailableVestingByDenoms) GetToAddress

func (m *MsgMoveAvailableVestingByDenoms) GetToAddress() string

func (*MsgMoveAvailableVestingByDenoms) Marshal

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

func (*MsgMoveAvailableVestingByDenoms) MarshalTo

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

func (*MsgMoveAvailableVestingByDenoms) MarshalToSizedBuffer

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

func (*MsgMoveAvailableVestingByDenoms) ProtoMessage

func (*MsgMoveAvailableVestingByDenoms) ProtoMessage()

func (*MsgMoveAvailableVestingByDenoms) Reset

func (*MsgMoveAvailableVestingByDenoms) Route

func (*MsgMoveAvailableVestingByDenoms) Size

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

func (*MsgMoveAvailableVestingByDenoms) String

func (*MsgMoveAvailableVestingByDenoms) Type

func (*MsgMoveAvailableVestingByDenoms) Unmarshal

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

func (*MsgMoveAvailableVestingByDenoms) ValidateBasic

func (msg *MsgMoveAvailableVestingByDenoms) ValidateBasic() error

func (*MsgMoveAvailableVestingByDenoms) XXX_DiscardUnknown

func (m *MsgMoveAvailableVestingByDenoms) XXX_DiscardUnknown()

func (*MsgMoveAvailableVestingByDenoms) XXX_Marshal

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

func (*MsgMoveAvailableVestingByDenoms) XXX_Merge

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

func (*MsgMoveAvailableVestingByDenoms) XXX_Size

func (m *MsgMoveAvailableVestingByDenoms) XXX_Size() int

func (*MsgMoveAvailableVestingByDenoms) XXX_Unmarshal

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

type MsgMoveAvailableVestingByDenomsResponse

type MsgMoveAvailableVestingByDenomsResponse struct {
}

func (*MsgMoveAvailableVestingByDenomsResponse) Descriptor

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

func (*MsgMoveAvailableVestingByDenomsResponse) Marshal

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

func (*MsgMoveAvailableVestingByDenomsResponse) MarshalTo

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

func (*MsgMoveAvailableVestingByDenomsResponse) MarshalToSizedBuffer

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

func (*MsgMoveAvailableVestingByDenomsResponse) ProtoMessage

func (*MsgMoveAvailableVestingByDenomsResponse) Reset

func (*MsgMoveAvailableVestingByDenomsResponse) Size

func (*MsgMoveAvailableVestingByDenomsResponse) String

func (*MsgMoveAvailableVestingByDenomsResponse) Unmarshal

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

func (*MsgMoveAvailableVestingByDenomsResponse) XXX_DiscardUnknown

func (m *MsgMoveAvailableVestingByDenomsResponse) XXX_DiscardUnknown()

func (*MsgMoveAvailableVestingByDenomsResponse) XXX_Marshal

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

func (*MsgMoveAvailableVestingByDenomsResponse) XXX_Merge

func (*MsgMoveAvailableVestingByDenomsResponse) XXX_Size

func (*MsgMoveAvailableVestingByDenomsResponse) XXX_Unmarshal

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

type MsgMoveAvailableVestingResponse

type MsgMoveAvailableVestingResponse struct {
}

func (*MsgMoveAvailableVestingResponse) Descriptor

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

func (*MsgMoveAvailableVestingResponse) Marshal

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

func (*MsgMoveAvailableVestingResponse) MarshalTo

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

func (*MsgMoveAvailableVestingResponse) MarshalToSizedBuffer

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

func (*MsgMoveAvailableVestingResponse) ProtoMessage

func (*MsgMoveAvailableVestingResponse) ProtoMessage()

func (*MsgMoveAvailableVestingResponse) Reset

func (*MsgMoveAvailableVestingResponse) Size

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

func (*MsgMoveAvailableVestingResponse) String

func (*MsgMoveAvailableVestingResponse) Unmarshal

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

func (*MsgMoveAvailableVestingResponse) XXX_DiscardUnknown

func (m *MsgMoveAvailableVestingResponse) XXX_DiscardUnknown()

func (*MsgMoveAvailableVestingResponse) XXX_Marshal

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

func (*MsgMoveAvailableVestingResponse) XXX_Merge

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

func (*MsgMoveAvailableVestingResponse) XXX_Size

func (m *MsgMoveAvailableVestingResponse) XXX_Size() int

func (*MsgMoveAvailableVestingResponse) XXX_Unmarshal

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

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

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

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

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

func (*MsgSplitVesting) Descriptor

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

func (*MsgSplitVesting) GetAmount

func (*MsgSplitVesting) GetFromAddress

func (m *MsgSplitVesting) GetFromAddress() string

func (*MsgSplitVesting) GetSignBytes

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

func (*MsgSplitVesting) GetSigners

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

func (*MsgSplitVesting) GetToAddress

func (m *MsgSplitVesting) GetToAddress() string

func (*MsgSplitVesting) Marshal

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

func (*MsgSplitVesting) MarshalTo

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

func (*MsgSplitVesting) MarshalToSizedBuffer

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

func (*MsgSplitVesting) ProtoMessage

func (*MsgSplitVesting) ProtoMessage()

func (*MsgSplitVesting) Reset

func (m *MsgSplitVesting) Reset()

func (*MsgSplitVesting) Route

func (msg *MsgSplitVesting) Route() string

func (*MsgSplitVesting) Size

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

func (*MsgSplitVesting) String

func (m *MsgSplitVesting) String() string

func (*MsgSplitVesting) Type

func (msg *MsgSplitVesting) Type() string

func (*MsgSplitVesting) Unmarshal

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

func (*MsgSplitVesting) ValidateBasic

func (msg *MsgSplitVesting) ValidateBasic() error

func (*MsgSplitVesting) XXX_DiscardUnknown

func (m *MsgSplitVesting) XXX_DiscardUnknown()

func (*MsgSplitVesting) XXX_Marshal

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

func (*MsgSplitVesting) XXX_Merge

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

func (*MsgSplitVesting) XXX_Size

func (m *MsgSplitVesting) XXX_Size() int

func (*MsgSplitVesting) XXX_Unmarshal

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

type MsgSplitVestingResponse

type MsgSplitVestingResponse struct {
}

func (*MsgSplitVestingResponse) Descriptor

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

func (*MsgSplitVestingResponse) Marshal

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

func (*MsgSplitVestingResponse) MarshalTo

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

func (*MsgSplitVestingResponse) MarshalToSizedBuffer

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

func (*MsgSplitVestingResponse) ProtoMessage

func (*MsgSplitVestingResponse) ProtoMessage()

func (*MsgSplitVestingResponse) Reset

func (m *MsgSplitVestingResponse) Reset()

func (*MsgSplitVestingResponse) Size

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

func (*MsgSplitVestingResponse) String

func (m *MsgSplitVestingResponse) String() string

func (*MsgSplitVestingResponse) Unmarshal

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

func (*MsgSplitVestingResponse) XXX_DiscardUnknown

func (m *MsgSplitVestingResponse) XXX_DiscardUnknown()

func (*MsgSplitVestingResponse) XXX_Marshal

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

func (*MsgSplitVestingResponse) XXX_Merge

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

func (*MsgSplitVestingResponse) XXX_Size

func (m *MsgSplitVestingResponse) XXX_Size() int

func (*MsgSplitVestingResponse) XXX_Unmarshal

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

type MsgUpdateDenomParam

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

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

func (*MsgUpdateDenomParam) GetAuthority

func (m *MsgUpdateDenomParam) GetAuthority() string

func (*MsgUpdateDenomParam) GetDenom

func (m *MsgUpdateDenomParam) GetDenom() string

func (*MsgUpdateDenomParam) GetSignBytes

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

func (*MsgUpdateDenomParam) GetSigners

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

func (*MsgUpdateDenomParam) Marshal

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

func (*MsgUpdateDenomParam) MarshalTo

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

func (*MsgUpdateDenomParam) MarshalToSizedBuffer

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

func (*MsgUpdateDenomParam) ProtoMessage

func (*MsgUpdateDenomParam) ProtoMessage()

func (*MsgUpdateDenomParam) Reset

func (m *MsgUpdateDenomParam) Reset()

func (*MsgUpdateDenomParam) Route

func (msg *MsgUpdateDenomParam) Route() string

func (*MsgUpdateDenomParam) Size

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

func (*MsgUpdateDenomParam) String

func (m *MsgUpdateDenomParam) String() string

func (*MsgUpdateDenomParam) Type

func (msg *MsgUpdateDenomParam) Type() string

func (*MsgUpdateDenomParam) Unmarshal

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

func (*MsgUpdateDenomParam) ValidateBasic

func (msg *MsgUpdateDenomParam) ValidateBasic() error

func (*MsgUpdateDenomParam) XXX_DiscardUnknown

func (m *MsgUpdateDenomParam) XXX_DiscardUnknown()

func (*MsgUpdateDenomParam) XXX_Marshal

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

func (*MsgUpdateDenomParam) XXX_Merge

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

func (*MsgUpdateDenomParam) XXX_Size

func (m *MsgUpdateDenomParam) XXX_Size() int

func (*MsgUpdateDenomParam) XXX_Unmarshal

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

type MsgUpdateDenomParamResponse

type MsgUpdateDenomParamResponse struct {
}

func (*MsgUpdateDenomParamResponse) Descriptor

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

func (*MsgUpdateDenomParamResponse) Marshal

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

func (*MsgUpdateDenomParamResponse) MarshalTo

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

func (*MsgUpdateDenomParamResponse) MarshalToSizedBuffer

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

func (*MsgUpdateDenomParamResponse) ProtoMessage

func (*MsgUpdateDenomParamResponse) ProtoMessage()

func (*MsgUpdateDenomParamResponse) Reset

func (m *MsgUpdateDenomParamResponse) Reset()

func (*MsgUpdateDenomParamResponse) Size

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

func (*MsgUpdateDenomParamResponse) String

func (m *MsgUpdateDenomParamResponse) String() string

func (*MsgUpdateDenomParamResponse) Unmarshal

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

func (*MsgUpdateDenomParamResponse) XXX_DiscardUnknown

func (m *MsgUpdateDenomParamResponse) XXX_DiscardUnknown()

func (*MsgUpdateDenomParamResponse) XXX_Marshal

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

func (*MsgUpdateDenomParamResponse) XXX_Merge

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

func (*MsgUpdateDenomParamResponse) XXX_Size

func (m *MsgUpdateDenomParamResponse) XXX_Size() int

func (*MsgUpdateDenomParamResponse) XXX_Unmarshal

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

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

type PeriodUnit string

func UnitsFromDuration

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

type PeriodicContinuousVestingAccount

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

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

NewPeriodicContinuousVestingAccount returns a new VestingAccount

func NewPeriodicContinuousVestingAccountRaw

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

NewPeriodicContinuousVestingAccountRaw creates a new VestingAccount object from BaseVestingAccount

func (*PeriodicContinuousVestingAccount) AddNewContinousVestingPeriod

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

func (*PeriodicContinuousVestingAccount) Descriptor

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

func (PeriodicContinuousVestingAccount) GetLockedCoins

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

func (account PeriodicContinuousVestingAccount) GetStartTime() int64

func (PeriodicContinuousVestingAccount) GetVestedCoins

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

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

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

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

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

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

func (*PeriodicContinuousVestingAccount) MarshalTo

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

func (*PeriodicContinuousVestingAccount) MarshalToSizedBuffer

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

func (PeriodicContinuousVestingAccount) MarshalYAML

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

func (*PeriodicContinuousVestingAccount) ProtoMessage

func (*PeriodicContinuousVestingAccount) ProtoMessage()

func (*PeriodicContinuousVestingAccount) Reset

func (*PeriodicContinuousVestingAccount) Size

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

func (PeriodicContinuousVestingAccount) String

func (account PeriodicContinuousVestingAccount) String() string

func (*PeriodicContinuousVestingAccount) TrackDelegation

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

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

func (*PeriodicContinuousVestingAccount) Validate

func (account *PeriodicContinuousVestingAccount) Validate() error

Validate checks for errors on the account fields

func (*PeriodicContinuousVestingAccount) XXX_DiscardUnknown

func (m *PeriodicContinuousVestingAccount) XXX_DiscardUnknown()

func (*PeriodicContinuousVestingAccount) XXX_Marshal

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

func (*PeriodicContinuousVestingAccount) XXX_Merge

func (*PeriodicContinuousVestingAccount) XXX_Size

func (m *PeriodicContinuousVestingAccount) XXX_Size() int

func (*PeriodicContinuousVestingAccount) XXX_Unmarshal

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

type QueryGenesisVestingsSummaryRequest struct {
}

this line is used by starport scaffolding # 3

func (*QueryGenesisVestingsSummaryRequest) Descriptor

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

func (*QueryGenesisVestingsSummaryRequest) Marshal

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

func (*QueryGenesisVestingsSummaryRequest) MarshalTo

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

func (*QueryGenesisVestingsSummaryRequest) MarshalToSizedBuffer

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

func (*QueryGenesisVestingsSummaryRequest) ProtoMessage

func (*QueryGenesisVestingsSummaryRequest) ProtoMessage()

func (*QueryGenesisVestingsSummaryRequest) Reset

func (*QueryGenesisVestingsSummaryRequest) Size

func (*QueryGenesisVestingsSummaryRequest) String

func (*QueryGenesisVestingsSummaryRequest) Unmarshal

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

func (*QueryGenesisVestingsSummaryRequest) XXX_DiscardUnknown

func (m *QueryGenesisVestingsSummaryRequest) XXX_DiscardUnknown()

func (*QueryGenesisVestingsSummaryRequest) XXX_Marshal

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

func (*QueryGenesisVestingsSummaryRequest) XXX_Merge

func (*QueryGenesisVestingsSummaryRequest) XXX_Size

func (*QueryGenesisVestingsSummaryRequest) XXX_Unmarshal

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

type QueryGenesisVestingsSummaryResponse

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

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

func (*QueryGenesisVestingsSummaryResponse) Marshal

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

func (*QueryGenesisVestingsSummaryResponse) MarshalTo

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

func (*QueryGenesisVestingsSummaryResponse) MarshalToSizedBuffer

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

func (*QueryGenesisVestingsSummaryResponse) ProtoMessage

func (*QueryGenesisVestingsSummaryResponse) ProtoMessage()

func (*QueryGenesisVestingsSummaryResponse) Reset

func (*QueryGenesisVestingsSummaryResponse) Size

func (*QueryGenesisVestingsSummaryResponse) String

func (*QueryGenesisVestingsSummaryResponse) Unmarshal

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

func (*QueryGenesisVestingsSummaryResponse) XXX_DiscardUnknown

func (m *QueryGenesisVestingsSummaryResponse) XXX_DiscardUnknown()

func (*QueryGenesisVestingsSummaryResponse) XXX_Marshal

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

func (*QueryGenesisVestingsSummaryResponse) XXX_Merge

func (*QueryGenesisVestingsSummaryResponse) XXX_Size

func (*QueryGenesisVestingsSummaryResponse) XXX_Unmarshal

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

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

type QueryVestingsSummaryRequest struct {
}

func (*QueryVestingsSummaryRequest) Descriptor

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

func (*QueryVestingsSummaryRequest) Marshal

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

func (*QueryVestingsSummaryRequest) MarshalTo

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

func (*QueryVestingsSummaryRequest) MarshalToSizedBuffer

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

func (*QueryVestingsSummaryRequest) ProtoMessage

func (*QueryVestingsSummaryRequest) ProtoMessage()

func (*QueryVestingsSummaryRequest) Reset

func (m *QueryVestingsSummaryRequest) Reset()

func (*QueryVestingsSummaryRequest) Size

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

func (*QueryVestingsSummaryRequest) String

func (m *QueryVestingsSummaryRequest) String() string

func (*QueryVestingsSummaryRequest) Unmarshal

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

func (*QueryVestingsSummaryRequest) XXX_DiscardUnknown

func (m *QueryVestingsSummaryRequest) XXX_DiscardUnknown()

func (*QueryVestingsSummaryRequest) XXX_Marshal

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

func (*QueryVestingsSummaryRequest) XXX_Merge

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

func (*QueryVestingsSummaryRequest) XXX_Size

func (m *QueryVestingsSummaryRequest) XXX_Size() int

func (*QueryVestingsSummaryRequest) XXX_Unmarshal

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

type QueryVestingsSummaryResponse

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

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

func (*QueryVestingsSummaryResponse) Marshal

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

func (*QueryVestingsSummaryResponse) MarshalTo

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

func (*QueryVestingsSummaryResponse) MarshalToSizedBuffer

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

func (*QueryVestingsSummaryResponse) ProtoMessage

func (*QueryVestingsSummaryResponse) ProtoMessage()

func (*QueryVestingsSummaryResponse) Reset

func (m *QueryVestingsSummaryResponse) Reset()

func (*QueryVestingsSummaryResponse) Size

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

func (*QueryVestingsSummaryResponse) String

func (*QueryVestingsSummaryResponse) Unmarshal

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

func (*QueryVestingsSummaryResponse) XXX_DiscardUnknown

func (m *QueryVestingsSummaryResponse) XXX_DiscardUnknown()

func (*QueryVestingsSummaryResponse) XXX_Marshal

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

func (*QueryVestingsSummaryResponse) XXX_Merge

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

func (*QueryVestingsSummaryResponse) XXX_Size

func (m *QueryVestingsSummaryResponse) XXX_Size() int

func (*QueryVestingsSummaryResponse) XXX_Unmarshal

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

func (*UnimplementedMsgServer) SendToVestingAccount

func (*UnimplementedMsgServer) SplitVesting

func (*UnimplementedMsgServer) UpdateDenomParam

func (*UnimplementedMsgServer) WithdrawAllAvailable

type UnimplementedQueryServer

type UnimplementedQueryServer struct {
}

UnimplementedQueryServer can be embedded to have forward compatible implementations.

func (*UnimplementedQueryServer) Params

func (*UnimplementedQueryServer) VestingPools

func (*UnimplementedQueryServer) VestingType

func (*UnimplementedQueryServer) VestingsSummary

type VestingAccountTrace

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

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

func (*VestingAccountTrace) GetAddress

func (m *VestingAccountTrace) GetAddress() string

func (*VestingAccountTrace) GetFromGenesisAccount

func (m *VestingAccountTrace) GetFromGenesisAccount() bool

func (*VestingAccountTrace) GetFromGenesisPool

func (m *VestingAccountTrace) GetFromGenesisPool() bool

func (*VestingAccountTrace) GetGenesis

func (m *VestingAccountTrace) GetGenesis() bool

func (*VestingAccountTrace) GetId

func (m *VestingAccountTrace) GetId() uint64

func (*VestingAccountTrace) GetPeriodsToTrace

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

func (VestingAccountTrace) IsGenesisOrFromGenesis

func (v VestingAccountTrace) IsGenesisOrFromGenesis() bool

func (*VestingAccountTrace) Marshal

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

func (*VestingAccountTrace) MarshalTo

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

func (*VestingAccountTrace) MarshalToSizedBuffer

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

func (*VestingAccountTrace) ProtoMessage

func (*VestingAccountTrace) ProtoMessage()

func (*VestingAccountTrace) Reset

func (m *VestingAccountTrace) Reset()

func (*VestingAccountTrace) Size

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

func (*VestingAccountTrace) String

func (m *VestingAccountTrace) String() string

func (*VestingAccountTrace) Unmarshal

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

func (VestingAccountTrace) Validate

func (v VestingAccountTrace) Validate() error

func (*VestingAccountTrace) XXX_DiscardUnknown

func (m *VestingAccountTrace) XXX_DiscardUnknown()

func (*VestingAccountTrace) XXX_Marshal

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

func (*VestingAccountTrace) XXX_Merge

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

func (*VestingAccountTrace) XXX_Size

func (m *VestingAccountTrace) XXX_Size() int

func (*VestingAccountTrace) XXX_Unmarshal

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

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

func (*VestingPool) DecrementReservedAndSent

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

func (*VestingPool) Descriptor

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

func (*VestingPool) GetAllReserved

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

func (*VestingPool) GetCurrentlyLocked

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

func (*VestingPool) GetGenesisPool

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

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

func (*VestingPool) GetName

func (m *VestingPool) GetName() string

func (*VestingPool) GetReservation

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

func (*VestingPool) GetReservations

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

func (*VestingPool) GetReserved

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

func (*VestingPool) GetVestingType

func (m *VestingPool) GetVestingType() string

func (*VestingPool) IncrementSent

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

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

func (*VestingPool) Unmarshal

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

func (*VestingPool) Validate

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

func (m *VestingPoolInfo) GetCurrentlyLocked() string

func (*VestingPoolInfo) GetInitiallyLocked

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

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

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

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

func (*VestingPoolReservation) GetId

func (m *VestingPoolReservation) GetId() uint64

func (*VestingPoolReservation) Marshal

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

func (*VestingPoolReservation) MarshalTo

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

func (*VestingPoolReservation) MarshalToSizedBuffer

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

func (*VestingPoolReservation) ProtoMessage

func (*VestingPoolReservation) ProtoMessage()

func (*VestingPoolReservation) Reset

func (m *VestingPoolReservation) Reset()

func (*VestingPoolReservation) Size

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

func (*VestingPoolReservation) String

func (m *VestingPoolReservation) String() string

func (*VestingPoolReservation) Unmarshal

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

func (*VestingPoolReservation) XXX_DiscardUnknown

func (m *VestingPoolReservation) XXX_DiscardUnknown()

func (*VestingPoolReservation) XXX_Marshal

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

func (*VestingPoolReservation) XXX_Merge

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

func (*VestingPoolReservation) XXX_Size

func (m *VestingPoolReservation) XXX_Size() int

func (*VestingPoolReservation) XXX_Unmarshal

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

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

func (*VestingType) ValidateVestingPeriods

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