Insrt-Finance / insrt-v2-contracts

0 stars 3 forks source link

Allow depositing, withdrawing, & claiming for another account #78

Closed CruzMolina closed 1 year ago

CruzMolina commented 1 year ago

We should probably parameterize depositor addresses in our deposit, withdrawal, and claim functions. Would be interesting to consider doing so for idling & updating token risks as well.

NouDaimon commented 1 year ago

I like the idea. My only reservation is whether this can be done within the time-frame.

Would this be done via NFTs?

CruzMolina commented 1 year ago

This issue is just allowing the sender to specify a different depositor or recipient.

Examples:

NouDaimon commented 1 year ago

Gotcha. Just specify an address in the function parameters and add the related checks?