Documentation ¶
Index ¶
- func AddRateLimit(ctx sdk.Context, k keeper.Keeper, channelKeeper channelkeeper.Keeper, ...) error
- func RemoveRateLimit(ctx sdk.Context, k keeper.Keeper, msg *types.RemoveRateLimitProposal) error
- func ResetRateLimit(ctx sdk.Context, k keeper.Keeper, msg *types.ResetRateLimitProposal) error
- func UpdateRateLimit(ctx sdk.Context, k keeper.Keeper, p *types.UpdateRateLimitProposal) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AddRateLimit ¶
func AddRateLimit(ctx sdk.Context, k keeper.Keeper, channelKeeper channelkeeper.Keeper, p *types.AddRateLimitProposal) error
Adds a new rate limit. Fails if the rate limit already exists or the channel value is 0
func RemoveRateLimit ¶
Removes a rate limit. Fails if the rate limit doesn't exist
func ResetRateLimit ¶
Resets the flow on a rate limit. Fails if the rate limit doesn't exist
func UpdateRateLimit ¶
Updates an existing rate limit. Fails if the rate limit doesn't exist
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.