types

package
v1.1.0 Latest Latest
Warning

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

Go to latest
Published: Jan 24, 2023 License: Apache-2.0 Imports: 34 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 (
	VestingAccountKey      = "VestingAccount-value-"
	VestingAccountCountKey = "VestingAccount-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 TypeMsgSendToVestingAccount = "send_to_vesting_account"
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                          = sdkerrors.Register(ModuleName, 2, "wrong amount value")
	ErrAlreadyExists                   = sdkerrors.Register(ModuleName, 3, "entity already exists")
	ErrSendCoins                       = sdkerrors.Register(ModuleName, 4, "failed to send coins")
	ErrIdenticalAccountsAddresses      = sdkerrors.Register(ModuleName, 5, "account addresses cannot be identical")
	ErrGetVestingType                  = sdkerrors.Register(ModuleName, 6, "failed to get vesting type")
	ErrAccountNotAllowedToReceiveFunds = sdkerrors.Register(ModuleName, 7, "account is not allowed to receive")
	ErrInvalidAccountType              = sdkerrors.Register(ModuleName, 8, "invalid account type")
	ErrParsing                         = sdkerrors.Register(ModuleName, 9, "failed to parse")
	ErrParam                           = sdkerrors.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 (
	VestingTypesKeyPrefix = []byte{0x01}

	AccountVestingPoolsKeyPrefix = []byte{0x02}
)
View Source
var (
	KeyDenom            = []byte("Denom")
	DefaultDenom string = "uc4e"
)
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")
)

Functions

func DurationFromUnits added in v1.1.0

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

func KeyPrefix

func KeyPrefix(p string) []byte

func ParamKeyTable

func ParamKeyTable() paramtypes.KeyTable

ParamKeyTable the param key table for launch module

func RegisterCodec

func RegisterCodec(cdc *codec.LegacyAmino)

func RegisterInterfaces

func RegisterInterfaces(registry cdctypes.InterfaceRegistry)

func RegisterMsgServer

func RegisterMsgServer(s grpc1.Server, srv MsgServer)

func RegisterQueryHandler

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

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

func RegisterQueryHandlerClient

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

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

func RegisterQueryHandlerFromEndpoint

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

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

func RegisterQueryHandlerServer

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

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

func RegisterQueryServer

func RegisterQueryServer(s grpc1.Server, srv QueryServer)

Types

type AccountKeeper

type AccountKeeper interface {
	GetAccount(ctx sdk.Context, addr sdk.AccAddress) types.AccountI
	// Methods imported from account should be defined here
	GetModuleAccount(ctx sdk.Context, moduleName string) types.ModuleAccountI
	NewAccount(ctx sdk.Context, acc types.AccountI) types.AccountI
	SetModuleAccount(ctx sdk.Context, macc types.ModuleAccountI)
	NewAccountWithAddress(ctx sdk.Context, addr sdk.AccAddress) types.AccountI
	SetAccount(ctx sdk.Context, acc types.AccountI)
}

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

type AccountVestingPools added in v1.1.0

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

func (*AccountVestingPools) Descriptor added in v1.1.0

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

func (*AccountVestingPools) GetAddress added in v1.1.0

func (m *AccountVestingPools) GetAddress() string

func (*AccountVestingPools) GetVestingPools added in v1.1.0

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

func (*AccountVestingPools) Marshal added in v1.1.0

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

func (*AccountVestingPools) MarshalTo added in v1.1.0

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

func (*AccountVestingPools) MarshalToSizedBuffer added in v1.1.0

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

func (*AccountVestingPools) ProtoMessage added in v1.1.0

func (*AccountVestingPools) ProtoMessage()

func (*AccountVestingPools) Reset added in v1.1.0

func (m *AccountVestingPools) Reset()

func (*AccountVestingPools) Size added in v1.1.0

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

func (*AccountVestingPools) String added in v1.1.0

func (m *AccountVestingPools) String() string

func (*AccountVestingPools) Unmarshal added in v1.1.0

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

func (AccountVestingPools) Validate added in v1.1.0

func (av AccountVestingPools) Validate() error

func (AccountVestingPools) ValidateAgainstVestingTypes added in v1.1.0

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

func (*AccountVestingPools) XXX_DiscardUnknown added in v1.1.0

func (m *AccountVestingPools) XXX_DiscardUnknown()

func (*AccountVestingPools) XXX_Marshal added in v1.1.0

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

func (*AccountVestingPools) XXX_Merge added in v1.1.0

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

func (*AccountVestingPools) XXX_Size added in v1.1.0

func (m *AccountVestingPools) XXX_Size() int

func (*AccountVestingPools) XXX_Unmarshal added in v1.1.0

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

type BankKeeper

type BankKeeper interface {
	SpendableCoins(ctx sdk.Context, addr sdk.AccAddress) sdk.Coins
	// Methods imported from bank should be defined here
	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

	GetBalance(ctx sdk.Context, addr sdk.AccAddress, denom string) sdk.Coin
	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 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 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 */
	VestingAccountList  []VestingAccount       `protobuf:"bytes,4,rep,name=vesting_account_list,json=vestingAccountList,proto3" json:"vesting_account_list"`
	VestingAccountCount uint64                 `protobuf:"varint,5,opt,name=vesting_account_count,json=vestingAccountCount,proto3" json:"vesting_account_count,omitempty"`
}

GenesisState defines the cfevesting module's genesis state.

func DefaultGenesis

func DefaultGenesis() *GenesisState

DefaultGenesis returns the default Capability genesis state

func (*GenesisState) Descriptor

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

func (*GenesisState) GetAccountVestingPools added in v1.1.0

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

func (*GenesisState) GetParams

func (m *GenesisState) GetParams() Params

func (*GenesisState) GetVestingAccountCount

func (m *GenesisState) GetVestingAccountCount() uint64

func (*GenesisState) GetVestingAccountList

func (m *GenesisState) GetVestingAccountList() []VestingAccount

func (*GenesisState) GetVestingTypes

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

func (*GenesisState) Marshal

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

func (*GenesisState) MarshalTo

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

func (*GenesisState) MarshalToSizedBuffer

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

func (*GenesisState) ProtoMessage

func (*GenesisState) ProtoMessage()

func (*GenesisState) Reset

func (m *GenesisState) Reset()

func (*GenesisState) Size

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

func (*GenesisState) String

func (m *GenesisState) String() string

func (*GenesisState) Unmarshal

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

func (GenesisState) Validate

func (gs GenesisState) Validate() error

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

func (*GenesisState) XXX_DiscardUnknown

func (m *GenesisState) XXX_DiscardUnknown()

func (*GenesisState) XXX_Marshal

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

func (*GenesisState) XXX_Merge

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

func (*GenesisState) XXX_Size

func (m *GenesisState) XXX_Size() int

func (*GenesisState) XXX_Unmarshal

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

type GenesisVestingType

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

func ConvertVestingTypesToGenesisVestingTypes added in v1.1.0

func ConvertVestingTypesToGenesisVestingTypes(vestingTypes *VestingTypes) []GenesisVestingType

func (*GenesisVestingType) Descriptor

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

func (*GenesisVestingType) GetLockupPeriod

func (m *GenesisVestingType) GetLockupPeriod() int64

func (*GenesisVestingType) GetLockupPeriodUnit

func (m *GenesisVestingType) GetLockupPeriodUnit() string

func (*GenesisVestingType) GetName

func (m *GenesisVestingType) GetName() string

func (*GenesisVestingType) GetVestingPeriod

func (m *GenesisVestingType) GetVestingPeriod() int64

func (*GenesisVestingType) GetVestingPeriodUnit

func (m *GenesisVestingType) GetVestingPeriodUnit() string

func (*GenesisVestingType) Marshal

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

func (*GenesisVestingType) MarshalTo

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

func (*GenesisVestingType) MarshalToSizedBuffer

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

func (*GenesisVestingType) ProtoMessage

func (*GenesisVestingType) ProtoMessage()

func (*GenesisVestingType) Reset

func (m *GenesisVestingType) Reset()

func (*GenesisVestingType) Size

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

func (*GenesisVestingType) String

func (m *GenesisVestingType) String() string

func (*GenesisVestingType) Unmarshal

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

func (GenesisVestingType) Validate added in v1.1.0

func (gst GenesisVestingType) Validate() error

func (*GenesisVestingType) XXX_DiscardUnknown

func (m *GenesisVestingType) XXX_DiscardUnknown()

func (*GenesisVestingType) XXX_Marshal

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

func (*GenesisVestingType) XXX_Merge

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

func (*GenesisVestingType) XXX_Size

func (m *GenesisVestingType) XXX_Size() int

func (*GenesisVestingType) XXX_Unmarshal

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

type GovKeeper

type GovKeeper interface {
}

GovKeeper defines the expected interface needed for distribution functionality.

type MsgClient

type MsgClient interface {
	CreateVestingPool(ctx context.Context, in *MsgCreateVestingPool, opts ...grpc.CallOption) (*MsgCreateVestingPoolResponse, error)
	WithdrawAllAvailable(ctx context.Context, in *MsgWithdrawAllAvailable, opts ...grpc.CallOption) (*MsgWithdrawAllAvailableResponse, error)
	CreateVestingAccount(ctx context.Context, in *MsgCreateVestingAccount, opts ...grpc.CallOption) (*MsgCreateVestingAccountResponse, error)
	SendToVestingAccount(ctx context.Context, in *MsgSendToVestingAccount, opts ...grpc.CallOption) (*MsgSendToVestingAccountResponse, error)
}

MsgClient is the client API for Msg service.

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

func NewMsgClient

func NewMsgClient(cc grpc1.ClientConn) MsgClient

type 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 {
	Creator     string                                 `protobuf:"bytes,1,opt,name=creator,proto3" json:"creator,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(creator string, name string, amount sdk.Int, duration time.Duration, vestingType string) *MsgCreateVestingPool

func (*MsgCreateVestingPool) Descriptor

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

func (*MsgCreateVestingPool) GetCreator

func (m *MsgCreateVestingPool) GetCreator() string

func (*MsgCreateVestingPool) GetDuration

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

func (*MsgCreateVestingPool) GetName

func (m *MsgCreateVestingPool) GetName() 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 MsgSendToVestingAccount

type MsgSendToVestingAccount 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"`
	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(fromAddress string, toAddress string, vestingPoolName string, amount sdk.Int, restartVesting bool) *MsgSendToVestingAccount

func (*MsgSendToVestingAccount) Descriptor

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

func (*MsgSendToVestingAccount) GetFromAddress

func (m *MsgSendToVestingAccount) GetFromAddress() string

func (*MsgSendToVestingAccount) GetRestartVesting

func (m *MsgSendToVestingAccount) GetRestartVesting() bool

func (*MsgSendToVestingAccount) GetSignBytes

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

func (*MsgSendToVestingAccount) GetSigners

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

func (*MsgSendToVestingAccount) GetToAddress

func (m *MsgSendToVestingAccount) GetToAddress() string

func (*MsgSendToVestingAccount) GetVestingPoolName added in v1.1.0

func (m *MsgSendToVestingAccount) GetVestingPoolName() string

func (*MsgSendToVestingAccount) Marshal

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

func (*MsgSendToVestingAccount) MarshalTo

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

func (*MsgSendToVestingAccount) MarshalToSizedBuffer

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

func (*MsgSendToVestingAccount) ProtoMessage

func (*MsgSendToVestingAccount) ProtoMessage()

func (*MsgSendToVestingAccount) Reset

func (m *MsgSendToVestingAccount) Reset()

func (*MsgSendToVestingAccount) Route

func (msg *MsgSendToVestingAccount) Route() string

func (*MsgSendToVestingAccount) Size

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

func (*MsgSendToVestingAccount) String

func (m *MsgSendToVestingAccount) String() string

func (*MsgSendToVestingAccount) Type

func (msg *MsgSendToVestingAccount) Type() string

func (*MsgSendToVestingAccount) Unmarshal

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

func (*MsgSendToVestingAccount) ValidateBasic

func (msg *MsgSendToVestingAccount) ValidateBasic() error

func (*MsgSendToVestingAccount) XXX_DiscardUnknown

func (m *MsgSendToVestingAccount) XXX_DiscardUnknown()

func (*MsgSendToVestingAccount) XXX_Marshal

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

func (*MsgSendToVestingAccount) XXX_Merge

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

func (*MsgSendToVestingAccount) XXX_Size

func (m *MsgSendToVestingAccount) XXX_Size() int

func (*MsgSendToVestingAccount) XXX_Unmarshal

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

type MsgSendToVestingAccountResponse

type MsgSendToVestingAccountResponse struct {
}

func (*MsgSendToVestingAccountResponse) Descriptor

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

func (*MsgSendToVestingAccountResponse) Marshal

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

func (*MsgSendToVestingAccountResponse) MarshalTo

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

func (*MsgSendToVestingAccountResponse) MarshalToSizedBuffer

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

func (*MsgSendToVestingAccountResponse) ProtoMessage

func (*MsgSendToVestingAccountResponse) ProtoMessage()

func (*MsgSendToVestingAccountResponse) Reset

func (*MsgSendToVestingAccountResponse) Size

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

func (*MsgSendToVestingAccountResponse) String

func (*MsgSendToVestingAccountResponse) Unmarshal

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

func (*MsgSendToVestingAccountResponse) XXX_DiscardUnknown

func (m *MsgSendToVestingAccountResponse) XXX_DiscardUnknown()

func (*MsgSendToVestingAccountResponse) XXX_Marshal

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

func (*MsgSendToVestingAccountResponse) XXX_Merge

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

func (*MsgSendToVestingAccountResponse) XXX_Size

func (m *MsgSendToVestingAccountResponse) XXX_Size() int

func (*MsgSendToVestingAccountResponse) XXX_Unmarshal

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

type MsgServer

MsgServer is the server API for Msg service.

type MsgWithdrawAllAvailable

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

func NewMsgWithdrawAllAvailable

func NewMsgWithdrawAllAvailable(creator string) *MsgWithdrawAllAvailable

func (*MsgWithdrawAllAvailable) Descriptor

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

func (*MsgWithdrawAllAvailable) GetCreator

func (m *MsgWithdrawAllAvailable) GetCreator() 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 NewVestingAccount

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

func (*NewVestingAccount) Descriptor

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

func (*NewVestingAccount) GetAddress

func (m *NewVestingAccount) GetAddress() string

func (*NewVestingAccount) Marshal

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

func (*NewVestingAccount) MarshalTo

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

func (*NewVestingAccount) MarshalToSizedBuffer

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

func (*NewVestingAccount) ProtoMessage

func (*NewVestingAccount) ProtoMessage()

func (*NewVestingAccount) Reset

func (m *NewVestingAccount) Reset()

func (*NewVestingAccount) Size

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

func (*NewVestingAccount) String

func (m *NewVestingAccount) String() string

func (*NewVestingAccount) Unmarshal

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

func (*NewVestingAccount) XXX_DiscardUnknown

func (m *NewVestingAccount) XXX_DiscardUnknown()

func (*NewVestingAccount) XXX_Marshal

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

func (*NewVestingAccount) XXX_Merge

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

func (*NewVestingAccount) XXX_Size

func (m *NewVestingAccount) XXX_Size() int

func (*NewVestingAccount) XXX_Unmarshal

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

type NewVestingAccountFromVestingPool

type NewVestingAccountFromVestingPool struct {
	OwnerAddress    string `protobuf:"bytes,1,opt,name=owner_address,json=ownerAddress,proto3" json:"owner_address,omitempty"`
	Address         string `protobuf:"bytes,2,opt,name=address,proto3" json:"address,omitempty"`
	VestingPoolName string `protobuf:"bytes,4,opt,name=vesting_pool_name,json=vestingPoolName,proto3" json:"vesting_pool_name,omitempty"`
	Amount          string `protobuf:"bytes,5,opt,name=amount,proto3" json:"amount,omitempty"`
	RestartVesting  string `protobuf:"bytes,6,opt,name=restart_vesting,json=restartVesting,proto3" json:"restart_vesting,omitempty"`
}

func (*NewVestingAccountFromVestingPool) Descriptor

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

func (*NewVestingAccountFromVestingPool) GetAddress

func (m *NewVestingAccountFromVestingPool) GetAddress() string

func (*NewVestingAccountFromVestingPool) GetAmount

func (*NewVestingAccountFromVestingPool) GetOwnerAddress

func (m *NewVestingAccountFromVestingPool) GetOwnerAddress() string

func (*NewVestingAccountFromVestingPool) GetRestartVesting

func (m *NewVestingAccountFromVestingPool) GetRestartVesting() string

func (*NewVestingAccountFromVestingPool) GetVestingPoolName

func (m *NewVestingAccountFromVestingPool) GetVestingPoolName() string

func (*NewVestingAccountFromVestingPool) Marshal

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

func (*NewVestingAccountFromVestingPool) MarshalTo

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

func (*NewVestingAccountFromVestingPool) MarshalToSizedBuffer

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

func (*NewVestingAccountFromVestingPool) ProtoMessage

func (*NewVestingAccountFromVestingPool) ProtoMessage()

func (*NewVestingAccountFromVestingPool) Reset

func (*NewVestingAccountFromVestingPool) Size

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

func (*NewVestingAccountFromVestingPool) String

func (*NewVestingAccountFromVestingPool) Unmarshal

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

func (*NewVestingAccountFromVestingPool) XXX_DiscardUnknown

func (m *NewVestingAccountFromVestingPool) XXX_DiscardUnknown()

func (*NewVestingAccountFromVestingPool) XXX_Marshal

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

func (*NewVestingAccountFromVestingPool) XXX_Merge

func (*NewVestingAccountFromVestingPool) XXX_Size

func (m *NewVestingAccountFromVestingPool) XXX_Size() int

func (*NewVestingAccountFromVestingPool) XXX_Unmarshal

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

type NewVestingPool

type NewVestingPool struct {
	Creator     string `protobuf:"bytes,1,opt,name=creator,proto3" json:"creator,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 (*NewVestingPool) Descriptor

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

func (*NewVestingPool) GetAmount

func (m *NewVestingPool) GetAmount() string

func (*NewVestingPool) GetCreator

func (m *NewVestingPool) GetCreator() string

func (*NewVestingPool) GetDuration

func (m *NewVestingPool) GetDuration() string

func (*NewVestingPool) GetName

func (m *NewVestingPool) GetName() string

func (*NewVestingPool) GetVestingType

func (m *NewVestingPool) GetVestingType() string

func (*NewVestingPool) Marshal

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

func (*NewVestingPool) MarshalTo

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

func (*NewVestingPool) MarshalToSizedBuffer

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

func (*NewVestingPool) ProtoMessage

func (*NewVestingPool) ProtoMessage()

func (*NewVestingPool) Reset

func (m *NewVestingPool) Reset()

func (*NewVestingPool) Size

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

func (*NewVestingPool) String

func (m *NewVestingPool) String() string

func (*NewVestingPool) Unmarshal

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

func (*NewVestingPool) XXX_DiscardUnknown

func (m *NewVestingPool) XXX_DiscardUnknown()

func (*NewVestingPool) XXX_Marshal

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

func (*NewVestingPool) XXX_Merge

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

func (*NewVestingPool) XXX_Size

func (m *NewVestingPool) XXX_Size() int

func (*NewVestingPool) XXX_Unmarshal

func (m *NewVestingPool) 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) ParamSetPairs

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

ParamSetPairs get the params.ParamSet

func (*Params) ProtoMessage

func (*Params) ProtoMessage()

func (*Params) Reset

func (m *Params) Reset()

func (*Params) Size

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

func (Params) String

func (p Params) String() string

String implements the Stringer interface.

func (*Params) Unmarshal

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

func (Params) Validate

func (p Params) Validate() error

Validate validates the set of params

func (*Params) XXX_DiscardUnknown

func (m *Params) XXX_DiscardUnknown()

func (*Params) XXX_Marshal

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

func (*Params) XXX_Merge

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

func (*Params) XXX_Size

func (m *Params) XXX_Size() int

func (*Params) XXX_Unmarshal

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

type PeriodUnit added in v1.1.0

type PeriodUnit string

func UnitsFromDuration added in v1.1.0

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

type 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)
}

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 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)
}

QueryServer is the server API for Query service.

type QueryVestingPoolsRequest

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

func (*QueryVestingPoolsRequest) Descriptor

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

func (*QueryVestingPoolsRequest) GetAddress

func (m *QueryVestingPoolsRequest) GetAddress() string

func (*QueryVestingPoolsRequest) Marshal

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

func (*QueryVestingPoolsRequest) MarshalTo

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

func (*QueryVestingPoolsRequest) MarshalToSizedBuffer

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

func (*QueryVestingPoolsRequest) ProtoMessage

func (*QueryVestingPoolsRequest) ProtoMessage()

func (*QueryVestingPoolsRequest) Reset

func (m *QueryVestingPoolsRequest) Reset()

func (*QueryVestingPoolsRequest) Size

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

func (*QueryVestingPoolsRequest) String

func (m *QueryVestingPoolsRequest) String() string

func (*QueryVestingPoolsRequest) Unmarshal

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

func (*QueryVestingPoolsRequest) XXX_DiscardUnknown

func (m *QueryVestingPoolsRequest) XXX_DiscardUnknown()

func (*QueryVestingPoolsRequest) XXX_Marshal

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

func (*QueryVestingPoolsRequest) XXX_Merge

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

func (*QueryVestingPoolsRequest) XXX_Size

func (m *QueryVestingPoolsRequest) XXX_Size() int

func (*QueryVestingPoolsRequest) XXX_Unmarshal

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

type QueryVestingPoolsResponse

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

func (*QueryVestingPoolsResponse) Descriptor

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

func (*QueryVestingPoolsResponse) GetVestingPools

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

func (*QueryVestingPoolsResponse) Marshal

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

func (*QueryVestingPoolsResponse) MarshalTo

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

func (*QueryVestingPoolsResponse) MarshalToSizedBuffer

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

func (*QueryVestingPoolsResponse) ProtoMessage

func (*QueryVestingPoolsResponse) ProtoMessage()

func (*QueryVestingPoolsResponse) Reset

func (m *QueryVestingPoolsResponse) Reset()

func (*QueryVestingPoolsResponse) Size

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

func (*QueryVestingPoolsResponse) String

func (m *QueryVestingPoolsResponse) String() string

func (*QueryVestingPoolsResponse) Unmarshal

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

func (*QueryVestingPoolsResponse) XXX_DiscardUnknown

func (m *QueryVestingPoolsResponse) XXX_DiscardUnknown()

func (*QueryVestingPoolsResponse) XXX_Marshal

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

func (*QueryVestingPoolsResponse) XXX_Merge

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

func (*QueryVestingPoolsResponse) XXX_Size

func (m *QueryVestingPoolsResponse) XXX_Size() int

func (*QueryVestingPoolsResponse) XXX_Unmarshal

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

type QueryVestingTypeRequest

type QueryVestingTypeRequest struct {
}

func (*QueryVestingTypeRequest) Descriptor

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

func (*QueryVestingTypeRequest) Marshal

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

func (*QueryVestingTypeRequest) MarshalTo

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

func (*QueryVestingTypeRequest) MarshalToSizedBuffer

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

func (*QueryVestingTypeRequest) ProtoMessage

func (*QueryVestingTypeRequest) ProtoMessage()

func (*QueryVestingTypeRequest) Reset

func (m *QueryVestingTypeRequest) Reset()

func (*QueryVestingTypeRequest) Size

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

func (*QueryVestingTypeRequest) String

func (m *QueryVestingTypeRequest) String() string

func (*QueryVestingTypeRequest) Unmarshal

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

func (*QueryVestingTypeRequest) XXX_DiscardUnknown

func (m *QueryVestingTypeRequest) XXX_DiscardUnknown()

func (*QueryVestingTypeRequest) XXX_Marshal

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

func (*QueryVestingTypeRequest) XXX_Merge

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

func (*QueryVestingTypeRequest) XXX_Size

func (m *QueryVestingTypeRequest) XXX_Size() int

func (*QueryVestingTypeRequest) XXX_Unmarshal

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

type QueryVestingTypeResponse

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

func (*QueryVestingTypeResponse) Descriptor

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

func (*QueryVestingTypeResponse) GetVestingTypes

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

func (*QueryVestingTypeResponse) Marshal

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

func (*QueryVestingTypeResponse) MarshalTo

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

func (*QueryVestingTypeResponse) MarshalToSizedBuffer

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

func (*QueryVestingTypeResponse) ProtoMessage

func (*QueryVestingTypeResponse) ProtoMessage()

func (*QueryVestingTypeResponse) Reset

func (m *QueryVestingTypeResponse) Reset()

func (*QueryVestingTypeResponse) Size

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

func (*QueryVestingTypeResponse) String

func (m *QueryVestingTypeResponse) String() string

func (*QueryVestingTypeResponse) Unmarshal

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

func (*QueryVestingTypeResponse) XXX_DiscardUnknown

func (m *QueryVestingTypeResponse) XXX_DiscardUnknown()

func (*QueryVestingTypeResponse) XXX_Marshal

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

func (*QueryVestingTypeResponse) XXX_Merge

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

func (*QueryVestingTypeResponse) XXX_Size

func (m *QueryVestingTypeResponse) XXX_Size() int

func (*QueryVestingTypeResponse) XXX_Unmarshal

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

type QueryVestingsSummaryRequest added in v1.1.0

type QueryVestingsSummaryRequest struct {
}

func (*QueryVestingsSummaryRequest) Descriptor added in v1.1.0

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

func (*QueryVestingsSummaryRequest) Marshal added in v1.1.0

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

func (*QueryVestingsSummaryRequest) MarshalTo added in v1.1.0

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

func (*QueryVestingsSummaryRequest) MarshalToSizedBuffer added in v1.1.0

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

func (*QueryVestingsSummaryRequest) ProtoMessage added in v1.1.0

func (*QueryVestingsSummaryRequest) ProtoMessage()

func (*QueryVestingsSummaryRequest) Reset added in v1.1.0

func (m *QueryVestingsSummaryRequest) Reset()

func (*QueryVestingsSummaryRequest) Size added in v1.1.0

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

func (*QueryVestingsSummaryRequest) String added in v1.1.0

func (m *QueryVestingsSummaryRequest) String() string

func (*QueryVestingsSummaryRequest) Unmarshal added in v1.1.0

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

func (*QueryVestingsSummaryRequest) XXX_DiscardUnknown added in v1.1.0

func (m *QueryVestingsSummaryRequest) XXX_DiscardUnknown()

func (*QueryVestingsSummaryRequest) XXX_Marshal added in v1.1.0

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

func (*QueryVestingsSummaryRequest) XXX_Merge added in v1.1.0

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

func (*QueryVestingsSummaryRequest) XXX_Size added in v1.1.0

func (m *QueryVestingsSummaryRequest) XXX_Size() int

func (*QueryVestingsSummaryRequest) XXX_Unmarshal added in v1.1.0

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

type QueryVestingsSummaryResponse added in v1.1.0

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

func (*QueryVestingsSummaryResponse) Descriptor added in v1.1.0

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

func (*QueryVestingsSummaryResponse) Marshal added in v1.1.0

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

func (*QueryVestingsSummaryResponse) MarshalTo added in v1.1.0

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

func (*QueryVestingsSummaryResponse) MarshalToSizedBuffer added in v1.1.0

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

func (*QueryVestingsSummaryResponse) ProtoMessage added in v1.1.0

func (*QueryVestingsSummaryResponse) ProtoMessage()

func (*QueryVestingsSummaryResponse) Reset added in v1.1.0

func (m *QueryVestingsSummaryResponse) Reset()

func (*QueryVestingsSummaryResponse) Size added in v1.1.0

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

func (*QueryVestingsSummaryResponse) String added in v1.1.0

func (*QueryVestingsSummaryResponse) Unmarshal added in v1.1.0

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

func (*QueryVestingsSummaryResponse) XXX_DiscardUnknown added in v1.1.0

func (m *QueryVestingsSummaryResponse) XXX_DiscardUnknown()

func (*QueryVestingsSummaryResponse) XXX_Marshal added in v1.1.0

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

func (*QueryVestingsSummaryResponse) XXX_Merge added in v1.1.0

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

func (*QueryVestingsSummaryResponse) XXX_Size added in v1.1.0

func (m *QueryVestingsSummaryResponse) XXX_Size() int

func (*QueryVestingsSummaryResponse) XXX_Unmarshal added in v1.1.0

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

type StakingKeeper

type StakingKeeper interface {
	BondDenom(ctx sdk.Context) (res string)
	GetValidator(ctx sdk.Context, addr sdk.ValAddress) (validator stakingtypes.Validator, found bool)
	Delegate(
		ctx sdk.Context, delAddr sdk.AccAddress, bondAmt sdk.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) SendToVestingAccount

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

type VestingAccount

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

func (*VestingAccount) Descriptor

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

func (*VestingAccount) GetAddress

func (m *VestingAccount) GetAddress() string

func (*VestingAccount) GetId

func (m *VestingAccount) GetId() uint64

func (*VestingAccount) Marshal

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

func (*VestingAccount) MarshalTo

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

func (*VestingAccount) MarshalToSizedBuffer

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

func (*VestingAccount) ProtoMessage

func (*VestingAccount) ProtoMessage()

func (*VestingAccount) Reset

func (m *VestingAccount) Reset()

func (*VestingAccount) Size

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

func (*VestingAccount) String

func (m *VestingAccount) String() string

func (*VestingAccount) Unmarshal

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

func (VestingAccount) Validate

func (v VestingAccount) Validate() error

func (*VestingAccount) XXX_DiscardUnknown

func (m *VestingAccount) XXX_DiscardUnknown()

func (*VestingAccount) XXX_Marshal

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

func (*VestingAccount) XXX_Merge

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

func (*VestingAccount) XXX_Size

func (m *VestingAccount) XXX_Size() int

func (*VestingAccount) XXX_Unmarshal

func (m *VestingAccount) 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"`
}

func (*VestingPool) Descriptor

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

func (*VestingPool) GetCurrentlyLocked added in v1.1.0

func (m *VestingPool) GetCurrentlyLocked() sdk.Int

func (*VestingPool) GetLockEnd

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

func (*VestingPool) GetLockStart

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

func (*VestingPool) GetName

func (m *VestingPool) GetName() string

func (*VestingPool) GetVestingType

func (m *VestingPool) GetVestingType() string

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) Unmarshal

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

func (*VestingPool) Validate added in v1.1.0

func (m *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,2,opt,name=name,proto3" json:"name,omitempty"`
	VestingType     string      `protobuf:"bytes,3,opt,name=vesting_type,json=vestingType,proto3" json:"vesting_type,omitempty"`
	LockStart       time.Time   `protobuf:"bytes,4,opt,name=lock_start,json=lockStart,proto3,stdtime" json:"lock_start"`
	LockEnd         time.Time   `protobuf:"bytes,5,opt,name=lock_end,json=lockEnd,proto3,stdtime" json:"lock_end"`
	Withdrawable    string      `protobuf:"bytes,6,opt,name=withdrawable,proto3" json:"withdrawable,omitempty"`
	InitiallyLocked *types.Coin `protobuf:"bytes,7,opt,name=initially_locked,json=initiallyLocked,proto3" json:"initially_locked,omitempty"`
	CurrentlyLocked string      `protobuf:"bytes,8,opt,name=currently_locked,json=currentlyLocked,proto3" json:"currently_locked,omitempty"`
	SentAmount      string      `protobuf:"bytes,9,opt,name=sent_amount,json=sentAmount,proto3" json:"sent_amount,omitempty"`
}

func (*VestingPoolInfo) Descriptor

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

func (*VestingPoolInfo) GetCurrentlyLocked added in v1.1.0

func (m *VestingPoolInfo) GetCurrentlyLocked() string

func (*VestingPoolInfo) GetInitiallyLocked added in v1.1.0

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

func (*VestingPoolInfo) GetLockEnd

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

func (*VestingPoolInfo) GetLockStart

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

func (*VestingPoolInfo) GetName

func (m *VestingPoolInfo) GetName() string

func (*VestingPoolInfo) 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 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) 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

type WithdrawAvailable

type WithdrawAvailable struct {
	OwnerAddress    string `protobuf:"bytes,1,opt,name=owner_address,json=ownerAddress,proto3" json:"owner_address,omitempty"`
	VestingPoolName string `protobuf:"bytes,4,opt,name=vesting_pool_name,json=vestingPoolName,proto3" json:"vesting_pool_name,omitempty"`
	Amount          string `protobuf:"bytes,5,opt,name=amount,proto3" json:"amount,omitempty"`
}

func (*WithdrawAvailable) Descriptor

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

func (*WithdrawAvailable) GetAmount

func (m *WithdrawAvailable) GetAmount() string

func (*WithdrawAvailable) GetOwnerAddress

func (m *WithdrawAvailable) GetOwnerAddress() string

func (*WithdrawAvailable) GetVestingPoolName

func (m *WithdrawAvailable) GetVestingPoolName() string

func (*WithdrawAvailable) Marshal

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

func (*WithdrawAvailable) MarshalTo

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

func (*WithdrawAvailable) MarshalToSizedBuffer

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

func (*WithdrawAvailable) ProtoMessage

func (*WithdrawAvailable) ProtoMessage()

func (*WithdrawAvailable) Reset

func (m *WithdrawAvailable) Reset()

func (*WithdrawAvailable) Size

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

func (*WithdrawAvailable) String

func (m *WithdrawAvailable) String() string

func (*WithdrawAvailable) Unmarshal

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

func (*WithdrawAvailable) XXX_DiscardUnknown

func (m *WithdrawAvailable) XXX_DiscardUnknown()

func (*WithdrawAvailable) XXX_Marshal

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

func (*WithdrawAvailable) XXX_Merge

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

func (*WithdrawAvailable) XXX_Size

func (m *WithdrawAvailable) XXX_Size() int

func (*WithdrawAvailable) XXX_Unmarshal

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

Jump to

Keyboard shortcuts

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