For liquidation fees, these are achieved thru a method on spoke that allows using existing supplied shares from a spoke and transferring to the feeReceiver spoke. Investigate a more generic version of this method that allows any spoke to arbitrarily update supplied/borrowed shares accounting to another spoke.
Use cases:
- migration during spoke off-boarding, to transfer accounting to the new spoke
- flexibility for allowing to move shares between spokes without needing actual token transfers
ref: question: what d be the difference between this function and a generic function move that just updates accounting between 2 spokes. Is the dedicated event for accrual the only difference? 🤔
Originally posted by @miguelmtzinf in #467 (comment)
For liquidation fees, these are achieved thru a method on spoke that allows using existing supplied shares from a spoke and transferring to the feeReceiver spoke. Investigate a more generic version of this method that allows any spoke to arbitrarily update supplied/borrowed shares accounting to another spoke.
Use cases:
ref: question: what d be the difference between this function and a generic function
movethat just updates accounting between 2 spokes. Is the dedicated event for accrual the only difference? 🤔Originally posted by @miguelmtzinf in #467 (comment)