Skip to content

In-depth lesson · Business logic

Root causes

Every point the Business logic reports back under this heading, best-backed first, each with the reports it is seen in.

Back to the lesson 1,401 to 1,450 of 5,700
  1. Pushing allocations to the controller and vaults within one transaction let a temporary token balance influence allocation weights.

    Seen in 1 report
  2. Queue contracts assume static token balances and do not track or forward rebase increases.

    Seen in 1 report
  3. Queued trading revenue is recorded gross and never netted against rebates paid out, so the shortfall is charged to unassigned assets.

    Seen in 1 report
  4. Quorum and proposal thresholds are computed as supply times basis points divided by 10,000, so very low supply rounds the result to zero.

    Seen in 1 report
  5. Quorum is calculated from a cumulative burn total that only grows instead of from active voting power.

    Seen in 1 report
  6. Quorum is calculated with the current numerator rather than the value at the proposal snapshot.

    Seen in 1 report
  7. Quorum is fixed at proposal creation from current supply, but tokens minted later in the same block still count as voters.

    Seen in 1 report
  8. Quorum is fixed from total community voting power at creation while users can change delegated power afterwards.

    Seen in 1 report
  9. Quorum is recalculated from the current total stake at finalisation time instead of being fixed when the proposal is created.

    Seen in 1 report
  10. Quorum is recomputed at execution time instead of being recorded when the proposal was voted on.

    Seen in 1 report
  11. Quota accounting only happened at job finish while shared runners were still enabled.

    Seen in 1 report
  12. Quota is enforced against weak identifiers such as IP or session rather than the conversation or a strong token.

    Seen in 1 report
  13. Rage quit did not claim pending distributions before burning the governance NFT.

    Seen in 1 report
  14. Randomness was derived from on-chain values a user could influence or predict, and reverts were allowed.

    Seen in 1 report
  15. Rate limit is keyed on a token whose MAC field is client-supplied and not validated against the server record.

    Seen in 1 report
  16. Rate-limit counters for IP address and username were reset independently, so changing either value cleared the limit.

    Seen in 1 report
  17. Ratio updates are applied instantly with no grace period.

    Seen in 1 report
  18. A raw string from an external deeplink is passed into the transfer model without numeric validation.

    Seen in 1 report
  19. Raw user input was passed to the address resolver without applying the standard normalisation first.

    Seen in 1 report
  20. Re-adding a removed reward token leaves stale per-user reward accounting.

    Seen in 1 report
  21. Re-registering an expired domain does not clear the name-to-address and address-to-name mappings.

    Seen in 1 report
  22. Reactivation does not reconcile existing checkpoints against the inactivity timestamp.

    Seen in 1 report
  23. Rebalance functions check the pre-operation state against thresholds but omit a post-operation check.

    Seen in 1 report
  24. rebalanceAll lacks minimum amount parameters for liquidity operations.

    Seen in 1 report
  25. Rebalancing logic ignores maker fees when long and short fees differ.

    Seen in 1 report
  26. Recapitalisation cash is counted in total assets for trading depth but held out of distributable equity at reconcile, so a loss on the exposure it enabled zeroes senior.

    Seen in 1 report
  27. The receiver blocklist is not checked at creation and push payment fails on exercise.

    Seen in 1 report
  28. Recipient checks only run for executions that involve transfers, so zero-execution rentals skip them.

    Seen in 1 report
  29. Reclaim does not burn the option token or mark it as reclaimed.

    Seen in 1 report
  30. Reconciliation clamps the ownerless reserve to terminal distributable equity without recording the reduction, and the waterfall has no high-water mark or restoration step.

    Seen in 1 report
  31. Reconciliation overwrites the stored unassigned assets balance with the current distributable amount instead of keeping a recovery target.

    Seen in 1 report
  32. Recorded weights are never decayed or removed as time passes; they only update on explicit vote or reset calls.

    Seen in 1 report
  33. Records are read from the raw route parameter without ENSIP-15 normalisation while ownership is read from the normalised node, so the two reads hit different nodes.

    Seen in 1 report
  34. Recovery caches a descendant based only on UUID reachability and the retry path assumes the cached parent stays valid across failures.

    Seen in 1 report
  35. Redeem and withdraw check the allowance but never decrement it after burning tokens.

    Seen in 1 report
  36. Redeem applies a debt and earmark reduction already accounted for by repay, causing double counting.

    Seen in 1 report
  37. Redeem reverts when the maximum redeemable amount is zero because one market failed, with no emergency withdrawal path.

    Seen in 1 report
  38. Redeem subtracts plain yield units from a total stored in collateralisation-scaled units, and sync mixes the two unit systems again.

    Seen in 1 report
  39. Redemption amounts use a fixed base instead of the actual remaining unredeemed supply, so direct transfers are not accounted for.

    Seen in 1 report
  40. Redemption funding uses a marked receivable as if it were collected cash, and a permissionless close at an older accepted tick prevents the pledge from ever being paid in.

    Seen in 1 report
  41. Redemption is gated only on a non-zero reward token balance rather than on a sufficient deposit having been made.

    Seen in 1 report
  42. Redemption logic does not check whether the remaining balance would drop below the minimum.

    Seen in 1 report
  43. Redemption uses the ratio of collateral to total shares instead of the current token price.

    Seen in 1 report
  44. Redemptions are allowed while undercollateralised and can be fulfilled with whatever small backup collateral is present.

    Seen in 1 report
  45. Referral rewards are granted on signup with no email verification, rate limit or referral cap.

    Seen in 1 report
  46. The refund amount is computed from a gas price the submitting node controls with no upper bound.

    Seen in 1 report
  47. Refunds use the immediate sender, which becomes the contract itself during internal calls.

    Seen in 1 report
  48. Registration and renewal validate labels with a hand-written character blacklist instead of normalisation, so the on-chain node can differ from what compliant clients compute.

    Seen in 1 report
  49. Reimbursement paid relayers without checking whether the relayer was also the fee payer.

    Seen in 1 report
  50. Rejection set the timelock to maximum but did not reset the proposed wallet addresses, so the guard permanently blocked new proposals.

    Seen in 1 report