[api] Make the limit on spending power on the retire API configurable per team #2278
Labels
carbonmark-api
dashboard
Developer Dashboard for CM API
dev
Work related to engineering
LOW PRIORITY
Milestone
Users of the retirement API can decide on a limit on spending power per week in the limit of 5000 USDC per key.
We want to add a limit on the overall spending power of a team controlled by Carbonmark.
Describe the solution you'd like
Total spent by all the keys during the last week + Cost of the new trasaction < team.limit_cost_usdc_per_week
The text was updated successfully, but these errors were encountered: