We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Describe the Issue We'll need additional state-based rate limit flags to control the rate limit functionality. The structure may look like below
RateLimiterFlags { Enable bool Window uint64 // in zeta blocks, for example: 1200, means 2 hours Rate sdk.Int // in zeta, for example: 2000000, means 2M ZETA tokens ZRC20Rates []{ ChainId int64 CoinType. coin.CoinType Asset string // the ERC20 token address in foreign chain ConversionRate // conversion rate zrc20 -> zeta, for example: 0.8, means 1USDT == 0.8ZETA } }
Also, we'll need a MsgUpdateCrosschainFlags with proper policy type in order to update the fields of above structure.
MsgUpdateCrosschainFlags
Expected Outcome
Enable
RateLimiterFlags
The text was updated successfully, but these errors were encountered:
crosschain
lumtis
Successfully merging a pull request may close this issue.
Describe the Issue
We'll need additional state-based rate limit flags to control the rate limit functionality. The structure may look like below
Also, we'll need a
MsgUpdateCrosschainFlags
with proper policy type in order to update the fields of above structure.Expected Outcome
Enable
field to apply rate limit or not.RateLimiterFlags
structure will be used to perform rate limiting.MsgUpdateCrosschainFlags
is required with proper policy type.The text was updated successfully, but these errors were encountered: