Documentation ¶
Index ¶
- func HandleRemoveSuperfluidAssetsProposal(ctx sdk.Context, k keeper.Keeper, p *types.RemoveSuperfluidAssetsProposal) error
- func HandleSetSuperfluidAssetsProposal(ctx sdk.Context, k keeper.Keeper, ek types.EpochKeeper, ...) error
- func HandleUnpoolWhiteListChange(ctx sdk.Context, k keeper.Keeper, gammKeeper types.GammKeeper, ...) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func HandleSetSuperfluidAssetsProposal ¶
func HandleSetSuperfluidAssetsProposal(ctx sdk.Context, k keeper.Keeper, ek types.EpochKeeper, p *types.SetSuperfluidAssetsProposal) error
func HandleUnpoolWhiteListChange ¶
func HandleUnpoolWhiteListChange(ctx sdk.Context, k keeper.Keeper, gammKeeper types.GammKeeper, p *types.UpdateUnpoolWhiteListProposal) error
HandleUnpoolWhiteListChange handles the unpool whitelist change proposal. It validates that every new pool id exists. Fails if not. If IsOverwrite flag is set, the whitelist is completely overridden. Otherwise, it is merged with pre-existing whitelisted pool ids. Any duplicates are removed and the pool ids are sorted prior to being written to state. Returns nil on success, error on failure.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.