|
103 | 103 | reverts on: |
104 | 104 | - deposits locked RemoveDepositLockedByAuctionDebt() |
105 | 105 | - LenderActions.removeQuoteToken(): |
106 | | - - no LPs NoClaim() |
| 106 | + - no LP NoClaim() |
107 | 107 | - LUP lower than HTP LUPBelowHTP() |
108 | 108 | emit events: |
109 | 109 | - LenderActions.removeQuoteToken(): |
|
112 | 112 | - PoolCommons.updateInterestRate(): |
113 | 113 | - UpdateInterestRate |
114 | 114 |
|
115 | | -### transferLPs |
| 115 | +### transferLP |
116 | 116 | external libraries call: |
117 | | - - LenderActions.transferLPs() |
| 117 | + - LenderActions.transferLP() |
118 | 118 |
|
119 | 119 | write state: |
120 | | - - LenderActions.transferLPs(): |
| 120 | + - LenderActions.transferLP(): |
121 | 121 | - delete allowance mapping |
122 | 122 | - increment new lender.lps accumulator and lender.depositTime state |
123 | 123 | - delete old lender from bucket -> lender mapping |
124 | 124 |
|
125 | 125 | reverts on: |
126 | | - - LenderActions.transferLPs(): |
| 126 | + - LenderActions.transferLP(): |
127 | 127 | - invalid index InvalidIndex() |
128 | 128 | - no allowance NoAllowance() |
129 | 129 |
|
130 | 130 | emit events: |
131 | | - - LenderActions.transferLPs(): |
132 | | - - TransferLPs |
| 131 | + - LenderActions.transferLP(): |
| 132 | + - TransferLP |
133 | 133 |
|
134 | 134 | ### kick |
135 | 135 | external libraries call: |
|
232 | 232 | emit events: |
233 | 233 | - BondWithdrawn |
234 | 234 |
|
235 | | -### startClaimableReserveAuction |
| 235 | +### kickReserveAuction |
236 | 236 | external libraries call: |
237 | | - - Auctions.startClaimableReserveAuction() |
| 237 | + - Auctions.kickReserveAuction() |
238 | 238 |
|
239 | 239 | write state: |
240 | | - - Auctions.startClaimableReserveAuction(): |
| 240 | + - Auctions.kickReserveAuction(): |
241 | 241 | - update reserveAuction.unclaimed accumulator |
242 | 242 | - update reserveAuction.kicked timestamp state |
243 | 243 | - increment latestBurnEpoch counter |
244 | 244 | - update reserveAuction.latestBurnEventEpoch and burn event timestamp state |
245 | 245 |
|
246 | 246 | reverts on: |
247 | 247 | - 2 weeks not passed ReserveAuctionTooSoon() |
248 | | - - Auctions.startClaimableReserveAuction(): |
| 248 | + - Auctions.kickReserveAuction(): |
249 | 249 | - no reserves to claim NoReserves() |
250 | 250 |
|
251 | 251 | emit events: |
252 | | - - Auctions.startClaimableReserveAuction(): |
253 | | - - ReserveAuction |
| 252 | + - Auctions.kickReserveAuction(): |
| 253 | + - KickReserveAuction |
254 | 254 |
|
255 | 255 |
|
256 | 256 | ### takeReserves |
|
488 | 488 | - update values array state |
489 | 489 | - Buckets.addCollateral(): |
490 | 490 | - increment bucket.collateral and bucket.lps accumulator |
491 | | - - addLenderLPs(): |
| 491 | + - addLenderLP(): |
492 | 492 | - increment lender.lps accumulator and lender.depositTime state |
493 | 493 | - Auctions._settleAuction(): |
494 | 494 | - _removeAuction(): |
|
594 | 594 | - _prepareTake(): |
595 | 595 | - update liquidation.alreadyTaken state |
596 | 596 | - _rewardBucketTake(): |
597 | | - - Buckets.addLenderLPs: |
| 597 | + - Buckets.addLenderLP: |
598 | 598 | - increment taker lender.lps accumulator and lender.depositTime state |
599 | 599 | - increment kicker lender.lps accumulator and lender.depositTime state |
600 | 600 | - update liquidation bond size accumulator |
|
659 | 659 | - LenderActions.addCollateral(): |
660 | 660 | - Buckets.addCollateral(): |
661 | 661 | - increment bucket.collateral and bucket.lps accumulator |
662 | | - - addLenderLPs(): |
| 662 | + - addLenderLP(): |
663 | 663 | - increment lender.lps accumulator and lender.depositTime state |
664 | 664 | - _updateInterestState(): |
665 | 665 | - PoolCommons.updateInterestRate(): |
|
700 | 700 | reverts on: |
701 | 701 | - LenderActions.removeCollateral(): |
702 | 702 | - not enough collateral InsufficientCollateral() |
703 | | - - insufficient LPs InsufficientLPs() |
| 703 | + - insufficient LP InsufficientLP() |
704 | 704 |
|
705 | 705 | emit events: |
706 | 706 | - RemoveCollateral |
|
0 commit comments