centrifuge / tinlake

Smart contracts for Tinlake, the on-chain securitization protocol for real-world assets
GNU Affero General Public License v3.0
104 stars 23 forks source link

Change write-off wrapper to accept root as parameter #633

Closed AStox closed 1 year ago

AStox commented 1 year ago

The current writeoff wrapper assumes the NAV feed has a public shelf and pile variable, but on the feeds this will be used on, those variables don't exist. This PR changes the writeoff wrapper to take those addresses as arguments instead