feat(cketh): expose per-token minimum deposit amounts in MinterInfo - #11251
Open
gregorydemay wants to merge 1 commit into
Open
Conversation
Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
|
✅ No security or compliance issues detected. Reviewed everything up to 42be041. Security Overview
Detected Code Changes
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Balance-scan filter 1 only treats a deposit address as a scan candidate once its balance reaches a per-token minimum, so a smaller deposit is silently never detected and never credited. For the CEX deposit flow that threshold was invisible: a user could send a small amount to their deposit address, see nothing happen, and have no way to find out why.
get_minter_infonow reportsminimum_deposit_amounts— the minimum for each supported ckERC20 token, in that token's own units — so users and frontends can show the threshold alongside the deposit address. It isnullwhile the ckERC20 feature is inactive, matching the existing per-token fields.The thresholds are still the hard-coded rate snapshot; they will start tracking live prices once DEFI-2961's daily exchange-rate refresh lands, and this endpoint will reflect that automatically.
🤖 Generated with Claude Code