File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -1037,9 +1037,9 @@ access(all) contract FlowALPModels {
10371037 /// (used when deposits are made)
10381038 access (EImplementation ) fun consumeDepositCapacity (_ amount : UFix64 , pid : UInt64 )
10391039
1040- /// Returns the per-deposit limit based on depositCapacity * depositLimitFraction
1041- /// Rationale: cap per-deposit size to a fraction of the time-based
1042- /// depositCapacity so a single large deposit cannot monopolize capacity.
1040+ /// Returns the per-deposit limit based on user deposit limit cap and available deposit capacity.
1041+ /// Rationale: cap per-deposit size to a fraction of the total depositCapacityCap
1042+ /// so a single large deposit cannot monopolize capacity.
10431043 /// Excess is queued and drained in chunks (see asyncUpdatePosition),
10441044 /// enabling fair throughput across many deposits in a block. The 5%
10451045 /// fraction is conservative and can be tuned by protocol parameters.
You can’t perform that action at this time.
0 commit comments