Skip to content

Investigate adding LH generic "move" method #500

@yan-man

Description

@yan-man

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)

Metadata

Metadata

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions