Documentation ¶
Index ¶
- func ConvertStringToAcc(address string) (sdk.AccAddress, error)
- func NewMsgServerImpl(keeper Keeper) types.MsgServer
- type HedgehogData
- type InMemoryVestingData
- type Keeper
- func (k *Keeper) DeleteVestingDataInMemory(address string)
- func (k *Keeper) GetAccount(ctx sdk.Context, addr sdk.AccAddress) sdk.AccountI
- func (k *Keeper) GetAllBalances(ctx sdk.Context, addr sdk.AccAddress) sdk.Coins
- func (k *Keeper) GetAuthority() string
- func (k Keeper) GetParams(ctx context.Context) (params types.Params)
- func (k *Keeper) GetVestingDataInMemory(address string) (VestingData, bool)
- func (k *Keeper) HasProcessedAddress(ctx sdk.Context, address sdk.AccAddress) bool
- func (k *Keeper) LogInMemoryVestingData()
- func (k *Keeper) Logger() log.Logger
- func (k Keeper) Params(goCtx context.Context, req *types.QueryParamsRequest) (*types.QueryParamsResponse, error)
- func (k *Keeper) ProcessPendingVesting(ctx sdk.Context)
- func (k *Keeper) ProcessVestingAccounts(ctx sdk.Context)
- func (k *Keeper) SetAccount(ctx sdk.Context, acc sdk.AccountI)
- func (k Keeper) SetParams(ctx context.Context, params types.Params) error
- func (k *Keeper) SetVestingDataInMemory(address string, data VestingData)
- type VestingData
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ConvertStringToAcc ¶
func ConvertStringToAcc(address string) (sdk.AccAddress, error)
func NewMsgServerImpl ¶
NewMsgServerImpl returns an implementation of the MsgServer interface for the provided Keeper.
Types ¶
type HedgehogData ¶
type HedgehogData struct { Timestamp string `json:"timestamp"` PreviousTimeStamp string `json:"previousTimeStamp"` Flags int `json:"flags"` Hedgehogtype string `json:"type"` Data struct { VestingAddresses map[string]VestingData `json:"vestingAddresses"` } `json:"data"` Signature string `json:"signature"` }
type InMemoryVestingData ¶
type InMemoryVestingData struct {
VestingAccounts map[string]VestingData
}
InMemoryVestingData holds vesting data in memory.
type Keeper ¶
type Keeper struct { InMemoryVestingData InMemoryVestingData // contains filtered or unexported fields }
func NewKeeper ¶
func NewKeeper( cdc codec.BinaryCodec, storeService store.KVStoreService, logger log.Logger, authority string, bk types.BankKeeper, ak types.AccountKeeper, ) Keeper
func (*Keeper) DeleteVestingDataInMemory ¶
func (*Keeper) GetAccount ¶
func (*Keeper) GetAllBalances ¶
func (*Keeper) GetAuthority ¶
GetAuthority returns the module's authority.
func (*Keeper) GetVestingDataInMemory ¶
func (k *Keeper) GetVestingDataInMemory(address string) (VestingData, bool)
func (*Keeper) HasProcessedAddress ¶
func (*Keeper) LogInMemoryVestingData ¶
func (k *Keeper) LogInMemoryVestingData()
func (Keeper) Params ¶
func (k Keeper) Params(goCtx context.Context, req *types.QueryParamsRequest) (*types.QueryParamsResponse, error)
func (*Keeper) ProcessPendingVesting ¶
func (*Keeper) ProcessVestingAccounts ¶
func (*Keeper) SetVestingDataInMemory ¶
func (k *Keeper) SetVestingDataInMemory(address string, data VestingData)
Click to show internal directories.
Click to hide internal directories.