Documentation ¶
Index ¶
- Constants
- Variables
- func RegisterMsgExtendServer(s grpc1.Server, srv MsgExtendServer)
- type BankKeeper
- type MsgCreatePeriodicVestingAccount
- func (*MsgCreatePeriodicVestingAccount) Descriptor() ([]byte, []int)
- func (m *MsgCreatePeriodicVestingAccount) GetFromAddress() string
- func (msg MsgCreatePeriodicVestingAccount) GetSignBytes() []byte
- func (msg MsgCreatePeriodicVestingAccount) GetSigners() []sdk.AccAddress
- func (m *MsgCreatePeriodicVestingAccount) GetStartTime() int64
- func (m *MsgCreatePeriodicVestingAccount) GetToAddress() string
- func (m *MsgCreatePeriodicVestingAccount) GetVestingPeriods() []types.Period
- func (m *MsgCreatePeriodicVestingAccount) Marshal() (dAtA []byte, err error)
- func (m *MsgCreatePeriodicVestingAccount) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgCreatePeriodicVestingAccount) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgCreatePeriodicVestingAccount) ProtoMessage()
- func (m *MsgCreatePeriodicVestingAccount) Reset()
- func (msg MsgCreatePeriodicVestingAccount) Route() string
- func (m *MsgCreatePeriodicVestingAccount) Size() (n int)
- func (m *MsgCreatePeriodicVestingAccount) String() string
- func (msg MsgCreatePeriodicVestingAccount) Type() string
- func (m *MsgCreatePeriodicVestingAccount) Unmarshal(dAtA []byte) error
- func (msg MsgCreatePeriodicVestingAccount) ValidateBasic() error
- func (m *MsgCreatePeriodicVestingAccount) XXX_DiscardUnknown()
- func (m *MsgCreatePeriodicVestingAccount) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgCreatePeriodicVestingAccount) XXX_Merge(src proto.Message)
- func (m *MsgCreatePeriodicVestingAccount) XXX_Size() int
- func (m *MsgCreatePeriodicVestingAccount) XXX_Unmarshal(b []byte) error
- type MsgCreatePeriodicVestingAccountResponse
- func (*MsgCreatePeriodicVestingAccountResponse) Descriptor() ([]byte, []int)
- func (m *MsgCreatePeriodicVestingAccountResponse) Marshal() (dAtA []byte, err error)
- func (m *MsgCreatePeriodicVestingAccountResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgCreatePeriodicVestingAccountResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgCreatePeriodicVestingAccountResponse) ProtoMessage()
- func (m *MsgCreatePeriodicVestingAccountResponse) Reset()
- func (m *MsgCreatePeriodicVestingAccountResponse) Size() (n int)
- func (m *MsgCreatePeriodicVestingAccountResponse) String() string
- func (m *MsgCreatePeriodicVestingAccountResponse) Unmarshal(dAtA []byte) error
- func (m *MsgCreatePeriodicVestingAccountResponse) XXX_DiscardUnknown()
- func (m *MsgCreatePeriodicVestingAccountResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgCreatePeriodicVestingAccountResponse) XXX_Merge(src proto.Message)
- func (m *MsgCreatePeriodicVestingAccountResponse) XXX_Size() int
- func (m *MsgCreatePeriodicVestingAccountResponse) XXX_Unmarshal(b []byte) error
- type MsgExtendClient
- type MsgExtendServer
- type UnimplementedMsgExtendServer
Constants ¶
const TypeMsgCreatePeriodicVestingAccount = "msg_create_periodic_vesting_account"
TypeMsgCreatePeriodicVestingAccount defines the type value for a MsgCreateVestingAccount.
Variables ¶
Functions ¶
func RegisterMsgExtendServer ¶
func RegisterMsgExtendServer(s grpc1.Server, srv MsgExtendServer)
Types ¶
type BankKeeper ¶
type BankKeeper interface { IsSendEnabledCoins(ctx sdk.Context, coins ...sdk.Coin) error SendCoins(ctx sdk.Context, fromAddr sdk.AccAddress, toAddr sdk.AccAddress, amt sdk.Coins) error BlockedAddr(addr sdk.AccAddress) bool }
BankKeeper defines the expected interface contract the vesting module requires for creating vesting accounts with funds.
type MsgCreatePeriodicVestingAccount ¶
type MsgCreatePeriodicVestingAccount 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"` StartTime int64 `protobuf:"varint,3,opt,name=start_time,json=startTime,proto3" json:"start_time,omitempty"` VestingPeriods []types.Period `protobuf:"bytes,4,rep,name=vesting_periods,json=vestingPeriods,proto3" json:"vesting_periods"` }
MsgCreatePeriodicVestingAccount defines a message that enables creating a periodic vesting account.
func NewMsgCreatePeriodicVestingAccount ¶
func NewMsgCreatePeriodicVestingAccount(fromAddr, toAddr sdk.AccAddress, startTime int64, periods []orgtypes.Period) *MsgCreatePeriodicVestingAccount
NewMsgCreatePeriodicVestingAccount returns a reference to a new MsgCreatePeriodicVestingAccount.
func (*MsgCreatePeriodicVestingAccount) Descriptor ¶
func (*MsgCreatePeriodicVestingAccount) Descriptor() ([]byte, []int)
func (*MsgCreatePeriodicVestingAccount) GetFromAddress ¶
func (m *MsgCreatePeriodicVestingAccount) GetFromAddress() string
func (MsgCreatePeriodicVestingAccount) GetSignBytes ¶
func (msg MsgCreatePeriodicVestingAccount) GetSignBytes() []byte
GetSignBytes returns the bytes all expected signers must sign over for a MsgCreatePeriodicVestingAccount.
func (MsgCreatePeriodicVestingAccount) GetSigners ¶
func (msg MsgCreatePeriodicVestingAccount) GetSigners() []sdk.AccAddress
GetSigners returns the expected signers for a MsgCreatePeriodicVestingAccount.
func (*MsgCreatePeriodicVestingAccount) GetStartTime ¶
func (m *MsgCreatePeriodicVestingAccount) GetStartTime() int64
func (*MsgCreatePeriodicVestingAccount) GetToAddress ¶
func (m *MsgCreatePeriodicVestingAccount) GetToAddress() string
func (*MsgCreatePeriodicVestingAccount) GetVestingPeriods ¶
func (m *MsgCreatePeriodicVestingAccount) GetVestingPeriods() []types.Period
func (*MsgCreatePeriodicVestingAccount) Marshal ¶
func (m *MsgCreatePeriodicVestingAccount) Marshal() (dAtA []byte, err error)
func (*MsgCreatePeriodicVestingAccount) MarshalTo ¶
func (m *MsgCreatePeriodicVestingAccount) MarshalTo(dAtA []byte) (int, error)
func (*MsgCreatePeriodicVestingAccount) MarshalToSizedBuffer ¶
func (m *MsgCreatePeriodicVestingAccount) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MsgCreatePeriodicVestingAccount) ProtoMessage ¶
func (*MsgCreatePeriodicVestingAccount) ProtoMessage()
func (*MsgCreatePeriodicVestingAccount) Reset ¶
func (m *MsgCreatePeriodicVestingAccount) Reset()
func (MsgCreatePeriodicVestingAccount) Route ¶
func (msg MsgCreatePeriodicVestingAccount) Route() string
Route returns the message route for a MsgCreatePeriodicVestingAccount.
func (*MsgCreatePeriodicVestingAccount) Size ¶
func (m *MsgCreatePeriodicVestingAccount) Size() (n int)
func (*MsgCreatePeriodicVestingAccount) String ¶
func (m *MsgCreatePeriodicVestingAccount) String() string
func (MsgCreatePeriodicVestingAccount) Type ¶
func (msg MsgCreatePeriodicVestingAccount) Type() string
Type returns the message type for a MsgCreatePeriodicVestingAccount.
func (*MsgCreatePeriodicVestingAccount) Unmarshal ¶
func (m *MsgCreatePeriodicVestingAccount) Unmarshal(dAtA []byte) error
func (MsgCreatePeriodicVestingAccount) ValidateBasic ¶
func (msg MsgCreatePeriodicVestingAccount) ValidateBasic() error
ValidateBasic Implements Msg.
func (*MsgCreatePeriodicVestingAccount) XXX_DiscardUnknown ¶
func (m *MsgCreatePeriodicVestingAccount) XXX_DiscardUnknown()
func (*MsgCreatePeriodicVestingAccount) XXX_Marshal ¶
func (m *MsgCreatePeriodicVestingAccount) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MsgCreatePeriodicVestingAccount) XXX_Merge ¶
func (m *MsgCreatePeriodicVestingAccount) XXX_Merge(src proto.Message)
func (*MsgCreatePeriodicVestingAccount) XXX_Size ¶
func (m *MsgCreatePeriodicVestingAccount) XXX_Size() int
func (*MsgCreatePeriodicVestingAccount) XXX_Unmarshal ¶
func (m *MsgCreatePeriodicVestingAccount) XXX_Unmarshal(b []byte) error
type MsgCreatePeriodicVestingAccountResponse ¶
type MsgCreatePeriodicVestingAccountResponse struct { }
MsgCreateVestingAccountResponse defines the Msg/CreatePeriodicVestingAccount response type.
func (*MsgCreatePeriodicVestingAccountResponse) Descriptor ¶
func (*MsgCreatePeriodicVestingAccountResponse) Descriptor() ([]byte, []int)
func (*MsgCreatePeriodicVestingAccountResponse) Marshal ¶
func (m *MsgCreatePeriodicVestingAccountResponse) Marshal() (dAtA []byte, err error)
func (*MsgCreatePeriodicVestingAccountResponse) MarshalTo ¶
func (m *MsgCreatePeriodicVestingAccountResponse) MarshalTo(dAtA []byte) (int, error)
func (*MsgCreatePeriodicVestingAccountResponse) MarshalToSizedBuffer ¶
func (m *MsgCreatePeriodicVestingAccountResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MsgCreatePeriodicVestingAccountResponse) ProtoMessage ¶
func (*MsgCreatePeriodicVestingAccountResponse) ProtoMessage()
func (*MsgCreatePeriodicVestingAccountResponse) Reset ¶
func (m *MsgCreatePeriodicVestingAccountResponse) Reset()
func (*MsgCreatePeriodicVestingAccountResponse) Size ¶
func (m *MsgCreatePeriodicVestingAccountResponse) Size() (n int)
func (*MsgCreatePeriodicVestingAccountResponse) String ¶
func (m *MsgCreatePeriodicVestingAccountResponse) String() string
func (*MsgCreatePeriodicVestingAccountResponse) Unmarshal ¶
func (m *MsgCreatePeriodicVestingAccountResponse) Unmarshal(dAtA []byte) error
func (*MsgCreatePeriodicVestingAccountResponse) XXX_DiscardUnknown ¶
func (m *MsgCreatePeriodicVestingAccountResponse) XXX_DiscardUnknown()
func (*MsgCreatePeriodicVestingAccountResponse) XXX_Marshal ¶
func (m *MsgCreatePeriodicVestingAccountResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MsgCreatePeriodicVestingAccountResponse) XXX_Merge ¶
func (m *MsgCreatePeriodicVestingAccountResponse) XXX_Merge(src proto.Message)
func (*MsgCreatePeriodicVestingAccountResponse) XXX_Size ¶
func (m *MsgCreatePeriodicVestingAccountResponse) XXX_Size() int
func (*MsgCreatePeriodicVestingAccountResponse) XXX_Unmarshal ¶
func (m *MsgCreatePeriodicVestingAccountResponse) XXX_Unmarshal(b []byte) error
type MsgExtendClient ¶
type MsgExtendClient interface { // Aura move from cosmos-sdk 0.46 CreatePeriodicVestingAccount(ctx context.Context, in *MsgCreatePeriodicVestingAccount, opts ...grpc.CallOption) (*MsgCreatePeriodicVestingAccountResponse, error) }
MsgExtendClient is the client API for MsgExtend service.
For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.
func NewMsgExtendClient ¶
func NewMsgExtendClient(cc grpc1.ClientConn) MsgExtendClient
type MsgExtendServer ¶
type MsgExtendServer interface { // Aura move from cosmos-sdk 0.46 CreatePeriodicVestingAccount(context.Context, *MsgCreatePeriodicVestingAccount) (*MsgCreatePeriodicVestingAccountResponse, error) }
MsgExtendServer is the server API for MsgExtend service.
type UnimplementedMsgExtendServer ¶
type UnimplementedMsgExtendServer struct { }
UnimplementedMsgExtendServer can be embedded to have forward compatible implementations.
func (*UnimplementedMsgExtendServer) CreatePeriodicVestingAccount ¶
func (*UnimplementedMsgExtendServer) CreatePeriodicVestingAccount(ctx context.Context, req *MsgCreatePeriodicVestingAccount) (*MsgCreatePeriodicVestingAccountResponse, error)