Documentation ¶
Overview ¶
Package types is a reverse proxy.
It translates gRPC into RESTful JSON APIs.
Index ¶
- Constants
- Variables
- func KeyPrefix(p string) []byte
- func ParamKeyTable() paramtypes.KeyTable
- func RegisterCodec(cdc *codec.LegacyAmino)
- func RegisterInterfaces(registry cdctypes.InterfaceRegistry)
- func RegisterMsgServer(s grpc1.Server, srv MsgServer)
- func RegisterQueryHandler(ctx context.Context, mux *runtime.ServeMux, conn *grpc.ClientConn) error
- func RegisterQueryHandlerClient(ctx context.Context, mux *runtime.ServeMux, client QueryClient) error
- func RegisterQueryHandlerFromEndpoint(ctx context.Context, mux *runtime.ServeMux, endpoint string, ...) (err error)
- func RegisterQueryHandlerServer(ctx context.Context, mux *runtime.ServeMux, server QueryServer) error
- func RegisterQueryServer(s grpc1.Server, srv QueryServer)
- type AccountKeeper
- type AccountVestings
- func (*AccountVestings) Descriptor() ([]byte, []int)
- func (m *AccountVestings) GetAddress() string
- func (m *AccountVestings) GetVestingPools() []*VestingPool
- func (m *AccountVestings) Marshal() (dAtA []byte, err error)
- func (m *AccountVestings) MarshalTo(dAtA []byte) (int, error)
- func (m *AccountVestings) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*AccountVestings) ProtoMessage()
- func (m *AccountVestings) Reset()
- func (m *AccountVestings) Size() (n int)
- func (m *AccountVestings) String() string
- func (m *AccountVestings) Unmarshal(dAtA []byte) error
- func (av AccountVestings) Validate() error
- func (av AccountVestings) ValidateAgainstVestingTypes(vestingTypes []GenesisVestingType) error
- func (m *AccountVestings) XXX_DiscardUnknown()
- func (m *AccountVestings) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *AccountVestings) XXX_Merge(src proto.Message)
- func (m *AccountVestings) XXX_Size() int
- func (m *AccountVestings) XXX_Unmarshal(b []byte) error
- type AccountVestingsList
- func (*AccountVestingsList) Descriptor() ([]byte, []int)
- func (m *AccountVestingsList) GetVestings() []*AccountVestings
- func (m *AccountVestingsList) Marshal() (dAtA []byte, err error)
- func (m *AccountVestingsList) MarshalTo(dAtA []byte) (int, error)
- func (m *AccountVestingsList) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*AccountVestingsList) ProtoMessage()
- func (m *AccountVestingsList) Reset()
- func (m *AccountVestingsList) Size() (n int)
- func (m *AccountVestingsList) String() string
- func (m *AccountVestingsList) Unmarshal(dAtA []byte) error
- func (m *AccountVestingsList) XXX_DiscardUnknown()
- func (m *AccountVestingsList) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *AccountVestingsList) XXX_Merge(src proto.Message)
- func (m *AccountVestingsList) XXX_Size() int
- func (m *AccountVestingsList) XXX_Unmarshal(b []byte) error
- type BankKeeper
- type DistributionKeeper
- type GenesisState
- func (*GenesisState) Descriptor() ([]byte, []int)
- func (m *GenesisState) GetAccountVestingsList() AccountVestingsList
- func (m *GenesisState) GetParams() Params
- func (m *GenesisState) GetVestingAccountCount() uint64
- func (m *GenesisState) GetVestingAccountList() []VestingAccount
- func (m *GenesisState) GetVestingTypes() []GenesisVestingType
- func (m *GenesisState) Marshal() (dAtA []byte, err error)
- func (m *GenesisState) MarshalTo(dAtA []byte) (int, error)
- func (m *GenesisState) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*GenesisState) ProtoMessage()
- func (m *GenesisState) Reset()
- func (m *GenesisState) Size() (n int)
- func (m *GenesisState) String() string
- func (m *GenesisState) Unmarshal(dAtA []byte) error
- func (gs GenesisState) Validate() error
- func (m *GenesisState) XXX_DiscardUnknown()
- func (m *GenesisState) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *GenesisState) XXX_Merge(src proto.Message)
- func (m *GenesisState) XXX_Size() int
- func (m *GenesisState) XXX_Unmarshal(b []byte) error
- type GenesisVestingType
- func (*GenesisVestingType) Descriptor() ([]byte, []int)
- func (m *GenesisVestingType) GetLockupPeriod() int64
- func (m *GenesisVestingType) GetLockupPeriodUnit() string
- func (m *GenesisVestingType) GetName() string
- func (m *GenesisVestingType) GetVestingPeriod() int64
- func (m *GenesisVestingType) GetVestingPeriodUnit() string
- func (m *GenesisVestingType) Marshal() (dAtA []byte, err error)
- func (m *GenesisVestingType) MarshalTo(dAtA []byte) (int, error)
- func (m *GenesisVestingType) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*GenesisVestingType) ProtoMessage()
- func (m *GenesisVestingType) Reset()
- func (m *GenesisVestingType) Size() (n int)
- func (m *GenesisVestingType) String() string
- func (m *GenesisVestingType) Unmarshal(dAtA []byte) error
- func (m *GenesisVestingType) XXX_DiscardUnknown()
- func (m *GenesisVestingType) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *GenesisVestingType) XXX_Merge(src proto.Message)
- func (m *GenesisVestingType) XXX_Size() int
- func (m *GenesisVestingType) XXX_Unmarshal(b []byte) error
- type GovKeeper
- type MsgClient
- type MsgCreateVestingAccount
- func (*MsgCreateVestingAccount) Descriptor() ([]byte, []int)
- func (m *MsgCreateVestingAccount) GetAmount() github_com_cosmos_cosmos_sdk_types.Coins
- func (m *MsgCreateVestingAccount) GetEndTime() int64
- func (m *MsgCreateVestingAccount) GetFromAddress() string
- func (msg *MsgCreateVestingAccount) GetSignBytes() []byte
- func (msg *MsgCreateVestingAccount) GetSigners() []sdk.AccAddress
- func (m *MsgCreateVestingAccount) GetStartTime() int64
- func (m *MsgCreateVestingAccount) GetToAddress() string
- func (m *MsgCreateVestingAccount) Marshal() (dAtA []byte, err error)
- func (m *MsgCreateVestingAccount) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgCreateVestingAccount) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgCreateVestingAccount) ProtoMessage()
- func (m *MsgCreateVestingAccount) Reset()
- func (msg *MsgCreateVestingAccount) Route() string
- func (m *MsgCreateVestingAccount) Size() (n int)
- func (m *MsgCreateVestingAccount) String() string
- func (msg *MsgCreateVestingAccount) Type() string
- func (m *MsgCreateVestingAccount) Unmarshal(dAtA []byte) error
- func (msg *MsgCreateVestingAccount) ValidateBasic() error
- func (m *MsgCreateVestingAccount) XXX_DiscardUnknown()
- func (m *MsgCreateVestingAccount) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgCreateVestingAccount) XXX_Merge(src proto.Message)
- func (m *MsgCreateVestingAccount) XXX_Size() int
- func (m *MsgCreateVestingAccount) XXX_Unmarshal(b []byte) error
- type MsgCreateVestingAccountResponse
- func (*MsgCreateVestingAccountResponse) Descriptor() ([]byte, []int)
- func (m *MsgCreateVestingAccountResponse) Marshal() (dAtA []byte, err error)
- func (m *MsgCreateVestingAccountResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgCreateVestingAccountResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgCreateVestingAccountResponse) ProtoMessage()
- func (m *MsgCreateVestingAccountResponse) Reset()
- func (m *MsgCreateVestingAccountResponse) Size() (n int)
- func (m *MsgCreateVestingAccountResponse) String() string
- func (m *MsgCreateVestingAccountResponse) Unmarshal(dAtA []byte) error
- func (m *MsgCreateVestingAccountResponse) XXX_DiscardUnknown()
- func (m *MsgCreateVestingAccountResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgCreateVestingAccountResponse) XXX_Merge(src proto.Message)
- func (m *MsgCreateVestingAccountResponse) XXX_Size() int
- func (m *MsgCreateVestingAccountResponse) XXX_Unmarshal(b []byte) error
- type MsgCreateVestingPool
- func (*MsgCreateVestingPool) Descriptor() ([]byte, []int)
- func (m *MsgCreateVestingPool) GetCreator() string
- func (m *MsgCreateVestingPool) GetDuration() time.Duration
- func (m *MsgCreateVestingPool) GetName() string
- func (msg *MsgCreateVestingPool) GetSignBytes() []byte
- func (msg *MsgCreateVestingPool) GetSigners() []sdk.AccAddress
- func (m *MsgCreateVestingPool) GetVestingType() string
- func (m *MsgCreateVestingPool) Marshal() (dAtA []byte, err error)
- func (m *MsgCreateVestingPool) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgCreateVestingPool) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgCreateVestingPool) ProtoMessage()
- func (m *MsgCreateVestingPool) Reset()
- func (msg *MsgCreateVestingPool) Route() string
- func (m *MsgCreateVestingPool) Size() (n int)
- func (m *MsgCreateVestingPool) String() string
- func (msg *MsgCreateVestingPool) Type() string
- func (m *MsgCreateVestingPool) Unmarshal(dAtA []byte) error
- func (msg *MsgCreateVestingPool) ValidateBasic() error
- func (m *MsgCreateVestingPool) XXX_DiscardUnknown()
- func (m *MsgCreateVestingPool) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgCreateVestingPool) XXX_Merge(src proto.Message)
- func (m *MsgCreateVestingPool) XXX_Size() int
- func (m *MsgCreateVestingPool) XXX_Unmarshal(b []byte) error
- type MsgCreateVestingPoolResponse
- func (*MsgCreateVestingPoolResponse) Descriptor() ([]byte, []int)
- func (m *MsgCreateVestingPoolResponse) Marshal() (dAtA []byte, err error)
- func (m *MsgCreateVestingPoolResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgCreateVestingPoolResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgCreateVestingPoolResponse) ProtoMessage()
- func (m *MsgCreateVestingPoolResponse) Reset()
- func (m *MsgCreateVestingPoolResponse) Size() (n int)
- func (m *MsgCreateVestingPoolResponse) String() string
- func (m *MsgCreateVestingPoolResponse) Unmarshal(dAtA []byte) error
- func (m *MsgCreateVestingPoolResponse) XXX_DiscardUnknown()
- func (m *MsgCreateVestingPoolResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgCreateVestingPoolResponse) XXX_Merge(src proto.Message)
- func (m *MsgCreateVestingPoolResponse) XXX_Size() int
- func (m *MsgCreateVestingPoolResponse) XXX_Unmarshal(b []byte) error
- type MsgSendToVestingAccount
- func (*MsgSendToVestingAccount) Descriptor() ([]byte, []int)
- func (m *MsgSendToVestingAccount) GetFromAddress() string
- func (m *MsgSendToVestingAccount) GetRestartVesting() bool
- func (msg *MsgSendToVestingAccount) GetSignBytes() []byte
- func (msg *MsgSendToVestingAccount) GetSigners() []sdk.AccAddress
- func (m *MsgSendToVestingAccount) GetToAddress() string
- func (m *MsgSendToVestingAccount) GetVestingId() int32
- func (m *MsgSendToVestingAccount) Marshal() (dAtA []byte, err error)
- func (m *MsgSendToVestingAccount) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgSendToVestingAccount) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgSendToVestingAccount) ProtoMessage()
- func (m *MsgSendToVestingAccount) Reset()
- func (msg *MsgSendToVestingAccount) Route() string
- func (m *MsgSendToVestingAccount) Size() (n int)
- func (m *MsgSendToVestingAccount) String() string
- func (msg *MsgSendToVestingAccount) Type() string
- func (m *MsgSendToVestingAccount) Unmarshal(dAtA []byte) error
- func (msg *MsgSendToVestingAccount) ValidateBasic() error
- func (m *MsgSendToVestingAccount) XXX_DiscardUnknown()
- func (m *MsgSendToVestingAccount) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgSendToVestingAccount) XXX_Merge(src proto.Message)
- func (m *MsgSendToVestingAccount) XXX_Size() int
- func (m *MsgSendToVestingAccount) XXX_Unmarshal(b []byte) error
- type MsgSendToVestingAccountResponse
- func (*MsgSendToVestingAccountResponse) Descriptor() ([]byte, []int)
- func (m *MsgSendToVestingAccountResponse) Marshal() (dAtA []byte, err error)
- func (m *MsgSendToVestingAccountResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgSendToVestingAccountResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgSendToVestingAccountResponse) ProtoMessage()
- func (m *MsgSendToVestingAccountResponse) Reset()
- func (m *MsgSendToVestingAccountResponse) Size() (n int)
- func (m *MsgSendToVestingAccountResponse) String() string
- func (m *MsgSendToVestingAccountResponse) Unmarshal(dAtA []byte) error
- func (m *MsgSendToVestingAccountResponse) XXX_DiscardUnknown()
- func (m *MsgSendToVestingAccountResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgSendToVestingAccountResponse) XXX_Merge(src proto.Message)
- func (m *MsgSendToVestingAccountResponse) XXX_Size() int
- func (m *MsgSendToVestingAccountResponse) XXX_Unmarshal(b []byte) error
- type MsgServer
- type MsgWithdrawAllAvailable
- func (*MsgWithdrawAllAvailable) Descriptor() ([]byte, []int)
- func (m *MsgWithdrawAllAvailable) GetCreator() string
- func (msg *MsgWithdrawAllAvailable) GetSignBytes() []byte
- func (msg *MsgWithdrawAllAvailable) GetSigners() []sdk.AccAddress
- func (m *MsgWithdrawAllAvailable) Marshal() (dAtA []byte, err error)
- func (m *MsgWithdrawAllAvailable) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgWithdrawAllAvailable) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgWithdrawAllAvailable) ProtoMessage()
- func (m *MsgWithdrawAllAvailable) Reset()
- func (msg *MsgWithdrawAllAvailable) Route() string
- func (m *MsgWithdrawAllAvailable) Size() (n int)
- func (m *MsgWithdrawAllAvailable) String() string
- func (msg *MsgWithdrawAllAvailable) Type() string
- func (m *MsgWithdrawAllAvailable) Unmarshal(dAtA []byte) error
- func (msg *MsgWithdrawAllAvailable) ValidateBasic() error
- func (m *MsgWithdrawAllAvailable) XXX_DiscardUnknown()
- func (m *MsgWithdrawAllAvailable) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgWithdrawAllAvailable) XXX_Merge(src proto.Message)
- func (m *MsgWithdrawAllAvailable) XXX_Size() int
- func (m *MsgWithdrawAllAvailable) XXX_Unmarshal(b []byte) error
- type MsgWithdrawAllAvailableResponse
- func (*MsgWithdrawAllAvailableResponse) Descriptor() ([]byte, []int)
- func (m *MsgWithdrawAllAvailableResponse) Marshal() (dAtA []byte, err error)
- func (m *MsgWithdrawAllAvailableResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgWithdrawAllAvailableResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgWithdrawAllAvailableResponse) ProtoMessage()
- func (m *MsgWithdrawAllAvailableResponse) Reset()
- func (m *MsgWithdrawAllAvailableResponse) Size() (n int)
- func (m *MsgWithdrawAllAvailableResponse) String() string
- func (m *MsgWithdrawAllAvailableResponse) Unmarshal(dAtA []byte) error
- func (m *MsgWithdrawAllAvailableResponse) XXX_DiscardUnknown()
- func (m *MsgWithdrawAllAvailableResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgWithdrawAllAvailableResponse) XXX_Merge(src proto.Message)
- func (m *MsgWithdrawAllAvailableResponse) XXX_Size() int
- func (m *MsgWithdrawAllAvailableResponse) XXX_Unmarshal(b []byte) error
- type NewVestingAccount
- func (*NewVestingAccount) Descriptor() ([]byte, []int)
- func (m *NewVestingAccount) GetAddress() string
- func (m *NewVestingAccount) Marshal() (dAtA []byte, err error)
- func (m *NewVestingAccount) MarshalTo(dAtA []byte) (int, error)
- func (m *NewVestingAccount) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*NewVestingAccount) ProtoMessage()
- func (m *NewVestingAccount) Reset()
- func (m *NewVestingAccount) Size() (n int)
- func (m *NewVestingAccount) String() string
- func (m *NewVestingAccount) Unmarshal(dAtA []byte) error
- func (m *NewVestingAccount) XXX_DiscardUnknown()
- func (m *NewVestingAccount) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *NewVestingAccount) XXX_Merge(src proto.Message)
- func (m *NewVestingAccount) XXX_Size() int
- func (m *NewVestingAccount) XXX_Unmarshal(b []byte) error
- type NewVestingAccountFromVestingPool
- func (*NewVestingAccountFromVestingPool) Descriptor() ([]byte, []int)
- func (m *NewVestingAccountFromVestingPool) GetAddress() string
- func (m *NewVestingAccountFromVestingPool) GetAmount() string
- func (m *NewVestingAccountFromVestingPool) GetOwnerAddress() string
- func (m *NewVestingAccountFromVestingPool) GetRestartVesting() string
- func (m *NewVestingAccountFromVestingPool) GetVestingPoolId() string
- func (m *NewVestingAccountFromVestingPool) GetVestingPoolName() string
- func (m *NewVestingAccountFromVestingPool) Marshal() (dAtA []byte, err error)
- func (m *NewVestingAccountFromVestingPool) MarshalTo(dAtA []byte) (int, error)
- func (m *NewVestingAccountFromVestingPool) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*NewVestingAccountFromVestingPool) ProtoMessage()
- func (m *NewVestingAccountFromVestingPool) Reset()
- func (m *NewVestingAccountFromVestingPool) Size() (n int)
- func (m *NewVestingAccountFromVestingPool) String() string
- func (m *NewVestingAccountFromVestingPool) Unmarshal(dAtA []byte) error
- func (m *NewVestingAccountFromVestingPool) XXX_DiscardUnknown()
- func (m *NewVestingAccountFromVestingPool) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *NewVestingAccountFromVestingPool) XXX_Merge(src proto.Message)
- func (m *NewVestingAccountFromVestingPool) XXX_Size() int
- func (m *NewVestingAccountFromVestingPool) XXX_Unmarshal(b []byte) error
- type NewVestingPool
- func (*NewVestingPool) Descriptor() ([]byte, []int)
- func (m *NewVestingPool) GetAmount() string
- func (m *NewVestingPool) GetCreator() string
- func (m *NewVestingPool) GetDuration() string
- func (m *NewVestingPool) GetName() string
- func (m *NewVestingPool) GetVestingType() string
- func (m *NewVestingPool) Marshal() (dAtA []byte, err error)
- func (m *NewVestingPool) MarshalTo(dAtA []byte) (int, error)
- func (m *NewVestingPool) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*NewVestingPool) ProtoMessage()
- func (m *NewVestingPool) Reset()
- func (m *NewVestingPool) Size() (n int)
- func (m *NewVestingPool) String() string
- func (m *NewVestingPool) Unmarshal(dAtA []byte) error
- func (m *NewVestingPool) XXX_DiscardUnknown()
- func (m *NewVestingPool) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *NewVestingPool) XXX_Merge(src proto.Message)
- func (m *NewVestingPool) XXX_Size() int
- func (m *NewVestingPool) XXX_Unmarshal(b []byte) error
- type Params
- func (*Params) Descriptor() ([]byte, []int)
- func (m *Params) GetDenom() string
- func (m *Params) Marshal() (dAtA []byte, err error)
- func (m *Params) MarshalTo(dAtA []byte) (int, error)
- func (m *Params) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (p *Params) ParamSetPairs() paramtypes.ParamSetPairs
- func (*Params) ProtoMessage()
- func (m *Params) Reset()
- func (m *Params) Size() (n int)
- func (p Params) String() string
- func (m *Params) Unmarshal(dAtA []byte) error
- func (p Params) Validate() error
- func (m *Params) XXX_DiscardUnknown()
- func (m *Params) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *Params) XXX_Merge(src proto.Message)
- func (m *Params) XXX_Size() int
- func (m *Params) XXX_Unmarshal(b []byte) error
- type QueryClient
- type QueryParamsRequest
- func (*QueryParamsRequest) Descriptor() ([]byte, []int)
- func (m *QueryParamsRequest) Marshal() (dAtA []byte, err error)
- func (m *QueryParamsRequest) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryParamsRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryParamsRequest) ProtoMessage()
- func (m *QueryParamsRequest) Reset()
- func (m *QueryParamsRequest) Size() (n int)
- func (m *QueryParamsRequest) String() string
- func (m *QueryParamsRequest) Unmarshal(dAtA []byte) error
- func (m *QueryParamsRequest) XXX_DiscardUnknown()
- func (m *QueryParamsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryParamsRequest) XXX_Merge(src proto.Message)
- func (m *QueryParamsRequest) XXX_Size() int
- func (m *QueryParamsRequest) XXX_Unmarshal(b []byte) error
- type QueryParamsResponse
- func (*QueryParamsResponse) Descriptor() ([]byte, []int)
- func (m *QueryParamsResponse) GetParams() Params
- func (m *QueryParamsResponse) Marshal() (dAtA []byte, err error)
- func (m *QueryParamsResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryParamsResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryParamsResponse) ProtoMessage()
- func (m *QueryParamsResponse) Reset()
- func (m *QueryParamsResponse) Size() (n int)
- func (m *QueryParamsResponse) String() string
- func (m *QueryParamsResponse) Unmarshal(dAtA []byte) error
- func (m *QueryParamsResponse) XXX_DiscardUnknown()
- func (m *QueryParamsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryParamsResponse) XXX_Merge(src proto.Message)
- func (m *QueryParamsResponse) XXX_Size() int
- func (m *QueryParamsResponse) XXX_Unmarshal(b []byte) error
- type QueryServer
- type QueryVestingPoolsRequest
- func (*QueryVestingPoolsRequest) Descriptor() ([]byte, []int)
- func (m *QueryVestingPoolsRequest) GetAddress() string
- func (m *QueryVestingPoolsRequest) Marshal() (dAtA []byte, err error)
- func (m *QueryVestingPoolsRequest) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryVestingPoolsRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryVestingPoolsRequest) ProtoMessage()
- func (m *QueryVestingPoolsRequest) Reset()
- func (m *QueryVestingPoolsRequest) Size() (n int)
- func (m *QueryVestingPoolsRequest) String() string
- func (m *QueryVestingPoolsRequest) Unmarshal(dAtA []byte) error
- func (m *QueryVestingPoolsRequest) XXX_DiscardUnknown()
- func (m *QueryVestingPoolsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryVestingPoolsRequest) XXX_Merge(src proto.Message)
- func (m *QueryVestingPoolsRequest) XXX_Size() int
- func (m *QueryVestingPoolsRequest) XXX_Unmarshal(b []byte) error
- type QueryVestingPoolsResponse
- func (*QueryVestingPoolsResponse) Descriptor() ([]byte, []int)
- func (m *QueryVestingPoolsResponse) GetDelegableAddress() string
- func (m *QueryVestingPoolsResponse) GetVestingPools() []*VestingPoolInfo
- func (m *QueryVestingPoolsResponse) Marshal() (dAtA []byte, err error)
- func (m *QueryVestingPoolsResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryVestingPoolsResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryVestingPoolsResponse) ProtoMessage()
- func (m *QueryVestingPoolsResponse) Reset()
- func (m *QueryVestingPoolsResponse) Size() (n int)
- func (m *QueryVestingPoolsResponse) String() string
- func (m *QueryVestingPoolsResponse) Unmarshal(dAtA []byte) error
- func (m *QueryVestingPoolsResponse) XXX_DiscardUnknown()
- func (m *QueryVestingPoolsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryVestingPoolsResponse) XXX_Merge(src proto.Message)
- func (m *QueryVestingPoolsResponse) XXX_Size() int
- func (m *QueryVestingPoolsResponse) XXX_Unmarshal(b []byte) error
- type QueryVestingTypeRequest
- func (*QueryVestingTypeRequest) Descriptor() ([]byte, []int)
- func (m *QueryVestingTypeRequest) Marshal() (dAtA []byte, err error)
- func (m *QueryVestingTypeRequest) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryVestingTypeRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryVestingTypeRequest) ProtoMessage()
- func (m *QueryVestingTypeRequest) Reset()
- func (m *QueryVestingTypeRequest) Size() (n int)
- func (m *QueryVestingTypeRequest) String() string
- func (m *QueryVestingTypeRequest) Unmarshal(dAtA []byte) error
- func (m *QueryVestingTypeRequest) XXX_DiscardUnknown()
- func (m *QueryVestingTypeRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryVestingTypeRequest) XXX_Merge(src proto.Message)
- func (m *QueryVestingTypeRequest) XXX_Size() int
- func (m *QueryVestingTypeRequest) XXX_Unmarshal(b []byte) error
- type QueryVestingTypeResponse
- func (*QueryVestingTypeResponse) Descriptor() ([]byte, []int)
- func (m *QueryVestingTypeResponse) GetVestingTypes() []GenesisVestingType
- func (m *QueryVestingTypeResponse) Marshal() (dAtA []byte, err error)
- func (m *QueryVestingTypeResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryVestingTypeResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryVestingTypeResponse) ProtoMessage()
- func (m *QueryVestingTypeResponse) Reset()
- func (m *QueryVestingTypeResponse) Size() (n int)
- func (m *QueryVestingTypeResponse) String() string
- func (m *QueryVestingTypeResponse) Unmarshal(dAtA []byte) error
- func (m *QueryVestingTypeResponse) XXX_DiscardUnknown()
- func (m *QueryVestingTypeResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryVestingTypeResponse) XXX_Merge(src proto.Message)
- func (m *QueryVestingTypeResponse) XXX_Size() int
- func (m *QueryVestingTypeResponse) XXX_Unmarshal(b []byte) error
- type QueryVestingsRequest
- func (*QueryVestingsRequest) Descriptor() ([]byte, []int)
- func (m *QueryVestingsRequest) Marshal() (dAtA []byte, err error)
- func (m *QueryVestingsRequest) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryVestingsRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryVestingsRequest) ProtoMessage()
- func (m *QueryVestingsRequest) Reset()
- func (m *QueryVestingsRequest) Size() (n int)
- func (m *QueryVestingsRequest) String() string
- func (m *QueryVestingsRequest) Unmarshal(dAtA []byte) error
- func (m *QueryVestingsRequest) XXX_DiscardUnknown()
- func (m *QueryVestingsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryVestingsRequest) XXX_Merge(src proto.Message)
- func (m *QueryVestingsRequest) XXX_Size() int
- func (m *QueryVestingsRequest) XXX_Unmarshal(b []byte) error
- type QueryVestingsResponse
- func (*QueryVestingsResponse) Descriptor() ([]byte, []int)
- func (m *QueryVestingsResponse) Marshal() (dAtA []byte, err error)
- func (m *QueryVestingsResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryVestingsResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryVestingsResponse) ProtoMessage()
- func (m *QueryVestingsResponse) Reset()
- func (m *QueryVestingsResponse) Size() (n int)
- func (m *QueryVestingsResponse) String() string
- func (m *QueryVestingsResponse) Unmarshal(dAtA []byte) error
- func (m *QueryVestingsResponse) XXX_DiscardUnknown()
- func (m *QueryVestingsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryVestingsResponse) XXX_Merge(src proto.Message)
- func (m *QueryVestingsResponse) XXX_Size() int
- func (m *QueryVestingsResponse) XXX_Unmarshal(b []byte) error
- type StakingKeeper
- type UnimplementedMsgServer
- func (*UnimplementedMsgServer) CreateVestingAccount(ctx context.Context, req *MsgCreateVestingAccount) (*MsgCreateVestingAccountResponse, error)
- func (*UnimplementedMsgServer) CreateVestingPool(ctx context.Context, req *MsgCreateVestingPool) (*MsgCreateVestingPoolResponse, error)
- func (*UnimplementedMsgServer) SendToVestingAccount(ctx context.Context, req *MsgSendToVestingAccount) (*MsgSendToVestingAccountResponse, error)
- func (*UnimplementedMsgServer) WithdrawAllAvailable(ctx context.Context, req *MsgWithdrawAllAvailable) (*MsgWithdrawAllAvailableResponse, error)
- type UnimplementedQueryServer
- func (*UnimplementedQueryServer) Params(ctx context.Context, req *QueryParamsRequest) (*QueryParamsResponse, error)
- func (*UnimplementedQueryServer) VestingPools(ctx context.Context, req *QueryVestingPoolsRequest) (*QueryVestingPoolsResponse, error)
- func (*UnimplementedQueryServer) VestingType(ctx context.Context, req *QueryVestingTypeRequest) (*QueryVestingTypeResponse, error)
- func (*UnimplementedQueryServer) Vestings(ctx context.Context, req *QueryVestingsRequest) (*QueryVestingsResponse, error)
- type VestingAccount
- func (*VestingAccount) Descriptor() ([]byte, []int)
- func (m *VestingAccount) GetAddress() string
- func (m *VestingAccount) GetId() uint64
- func (m *VestingAccount) Marshal() (dAtA []byte, err error)
- func (m *VestingAccount) MarshalTo(dAtA []byte) (int, error)
- func (m *VestingAccount) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*VestingAccount) ProtoMessage()
- func (m *VestingAccount) Reset()
- func (m *VestingAccount) Size() (n int)
- func (m *VestingAccount) String() string
- func (m *VestingAccount) Unmarshal(dAtA []byte) error
- func (v VestingAccount) Validate() error
- func (m *VestingAccount) XXX_DiscardUnknown()
- func (m *VestingAccount) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *VestingAccount) XXX_Merge(src proto.Message)
- func (m *VestingAccount) XXX_Size() int
- func (m *VestingAccount) XXX_Unmarshal(b []byte) error
- type VestingPool
- func (*VestingPool) Descriptor() ([]byte, []int)
- func (m *VestingPool) GetId() int32
- func (m *VestingPool) GetLastModification() time.Time
- func (m *VestingPool) GetLockEnd() time.Time
- func (m *VestingPool) GetLockStart() time.Time
- func (m *VestingPool) GetName() string
- func (m *VestingPool) GetVestingType() string
- func (m *VestingPool) Marshal() (dAtA []byte, err error)
- func (m *VestingPool) MarshalTo(dAtA []byte) (int, error)
- func (m *VestingPool) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*VestingPool) ProtoMessage()
- func (m *VestingPool) Reset()
- func (m *VestingPool) Size() (n int)
- func (m *VestingPool) String() string
- func (m *VestingPool) Unmarshal(dAtA []byte) error
- func (m *VestingPool) XXX_DiscardUnknown()
- func (m *VestingPool) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *VestingPool) XXX_Merge(src proto.Message)
- func (m *VestingPool) XXX_Size() int
- func (m *VestingPool) XXX_Unmarshal(b []byte) error
- type VestingPoolInfo
- func (*VestingPoolInfo) Descriptor() ([]byte, []int)
- func (m *VestingPoolInfo) GetCurrentVestedAmount() string
- func (m *VestingPoolInfo) GetId() int32
- func (m *VestingPoolInfo) GetLockEnd() time.Time
- func (m *VestingPoolInfo) GetLockStart() time.Time
- func (m *VestingPoolInfo) GetName() string
- func (m *VestingPoolInfo) GetSentAmount() string
- func (m *VestingPoolInfo) GetVested() *types.Coin
- func (m *VestingPoolInfo) GetVestingType() string
- func (m *VestingPoolInfo) GetWithdrawable() string
- func (m *VestingPoolInfo) Marshal() (dAtA []byte, err error)
- func (m *VestingPoolInfo) MarshalTo(dAtA []byte) (int, error)
- func (m *VestingPoolInfo) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*VestingPoolInfo) ProtoMessage()
- func (m *VestingPoolInfo) Reset()
- func (m *VestingPoolInfo) Size() (n int)
- func (m *VestingPoolInfo) String() string
- func (m *VestingPoolInfo) Unmarshal(dAtA []byte) error
- func (m *VestingPoolInfo) XXX_DiscardUnknown()
- func (m *VestingPoolInfo) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *VestingPoolInfo) XXX_Merge(src proto.Message)
- func (m *VestingPoolInfo) XXX_Size() int
- func (m *VestingPoolInfo) XXX_Unmarshal(b []byte) error
- type VestingType
- func (*VestingType) Descriptor() ([]byte, []int)
- func (m *VestingType) GetLockupPeriod() time.Duration
- func (m *VestingType) GetName() string
- func (m *VestingType) GetVestingPeriod() time.Duration
- func (m *VestingType) Marshal() (dAtA []byte, err error)
- func (m *VestingType) MarshalTo(dAtA []byte) (int, error)
- func (m *VestingType) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*VestingType) ProtoMessage()
- func (m *VestingType) Reset()
- func (m *VestingType) Size() (n int)
- func (m *VestingType) String() string
- func (m *VestingType) Unmarshal(dAtA []byte) error
- func (m *VestingType) XXX_DiscardUnknown()
- func (m *VestingType) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *VestingType) XXX_Merge(src proto.Message)
- func (m *VestingType) XXX_Size() int
- func (m *VestingType) XXX_Unmarshal(b []byte) error
- type VestingTypes
- func (*VestingTypes) Descriptor() ([]byte, []int)
- func (m *VestingTypes) GetVestingTypes() []*VestingType
- func (m *VestingTypes) Marshal() (dAtA []byte, err error)
- func (m *VestingTypes) MarshalTo(dAtA []byte) (int, error)
- func (m *VestingTypes) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*VestingTypes) ProtoMessage()
- func (m *VestingTypes) Reset()
- func (m *VestingTypes) Size() (n int)
- func (m *VestingTypes) String() string
- func (m *VestingTypes) Unmarshal(dAtA []byte) error
- func (m *VestingTypes) XXX_DiscardUnknown()
- func (m *VestingTypes) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *VestingTypes) XXX_Merge(src proto.Message)
- func (m *VestingTypes) XXX_Size() int
- func (m *VestingTypes) XXX_Unmarshal(b []byte) error
- type WithdrawAvailable
- func (*WithdrawAvailable) Descriptor() ([]byte, []int)
- func (m *WithdrawAvailable) GetAmount() string
- func (m *WithdrawAvailable) GetOwnerAddress() string
- func (m *WithdrawAvailable) GetVestingPoolId() string
- func (m *WithdrawAvailable) GetVestingPoolName() string
- func (m *WithdrawAvailable) Marshal() (dAtA []byte, err error)
- func (m *WithdrawAvailable) MarshalTo(dAtA []byte) (int, error)
- func (m *WithdrawAvailable) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*WithdrawAvailable) ProtoMessage()
- func (m *WithdrawAvailable) Reset()
- func (m *WithdrawAvailable) Size() (n int)
- func (m *WithdrawAvailable) String() string
- func (m *WithdrawAvailable) Unmarshal(dAtA []byte) error
- func (m *WithdrawAvailable) XXX_DiscardUnknown()
- func (m *WithdrawAvailable) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *WithdrawAvailable) XXX_Merge(src proto.Message)
- func (m *WithdrawAvailable) XXX_Size() int
- func (m *WithdrawAvailable) XXX_Unmarshal(b []byte) error
Constants ¶
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" )
const ( VestingAccountKey = "VestingAccount-value-" VestingAccountCountKey = "VestingAccount-count-" )
const DefaultIndex uint64 = 1
DefaultIndex is the default capability global index
const TypeMsgCreateVestingAccount = "create_vesting_account"
const TypeMsgSendToVestingAccount = "send_to_vesting_account"
const TypeMsgVest = "vest"
const TypeMsgWithdrawAllAvailable = "withdraw_all_available"
Variables ¶
var ( ErrInvalidLengthAccountVesting = fmt.Errorf("proto: negative length found during unmarshaling") ErrIntOverflowAccountVesting = fmt.Errorf("proto: integer overflow") ErrUnexpectedEndOfGroupAccountVesting = fmt.Errorf("proto: unexpected end of group") )
var ( Amino = codec.NewLegacyAmino() ModuleCdc = codec.NewAminoCodec(Amino) )
var ( ErrInvalidLengthEvent = fmt.Errorf("proto: negative length found during unmarshaling") ErrIntOverflowEvent = fmt.Errorf("proto: integer overflow") ErrUnexpectedEndOfGroupEvent = fmt.Errorf("proto: unexpected end of group") )
var ( ErrInvalidLengthGenesis = fmt.Errorf("proto: negative length found during unmarshaling") ErrIntOverflowGenesis = fmt.Errorf("proto: integer overflow") ErrUnexpectedEndOfGroupGenesis = fmt.Errorf("proto: unexpected end of group") )
var ( VestingTypesKey = []byte{0x01} AccountVestingsKeyPrefix = []byte{0x02} )
var ( KeyDenom = []byte("Denom") DefaultDenom string = "uc4e" )
var ( ErrInvalidLengthParams = fmt.Errorf("proto: negative length found during unmarshaling") ErrIntOverflowParams = fmt.Errorf("proto: integer overflow") ErrUnexpectedEndOfGroupParams = fmt.Errorf("proto: unexpected end of group") )
var ( ErrInvalidLengthQuery = fmt.Errorf("proto: negative length found during unmarshaling") ErrIntOverflowQuery = fmt.Errorf("proto: integer overflow") ErrUnexpectedEndOfGroupQuery = fmt.Errorf("proto: unexpected end of group") )
var ( ErrInvalidLengthTx = fmt.Errorf("proto: negative length found during unmarshaling") ErrIntOverflowTx = fmt.Errorf("proto: integer overflow") ErrUnexpectedEndOfGroupTx = fmt.Errorf("proto: unexpected end of group") )
var ( ErrInvalidLengthVestingAccount = fmt.Errorf("proto: negative length found during unmarshaling") ErrIntOverflowVestingAccount = fmt.Errorf("proto: integer overflow") ErrUnexpectedEndOfGroupVestingAccount = fmt.Errorf("proto: unexpected end of group") )
var ( ErrInvalidLengthVestingTypes = fmt.Errorf("proto: negative length found during unmarshaling") ErrIntOverflowVestingTypes = fmt.Errorf("proto: integer overflow") ErrUnexpectedEndOfGroupVestingTypes = fmt.Errorf("proto: unexpected end of group") )
var (
ErrSample = sdkerrors.Register(ModuleName, 1100, "sample error")
)
x/cfevesting module sentinel errors
Functions ¶
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 RegisterQueryHandler ¶
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 AccountVestings ¶
type AccountVestings struct { Address string `protobuf:"bytes,1,opt,name=address,proto3" json:"address,omitempty"` // string delegable_address = 2; VestingPools []*VestingPool `protobuf:"bytes,3,rep,name=vesting_pools,json=vestingPools,proto3" json:"vesting_pools,omitempty"` }
func (*AccountVestings) Descriptor ¶
func (*AccountVestings) Descriptor() ([]byte, []int)
func (*AccountVestings) GetAddress ¶
func (m *AccountVestings) GetAddress() string
func (*AccountVestings) GetVestingPools ¶
func (m *AccountVestings) GetVestingPools() []*VestingPool
func (*AccountVestings) Marshal ¶
func (m *AccountVestings) Marshal() (dAtA []byte, err error)
func (*AccountVestings) MarshalToSizedBuffer ¶
func (m *AccountVestings) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*AccountVestings) ProtoMessage ¶
func (*AccountVestings) ProtoMessage()
func (*AccountVestings) Reset ¶
func (m *AccountVestings) Reset()
func (*AccountVestings) Size ¶
func (m *AccountVestings) Size() (n int)
func (*AccountVestings) String ¶
func (m *AccountVestings) String() string
func (*AccountVestings) Unmarshal ¶
func (m *AccountVestings) Unmarshal(dAtA []byte) error
func (AccountVestings) Validate ¶
func (av AccountVestings) Validate() error
func (AccountVestings) ValidateAgainstVestingTypes ¶
func (av AccountVestings) ValidateAgainstVestingTypes(vestingTypes []GenesisVestingType) error
func (*AccountVestings) XXX_DiscardUnknown ¶
func (m *AccountVestings) XXX_DiscardUnknown()
func (*AccountVestings) XXX_Marshal ¶
func (m *AccountVestings) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*AccountVestings) XXX_Merge ¶
func (m *AccountVestings) XXX_Merge(src proto.Message)
func (*AccountVestings) XXX_Size ¶
func (m *AccountVestings) XXX_Size() int
func (*AccountVestings) XXX_Unmarshal ¶
func (m *AccountVestings) XXX_Unmarshal(b []byte) error
type AccountVestingsList ¶
type AccountVestingsList struct {
Vestings []*AccountVestings `protobuf:"bytes,1,rep,name=vestings,proto3" json:"vestings,omitempty"`
}
func (*AccountVestingsList) Descriptor ¶
func (*AccountVestingsList) Descriptor() ([]byte, []int)
func (*AccountVestingsList) GetVestings ¶
func (m *AccountVestingsList) GetVestings() []*AccountVestings
func (*AccountVestingsList) Marshal ¶
func (m *AccountVestingsList) Marshal() (dAtA []byte, err error)
func (*AccountVestingsList) MarshalTo ¶
func (m *AccountVestingsList) MarshalTo(dAtA []byte) (int, error)
func (*AccountVestingsList) MarshalToSizedBuffer ¶
func (m *AccountVestingsList) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*AccountVestingsList) ProtoMessage ¶
func (*AccountVestingsList) ProtoMessage()
func (*AccountVestingsList) Reset ¶
func (m *AccountVestingsList) Reset()
func (*AccountVestingsList) Size ¶
func (m *AccountVestingsList) Size() (n int)
func (*AccountVestingsList) String ¶
func (m *AccountVestingsList) String() string
func (*AccountVestingsList) Unmarshal ¶
func (m *AccountVestingsList) Unmarshal(dAtA []byte) error
func (*AccountVestingsList) XXX_DiscardUnknown ¶
func (m *AccountVestingsList) XXX_DiscardUnknown()
func (*AccountVestingsList) XXX_Marshal ¶
func (m *AccountVestingsList) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*AccountVestingsList) XXX_Merge ¶
func (m *AccountVestingsList) XXX_Merge(src proto.Message)
func (*AccountVestingsList) XXX_Size ¶
func (m *AccountVestingsList) XXX_Size() int
func (*AccountVestingsList) XXX_Unmarshal ¶
func (m *AccountVestingsList) 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"` 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"` // this line is used by starport scaffolding # genesis/proto/state VestingTypes []GenesisVestingType `protobuf:"bytes,2,rep,name=vesting_types,json=vestingTypes,proto3" json:"vesting_types" yaml:"vesting_types"` AccountVestingsList AccountVestingsList `` /* 139-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) GetAccountVestingsList ¶
func (m *GenesisState) GetAccountVestingsList() AccountVestingsList
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) 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"` }
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) 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 (*MsgCreateVestingAccount) Descriptor ¶
func (*MsgCreateVestingAccount) Descriptor() ([]byte, []int)
func (*MsgCreateVestingAccount) GetAmount ¶
func (m *MsgCreateVestingAccount) GetAmount() github_com_cosmos_cosmos_sdk_types.Coins
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 (m *MsgCreateVestingAccountResponse) Reset()
func (*MsgCreateVestingAccountResponse) Size ¶
func (m *MsgCreateVestingAccountResponse) Size() (n int)
func (*MsgCreateVestingAccountResponse) String ¶
func (m *MsgCreateVestingAccountResponse) String() 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 (*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 (m *MsgCreateVestingPoolResponse) String() 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"` VestingId int32 `protobuf:"varint,3,opt,name=vesting_id,json=vestingId,proto3" json:"vesting_id,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 (*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) GetVestingId ¶
func (m *MsgSendToVestingAccount) GetVestingId() int32
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 (m *MsgSendToVestingAccountResponse) Reset()
func (*MsgSendToVestingAccountResponse) Size ¶
func (m *MsgSendToVestingAccountResponse) Size() (n int)
func (*MsgSendToVestingAccountResponse) String ¶
func (m *MsgSendToVestingAccountResponse) String() 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 ¶
type MsgServer interface { CreateVestingPool(context.Context, *MsgCreateVestingPool) (*MsgCreateVestingPoolResponse, error) WithdrawAllAvailable(context.Context, *MsgWithdrawAllAvailable) (*MsgWithdrawAllAvailableResponse, error) CreateVestingAccount(context.Context, *MsgCreateVestingAccount) (*MsgCreateVestingAccountResponse, error) SendToVestingAccount(context.Context, *MsgSendToVestingAccount) (*MsgSendToVestingAccountResponse, error) }
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 { }
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 (m *MsgWithdrawAllAvailableResponse) Reset()
func (*MsgWithdrawAllAvailableResponse) Size ¶
func (m *MsgWithdrawAllAvailableResponse) Size() (n int)
func (*MsgWithdrawAllAvailableResponse) String ¶
func (m *MsgWithdrawAllAvailableResponse) String() 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"` VestingPoolId string `protobuf:"bytes,3,opt,name=vesting_pool_id,json=vestingPoolId,proto3" json:"vesting_pool_id,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 (m *NewVestingAccountFromVestingPool) GetAmount() string
func (*NewVestingAccountFromVestingPool) GetOwnerAddress ¶
func (m *NewVestingAccountFromVestingPool) GetOwnerAddress() string
func (*NewVestingAccountFromVestingPool) GetRestartVesting ¶
func (m *NewVestingAccountFromVestingPool) GetRestartVesting() string
func (*NewVestingAccountFromVestingPool) GetVestingPoolId ¶
func (m *NewVestingAccountFromVestingPool) GetVestingPoolId() 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 (m *NewVestingAccountFromVestingPool) Reset()
func (*NewVestingAccountFromVestingPool) Size ¶
func (m *NewVestingAccountFromVestingPool) Size() (n int)
func (*NewVestingAccountFromVestingPool) String ¶
func (m *NewVestingAccountFromVestingPool) String() 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 (m *NewVestingAccountFromVestingPool) XXX_Merge(src proto.Message)
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) 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 (*Params) Descriptor ¶
func (*Params) MarshalToSizedBuffer ¶
func (*Params) ParamSetPairs ¶
func (p *Params) ParamSetPairs() paramtypes.ParamSetPairs
ParamSetPairs get the params.ParamSet
func (*Params) ProtoMessage ¶
func (*Params) ProtoMessage()
func (*Params) XXX_DiscardUnknown ¶
func (m *Params) XXX_DiscardUnknown()
func (*Params) XXX_Marshal ¶
func (*Params) XXX_Unmarshal ¶
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 list of Vestings items. Vestings(ctx context.Context, in *QueryVestingsRequest, opts ...grpc.CallOption) (*QueryVestingsResponse, 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 list of Vestings items. Vestings(context.Context, *QueryVestingsRequest) (*QueryVestingsResponse, 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 { DelegableAddress string `` /* 134-byte string literal not displayed */ 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) GetDelegableAddress ¶
func (m *QueryVestingPoolsResponse) GetDelegableAddress() string
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 QueryVestingsRequest ¶
type QueryVestingsRequest struct { }
func (*QueryVestingsRequest) Descriptor ¶
func (*QueryVestingsRequest) Descriptor() ([]byte, []int)
func (*QueryVestingsRequest) Marshal ¶
func (m *QueryVestingsRequest) Marshal() (dAtA []byte, err error)
func (*QueryVestingsRequest) MarshalTo ¶
func (m *QueryVestingsRequest) MarshalTo(dAtA []byte) (int, error)
func (*QueryVestingsRequest) MarshalToSizedBuffer ¶
func (m *QueryVestingsRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QueryVestingsRequest) ProtoMessage ¶
func (*QueryVestingsRequest) ProtoMessage()
func (*QueryVestingsRequest) Reset ¶
func (m *QueryVestingsRequest) Reset()
func (*QueryVestingsRequest) Size ¶
func (m *QueryVestingsRequest) Size() (n int)
func (*QueryVestingsRequest) String ¶
func (m *QueryVestingsRequest) String() string
func (*QueryVestingsRequest) Unmarshal ¶
func (m *QueryVestingsRequest) Unmarshal(dAtA []byte) error
func (*QueryVestingsRequest) XXX_DiscardUnknown ¶
func (m *QueryVestingsRequest) XXX_DiscardUnknown()
func (*QueryVestingsRequest) XXX_Marshal ¶
func (m *QueryVestingsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QueryVestingsRequest) XXX_Merge ¶
func (m *QueryVestingsRequest) XXX_Merge(src proto.Message)
func (*QueryVestingsRequest) XXX_Size ¶
func (m *QueryVestingsRequest) XXX_Size() int
func (*QueryVestingsRequest) XXX_Unmarshal ¶
func (m *QueryVestingsRequest) XXX_Unmarshal(b []byte) error
type QueryVestingsResponse ¶
type QueryVestingsResponse 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 (*QueryVestingsResponse) Descriptor ¶
func (*QueryVestingsResponse) Descriptor() ([]byte, []int)
func (*QueryVestingsResponse) Marshal ¶
func (m *QueryVestingsResponse) Marshal() (dAtA []byte, err error)
func (*QueryVestingsResponse) MarshalTo ¶
func (m *QueryVestingsResponse) MarshalTo(dAtA []byte) (int, error)
func (*QueryVestingsResponse) MarshalToSizedBuffer ¶
func (m *QueryVestingsResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QueryVestingsResponse) ProtoMessage ¶
func (*QueryVestingsResponse) ProtoMessage()
func (*QueryVestingsResponse) Reset ¶
func (m *QueryVestingsResponse) Reset()
func (*QueryVestingsResponse) Size ¶
func (m *QueryVestingsResponse) Size() (n int)
func (*QueryVestingsResponse) String ¶
func (m *QueryVestingsResponse) String() string
func (*QueryVestingsResponse) Unmarshal ¶
func (m *QueryVestingsResponse) Unmarshal(dAtA []byte) error
func (*QueryVestingsResponse) XXX_DiscardUnknown ¶
func (m *QueryVestingsResponse) XXX_DiscardUnknown()
func (*QueryVestingsResponse) XXX_Marshal ¶
func (m *QueryVestingsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QueryVestingsResponse) XXX_Merge ¶
func (m *QueryVestingsResponse) XXX_Merge(src proto.Message)
func (*QueryVestingsResponse) XXX_Size ¶
func (m *QueryVestingsResponse) XXX_Size() int
func (*QueryVestingsResponse) XXX_Unmarshal ¶
func (m *QueryVestingsResponse) 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) CreateVestingAccount(ctx context.Context, req *MsgCreateVestingAccount) (*MsgCreateVestingAccountResponse, error)
func (*UnimplementedMsgServer) CreateVestingPool ¶
func (*UnimplementedMsgServer) CreateVestingPool(ctx context.Context, req *MsgCreateVestingPool) (*MsgCreateVestingPoolResponse, error)
func (*UnimplementedMsgServer) SendToVestingAccount ¶
func (*UnimplementedMsgServer) SendToVestingAccount(ctx context.Context, req *MsgSendToVestingAccount) (*MsgSendToVestingAccountResponse, error)
func (*UnimplementedMsgServer) WithdrawAllAvailable ¶
func (*UnimplementedMsgServer) WithdrawAllAvailable(ctx context.Context, req *MsgWithdrawAllAvailable) (*MsgWithdrawAllAvailableResponse, error)
type UnimplementedQueryServer ¶
type UnimplementedQueryServer struct { }
UnimplementedQueryServer can be embedded to have forward compatible implementations.
func (*UnimplementedQueryServer) Params ¶
func (*UnimplementedQueryServer) Params(ctx context.Context, req *QueryParamsRequest) (*QueryParamsResponse, error)
func (*UnimplementedQueryServer) VestingPools ¶
func (*UnimplementedQueryServer) VestingPools(ctx context.Context, req *QueryVestingPoolsRequest) (*QueryVestingPoolsResponse, error)
func (*UnimplementedQueryServer) VestingType ¶
func (*UnimplementedQueryServer) VestingType(ctx context.Context, req *QueryVestingTypeRequest) (*QueryVestingTypeResponse, error)
func (*UnimplementedQueryServer) Vestings ¶
func (*UnimplementedQueryServer) Vestings(ctx context.Context, req *QueryVestingsRequest) (*QueryVestingsResponse, error)
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) 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 { Id int32 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"` 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"` Vested github_com_cosmos_cosmos_sdk_types.Int `protobuf:"bytes,6,opt,name=vested,proto3,customtype=github.com/cosmos/cosmos-sdk/types.Int" json:"vested"` Withdrawn github_com_cosmos_cosmos_sdk_types.Int `protobuf:"bytes,7,opt,name=withdrawn,proto3,customtype=github.com/cosmos/cosmos-sdk/types.Int" json:"withdrawn"` Sent github_com_cosmos_cosmos_sdk_types.Int `protobuf:"bytes,8,opt,name=sent,proto3,customtype=github.com/cosmos/cosmos-sdk/types.Int" json:"sent"` LastModification time.Time `protobuf:"bytes,9,opt,name=last_modification,json=lastModification,proto3,stdtime" json:"last_modification"` LastModificationVested github_com_cosmos_cosmos_sdk_types.Int `` /* 170-byte string literal not displayed */ LastModificationWithdrawn github_com_cosmos_cosmos_sdk_types.Int `` /* 179-byte string literal not displayed */ }
func (*VestingPool) Descriptor ¶
func (*VestingPool) Descriptor() ([]byte, []int)
func (*VestingPool) GetId ¶
func (m *VestingPool) GetId() int32
func (*VestingPool) GetLastModification ¶
func (m *VestingPool) GetLastModification() time.Time
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) 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) 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 { Id int32 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"` 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"` Vested *types.Coin `protobuf:"bytes,7,opt,name=vested,proto3" json:"vested,omitempty"` CurrentVestedAmount string `protobuf:"bytes,8,opt,name=current_vested_amount,json=currentVestedAmount,proto3" json:"current_vested_amount,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) GetCurrentVestedAmount ¶
func (m *VestingPoolInfo) GetCurrentVestedAmount() string
func (*VestingPoolInfo) GetId ¶
func (m *VestingPoolInfo) GetId() int32
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) GetVested ¶
func (m *VestingPoolInfo) GetVested() *types.Coin
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) 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 veesting coins (minutes) from lockup period end VestingPeriod time.Duration `protobuf:"bytes,3,opt,name=vesting_period,json=vestingPeriod,proto3,stdduration" json:"vesting_period"` }
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) 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) 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"` VestingPoolId string `protobuf:"bytes,3,opt,name=vesting_pool_id,json=vestingPoolId,proto3" json:"vesting_pool_id,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) GetVestingPoolId ¶
func (m *WithdrawAvailable) GetVestingPoolId() 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
Source Files ¶
- account_vesting.pb.go
- codec.go
- errors.go
- event.pb.go
- expected_keepers.go
- genesis.go
- genesis.pb.go
- keys.go
- message_create_vesting_account.go
- message_create_vesting_pool.go
- message_send_to_vesting_account.go
- message_withdraw_all_available.go
- params.go
- params.pb.go
- query.pb.go
- query.pb.gw.go
- tx.pb.go
- types.go
- vesting_account.go
- vesting_account.pb.go
- vesting_types.pb.go