Documentation ¶
Index ¶
- Constants
- Variables
- func RegisterInterfaces(registry types.InterfaceRegistry)
- func RegisterLegacyAminoCodec(cdc *codec.LegacyAmino)
- func RegisterMsgServer(s grpc1.Server, srv MsgServer)
- type AccountKeeper
- type BankKeeper
- type ClawbackContinuousVestingAccount
- func (*ClawbackContinuousVestingAccount) Descriptor() ([]byte, []int)
- func (m *ClawbackContinuousVestingAccount) Marshal() (dAtA []byte, err error)
- func (m *ClawbackContinuousVestingAccount) MarshalTo(dAtA []byte) (int, error)
- func (m *ClawbackContinuousVestingAccount) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*ClawbackContinuousVestingAccount) ProtoMessage()
- func (m *ClawbackContinuousVestingAccount) Reset()
- func (m *ClawbackContinuousVestingAccount) Size() (n int)
- func (m *ClawbackContinuousVestingAccount) Unmarshal(dAtA []byte) error
- func (m *ClawbackContinuousVestingAccount) XXX_DiscardUnknown()
- func (m *ClawbackContinuousVestingAccount) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *ClawbackContinuousVestingAccount) XXX_Merge(src proto.Message)
- func (m *ClawbackContinuousVestingAccount) XXX_Size() int
- func (m *ClawbackContinuousVestingAccount) XXX_Unmarshal(b []byte) error
- type MsgClawback
- func (*MsgClawback) Descriptor() ([]byte, []int)
- func (m *MsgClawback) GetAccountAddress() string
- func (m *MsgClawback) GetFunderAddress() string
- func (m *MsgClawback) Marshal() (dAtA []byte, err error)
- func (m *MsgClawback) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgClawback) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgClawback) ProtoMessage()
- func (m *MsgClawback) Reset()
- func (m *MsgClawback) Size() (n int)
- func (m *MsgClawback) String() string
- func (m *MsgClawback) Unmarshal(dAtA []byte) error
- func (m *MsgClawback) XXX_DiscardUnknown()
- func (m *MsgClawback) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgClawback) XXX_Merge(src proto.Message)
- func (m *MsgClawback) XXX_Size() int
- func (m *MsgClawback) XXX_Unmarshal(b []byte) error
- type MsgClawbackResponse
- func (*MsgClawbackResponse) Descriptor() ([]byte, []int)
- func (m *MsgClawbackResponse) GetClawedBonded() github_com_cosmos_cosmos_sdk_types.Coins
- func (m *MsgClawbackResponse) GetClawedUnbonded() github_com_cosmos_cosmos_sdk_types.Coins
- func (m *MsgClawbackResponse) GetClawedUnbonding() github_com_cosmos_cosmos_sdk_types.Coins
- func (m *MsgClawbackResponse) Marshal() (dAtA []byte, err error)
- func (m *MsgClawbackResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgClawbackResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgClawbackResponse) ProtoMessage()
- func (m *MsgClawbackResponse) Reset()
- func (m *MsgClawbackResponse) Size() (n int)
- func (m *MsgClawbackResponse) String() string
- func (m *MsgClawbackResponse) Unmarshal(dAtA []byte) error
- func (m *MsgClawbackResponse) XXX_DiscardUnknown()
- func (m *MsgClawbackResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgClawbackResponse) XXX_Merge(src proto.Message)
- func (m *MsgClawbackResponse) XXX_Size() int
- func (m *MsgClawbackResponse) XXX_Unmarshal(b []byte) error
- type MsgClient
- type MsgCreateVestingAccount
- func (*MsgCreateVestingAccount) Descriptor() ([]byte, []int)
- func (this *MsgCreateVestingAccount) Equal(that interface{}) bool
- func (m *MsgCreateVestingAccount) GetAmount() github_com_cosmos_cosmos_sdk_types.Coins
- func (m *MsgCreateVestingAccount) GetDisableClawback() bool
- func (m *MsgCreateVestingAccount) GetEndTime() int64
- func (m *MsgCreateVestingAccount) GetFromAddress() string
- 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 (m *MsgCreateVestingAccount) Size() (n int)
- func (m *MsgCreateVestingAccount) String() string
- func (m *MsgCreateVestingAccount) Unmarshal(dAtA []byte) 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 MsgServer
- type StakingKeeper
- type UnimplementedMsgServer
Constants ¶
const ( // ModuleName defines the module name ModuleName = "vesting" // StoreKey defines the primary module store key StoreKey = "vesting" // RouterKey defines the module's message routing key RouterKey = ModuleName )
Variables ¶
Functions ¶
func RegisterInterfaces ¶
func RegisterInterfaces(registry types.InterfaceRegistry)
RegisterInterface associates protoName with AccountI and VestingAccount Interfaces and creates a registry of it's concrete implementations
func RegisterLegacyAminoCodec ¶
func RegisterLegacyAminoCodec(cdc *codec.LegacyAmino)
RegisterLegacyAminoCodec registers the vesting interfaces and concrete types on the provided LegacyAmino codec. These types are used for Amino JSON serialization
func RegisterMsgServer ¶
Types ¶
type AccountKeeper ¶
type BankKeeper ¶
type BankKeeper interface { GetBalance(ctx context.Context, addr sdk.AccAddress, denom string) sdk.Coin GetAllBalances(ctx context.Context, addr sdk.AccAddress) sdk.Coins IsSendEnabledCoins(ctx context.Context, coins ...sdk.Coin) error SendCoins(ctx context.Context, fromAddr, toAddr sdk.AccAddress, amt sdk.Coins) error BlockedAddr(addr sdk.AccAddress) bool SpendableCoins(ctx context.Context, addr sdk.AccAddress) sdk.Coins }
type ClawbackContinuousVestingAccount ¶
type ClawbackContinuousVestingAccount struct { *types.ContinuousVestingAccount `` /* 147-byte string literal not displayed */ FunderAddress string `protobuf:"bytes,2,opt,name=funder_address,json=funderAddress,proto3" json:"funder_address,omitempty"` }
ClawbackContinuousVestingAccount implements the VestingAccount interface. It wraps a ContinuousVestingAccount provided by Cosmos SDK to provide additional support for clawback.
func NewClawbackContinuousVestingAccountRaw ¶
func NewClawbackContinuousVestingAccountRaw(bva *vestingtypes.BaseVestingAccount, startTime int64, funder string) *ClawbackContinuousVestingAccount
NewContinuousVestingAccountRaw creates a new ContinuousVestingAccount object from BaseVestingAccount
func (*ClawbackContinuousVestingAccount) Descriptor ¶
func (*ClawbackContinuousVestingAccount) Descriptor() ([]byte, []int)
func (*ClawbackContinuousVestingAccount) Marshal ¶
func (m *ClawbackContinuousVestingAccount) Marshal() (dAtA []byte, err error)
func (*ClawbackContinuousVestingAccount) MarshalTo ¶
func (m *ClawbackContinuousVestingAccount) MarshalTo(dAtA []byte) (int, error)
func (*ClawbackContinuousVestingAccount) MarshalToSizedBuffer ¶
func (m *ClawbackContinuousVestingAccount) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*ClawbackContinuousVestingAccount) ProtoMessage ¶
func (*ClawbackContinuousVestingAccount) ProtoMessage()
func (*ClawbackContinuousVestingAccount) Reset ¶
func (m *ClawbackContinuousVestingAccount) Reset()
func (*ClawbackContinuousVestingAccount) Size ¶
func (m *ClawbackContinuousVestingAccount) Size() (n int)
func (*ClawbackContinuousVestingAccount) Unmarshal ¶
func (m *ClawbackContinuousVestingAccount) Unmarshal(dAtA []byte) error
func (*ClawbackContinuousVestingAccount) XXX_DiscardUnknown ¶
func (m *ClawbackContinuousVestingAccount) XXX_DiscardUnknown()
func (*ClawbackContinuousVestingAccount) XXX_Marshal ¶
func (m *ClawbackContinuousVestingAccount) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ClawbackContinuousVestingAccount) XXX_Merge ¶
func (m *ClawbackContinuousVestingAccount) XXX_Merge(src proto.Message)
func (*ClawbackContinuousVestingAccount) XXX_Size ¶
func (m *ClawbackContinuousVestingAccount) XXX_Size() int
func (*ClawbackContinuousVestingAccount) XXX_Unmarshal ¶
func (m *ClawbackContinuousVestingAccount) XXX_Unmarshal(b []byte) error
type MsgClawback ¶
type MsgClawback struct { // funder_address is the address which funded the account. FunderAddress string `protobuf:"bytes,1,opt,name=funder_address,json=funderAddress,proto3" json:"funder_address,omitempty"` // account_address is the address of the vesting to claw back from. AccountAddress string `protobuf:"bytes,2,opt,name=account_address,json=accountAddress,proto3" json:"account_address,omitempty"` }
MsgClawback defines a message that returns the vesting funds to the funder.
func NewMsgClawback ¶
func NewMsgClawback(funder, vestingAccount sdk.AccAddress) *MsgClawback
func (*MsgClawback) Descriptor ¶
func (*MsgClawback) Descriptor() ([]byte, []int)
func (*MsgClawback) GetAccountAddress ¶
func (m *MsgClawback) GetAccountAddress() string
func (*MsgClawback) GetFunderAddress ¶
func (m *MsgClawback) GetFunderAddress() string
func (*MsgClawback) Marshal ¶
func (m *MsgClawback) Marshal() (dAtA []byte, err error)
func (*MsgClawback) MarshalToSizedBuffer ¶
func (m *MsgClawback) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MsgClawback) ProtoMessage ¶
func (*MsgClawback) ProtoMessage()
func (*MsgClawback) Reset ¶
func (m *MsgClawback) Reset()
func (*MsgClawback) Size ¶
func (m *MsgClawback) Size() (n int)
func (*MsgClawback) String ¶
func (m *MsgClawback) String() string
func (*MsgClawback) Unmarshal ¶
func (m *MsgClawback) Unmarshal(dAtA []byte) error
func (*MsgClawback) XXX_DiscardUnknown ¶
func (m *MsgClawback) XXX_DiscardUnknown()
func (*MsgClawback) XXX_Marshal ¶
func (m *MsgClawback) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MsgClawback) XXX_Merge ¶
func (m *MsgClawback) XXX_Merge(src proto.Message)
func (*MsgClawback) XXX_Size ¶
func (m *MsgClawback) XXX_Size() int
func (*MsgClawback) XXX_Unmarshal ¶
func (m *MsgClawback) XXX_Unmarshal(b []byte) error
type MsgClawbackResponse ¶
type MsgClawbackResponse struct { ClawedUnbonded github_com_cosmos_cosmos_sdk_types.Coins `` /* 147-byte string literal not displayed */ ClawedUnbonding github_com_cosmos_cosmos_sdk_types.Coins `` /* 150-byte string literal not displayed */ ClawedBonded github_com_cosmos_cosmos_sdk_types.Coins `` /* 141-byte string literal not displayed */ }
MsgClawbackResponse defines the MsgClawback response type.
func (*MsgClawbackResponse) Descriptor ¶
func (*MsgClawbackResponse) Descriptor() ([]byte, []int)
func (*MsgClawbackResponse) GetClawedBonded ¶
func (m *MsgClawbackResponse) GetClawedBonded() github_com_cosmos_cosmos_sdk_types.Coins
func (*MsgClawbackResponse) GetClawedUnbonded ¶
func (m *MsgClawbackResponse) GetClawedUnbonded() github_com_cosmos_cosmos_sdk_types.Coins
func (*MsgClawbackResponse) GetClawedUnbonding ¶
func (m *MsgClawbackResponse) GetClawedUnbonding() github_com_cosmos_cosmos_sdk_types.Coins
func (*MsgClawbackResponse) Marshal ¶
func (m *MsgClawbackResponse) Marshal() (dAtA []byte, err error)
func (*MsgClawbackResponse) MarshalTo ¶
func (m *MsgClawbackResponse) MarshalTo(dAtA []byte) (int, error)
func (*MsgClawbackResponse) MarshalToSizedBuffer ¶
func (m *MsgClawbackResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MsgClawbackResponse) ProtoMessage ¶
func (*MsgClawbackResponse) ProtoMessage()
func (*MsgClawbackResponse) Reset ¶
func (m *MsgClawbackResponse) Reset()
func (*MsgClawbackResponse) Size ¶
func (m *MsgClawbackResponse) Size() (n int)
func (*MsgClawbackResponse) String ¶
func (m *MsgClawbackResponse) String() string
func (*MsgClawbackResponse) Unmarshal ¶
func (m *MsgClawbackResponse) Unmarshal(dAtA []byte) error
func (*MsgClawbackResponse) XXX_DiscardUnknown ¶
func (m *MsgClawbackResponse) XXX_DiscardUnknown()
func (*MsgClawbackResponse) XXX_Marshal ¶
func (m *MsgClawbackResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MsgClawbackResponse) XXX_Merge ¶
func (m *MsgClawbackResponse) XXX_Merge(src proto.Message)
func (*MsgClawbackResponse) XXX_Size ¶
func (m *MsgClawbackResponse) XXX_Size() int
func (*MsgClawbackResponse) XXX_Unmarshal ¶
func (m *MsgClawbackResponse) XXX_Unmarshal(b []byte) error
type MsgClient ¶
type MsgClient interface { // CreateVestingAccount creates a new vesting account. CreateVestingAccount(ctx context.Context, in *MsgCreateVestingAccount, opts ...grpc.CallOption) (*MsgCreateVestingAccountResponse, error) // Clawback returns the vesting funds back to the funder. Clawback(ctx context.Context, in *MsgClawback, opts ...grpc.CallOption) (*MsgClawbackResponse, 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"` ToAddress string `protobuf:"bytes,2,opt,name=to_address,json=toAddress,proto3" json:"to_address,omitempty"` Amount github_com_cosmos_cosmos_sdk_types.Coins `protobuf:"bytes,3,rep,name=amount,proto3,castrepeated=github.com/cosmos/cosmos-sdk/types.Coins" json:"amount"` // end of vesting as unix time (in seconds). EndTime int64 `protobuf:"varint,4,opt,name=end_time,json=endTime,proto3" json:"end_time,omitempty"` // if true, leave funder field empty and disable clawback DisableClawback bool `protobuf:"varint,5,opt,name=disable_clawback,json=disableClawback,proto3" json:"disable_clawback,omitempty"` }
MsgCreateVestingAccount defines a message that creates a vesting account.
func NewMsgCreateVestingAccount ¶
func NewMsgCreateVestingAccount(fromAddr, toAddr sdk.AccAddress, amount sdk.Coins, endTime int64, disableClawback bool) *MsgCreateVestingAccount
NewMsgCreateVestingAccount returns a reference to a new MsgCreateVestingAccount.
func (*MsgCreateVestingAccount) Descriptor ¶
func (*MsgCreateVestingAccount) Descriptor() ([]byte, []int)
func (*MsgCreateVestingAccount) Equal ¶
func (this *MsgCreateVestingAccount) Equal(that interface{}) bool
func (*MsgCreateVestingAccount) GetAmount ¶
func (m *MsgCreateVestingAccount) GetAmount() github_com_cosmos_cosmos_sdk_types.Coins
func (*MsgCreateVestingAccount) GetDisableClawback ¶
func (m *MsgCreateVestingAccount) GetDisableClawback() bool
func (*MsgCreateVestingAccount) GetEndTime ¶
func (m *MsgCreateVestingAccount) GetEndTime() int64
func (*MsgCreateVestingAccount) GetFromAddress ¶
func (m *MsgCreateVestingAccount) GetFromAddress() string
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) Size ¶
func (m *MsgCreateVestingAccount) Size() (n int)
func (*MsgCreateVestingAccount) String ¶
func (m *MsgCreateVestingAccount) String() string
func (*MsgCreateVestingAccount) Unmarshal ¶
func (m *MsgCreateVestingAccount) Unmarshal(dAtA []byte) 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 { }
MsgCreateVestingAccountResponse defines the CreateVestingAccount response type.
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 MsgServer ¶
type MsgServer interface { // CreateVestingAccount creates a new vesting account. CreateVestingAccount(context.Context, *MsgCreateVestingAccount) (*MsgCreateVestingAccountResponse, error) // Clawback returns the vesting funds back to the funder. Clawback(context.Context, *MsgClawback) (*MsgClawbackResponse, error) }
MsgServer is the server API for Msg service.
type StakingKeeper ¶
type StakingKeeper interface { BondDenom(ctx context.Context) (string, error) GetValidator(ctx context.Context, addr sdk.ValAddress) (validator types.Validator, err error) GetAllValidators(ctx context.Context) ([]types.Validator, error) GetDelegatorBonded(ctx context.Context, delegator sdk.AccAddress) (math.Int, error) GetDelegatorUnbonding(ctx context.Context, delegator sdk.AccAddress) (math.Int, error) GetUnbondingDelegations(ctx context.Context, delegator sdk.AccAddress, maxRetrieve uint16) (unbondingDelegations []types.UnbondingDelegation, err error) GetDelegatorDelegations(ctx context.Context, delegator sdk.AccAddress, maxRetrieve uint16) (delegations []types.Delegation, err error) TransferUnbonding(ctx context.Context, fromAddr, toAddr sdk.AccAddress, valAddr sdk.ValAddress, wantAmt math.Int) (math.Int, error) TransferDelegation(ctx context.Context, fromAddr, toAddr sdk.AccAddress, valAddr sdk.ValAddress, wantShares math.LegacyDec) (math.LegacyDec, error) }
type UnimplementedMsgServer ¶
type UnimplementedMsgServer struct { }
UnimplementedMsgServer can be embedded to have forward compatible implementations.
func (*UnimplementedMsgServer) Clawback ¶
func (*UnimplementedMsgServer) Clawback(ctx context.Context, req *MsgClawback) (*MsgClawbackResponse, error)
func (*UnimplementedMsgServer) CreateVestingAccount ¶
func (*UnimplementedMsgServer) CreateVestingAccount(ctx context.Context, req *MsgCreateVestingAccount) (*MsgCreateVestingAccountResponse, error)