Versions in this module Expand all Collapse all v3 v3.0.0 Dec 9, 2024 Changes in this version + func NewMsgServer(k *Keeper) types.MsgServer + type Keeper struct + ModuleAddress string + func NewKeeper(cdc codec.Codec, storeService corestoretypes.KVStoreService, ...) *Keeper + func (k *Keeper) AddToUserInsuranceFund(ctx context.Context, user string, amount sdk.Coins) error + func (k *Keeper) BurnCoinsUnbondingQueueIterator(ctx context.Context, endTime time.Time) (storetypes.Iterator, error) + func (k *Keeper) BurnLockedRepresentation(ctx context.Context, accAddress sdk.AccAddress, amount sdk.Coins) error + func (k *Keeper) CanWithdrawFromInsuranceFund(ctx context.Context, user string, amount sdk.Coins) (bool, error) + func (k *Keeper) CompleteBurnCoins(ctx sdk.Context) error + func (k *Keeper) DequeueAllBurnCoinsFromUnbondingQueue(ctx context.Context, currTime time.Time) (burnCoins []types.BurnCoins, err error) + func (k *Keeper) ExportGenesis(ctx sdk.Context) (*types.GenesisState, error) + func (k *Keeper) GetAllBurnCoins(ctx context.Context) []types.BurnCoins + func (k *Keeper) GetAllUserActiveLockedRepresentations(ctx context.Context, userAddress string) (sdk.DecCoins, error) + func (k *Keeper) GetAllUserRestakedLockedRepresentations(ctx context.Context, userAddress string) (sdk.DecCoins, error) + func (k *Keeper) GetAllUserUnbondingLockedRepresentations(ctx context.Context, userAddress string) sdk.Coins + func (k *Keeper) GetAllUsersInsuranceFundsEntries(ctx sdk.Context) ([]types.UserInsuranceFundEntry, error) + func (k *Keeper) GetBurnCoinsQueueTimeSlice(ctx context.Context, timestamp time.Time) (dvPairs []types.BurnCoins, err error) + func (k *Keeper) GetInsuranceFundBalance(ctx context.Context) (sdk.Coins, error) + func (k *Keeper) GetParams(ctx context.Context) (types.Params, error) + func (k *Keeper) GetUnbondedCoinsFromQueue(ctx context.Context, endTime time.Time) ([]types.BurnCoins, error) + func (k *Keeper) GetUserInsuranceFund(ctx context.Context, user string) (types.UserInsuranceFund, error) + func (k *Keeper) GetUserInsuranceFundBalance(ctx context.Context, user string) (sdk.Coins, error) + func (k *Keeper) GetUserUsedInsuranceFund(ctx context.Context, userAddress string) (sdk.Coins, error) + func (k *Keeper) InitGenesis(ctx sdk.Context, state *types.GenesisState) error + func (k *Keeper) InsertBurnCoinsToUnbondingQueue(ctx context.Context, burnCoins types.BurnCoins) error + func (k *Keeper) IsBurner(ctx context.Context, user sdk.AccAddress) (bool, error) + func (k *Keeper) IsMinter(ctx context.Context, user sdk.AccAddress) (bool, error) + func (k *Keeper) IterateBurnCoinsUnbondingQueue(ctx context.Context, endTime time.Time, ...) error + func (k *Keeper) Logger(ctx sdk.Context) log.Logger + func (k *Keeper) MintLockedRepresentation(ctx context.Context, user sdk.AccAddress, amount sdk.Coins) (sdk.Coins, error) + func (k *Keeper) OnRecvPacket(ctx sdk.Context, packet channeltypes.Packet, ...) error + func (k *Keeper) RestakeRestrictionFn(ctx context.Context, restakerAddress string, amount sdk.Coins, ...) error + func (k *Keeper) SendRestrictionFn(ctx context.Context, from sdk.AccAddress, to sdk.AccAddress, amount sdk.Coins) (sdk.AccAddress, error) + func (k *Keeper) SetBurnCoinsQueueTimeSlice(ctx context.Context, timestamp time.Time, keys []types.BurnCoins) error + func (k *Keeper) SetParams(ctx context.Context, params types.Params) error + func (k *Keeper) WithdrawFromUserInsuranceFund(ctx context.Context, user string, amount sdk.Coins) error + type Querier struct + func NewQuerier(keeper *Keeper) Querier + func (q Querier) InsuranceFund(ctx context.Context, _ *types.QueryInsuranceFundRequest) (*types.QueryInsuranceFundResponse, error) + func (q Querier) Params(ctx context.Context, _ *types.QueryParamsRequest) (*types.QueryParamsResponse, error) + func (q Querier) UserInsuranceFund(ctx context.Context, req *types.QueryUserInsuranceFundRequest) (*types.QueryUserInsuranceFundResponse, error) + func (q Querier) UserInsuranceFunds(ctx context.Context, req *types.QueryUserInsuranceFundsRequest) (*types.QueryUserInsuranceFundsResponse, error) + func (q Querier) UserRestakableAssets(ctx context.Context, req *types.QueryUserRestakableAssetsRequest) (*types.QueryUserRestakableAssetsResponse, error) v3.0.0-ceers Dec 18, 2024 Other modules containing this package github.com/milkyway-labs/milkyway github.com/milkyway-labs/milkyway/v2 github.com/milkyway-labs/milkyway/v4 github.com/milkyway-labs/milkyway/v5 github.com/milkyway-labs/milkyway/v6 github.com/milkyway-labs/milkyway/v7