-
Notifications
You must be signed in to change notification settings - Fork 1
Open
Labels
smart contractSmart contract features / updateSmart contract features / update
Description
TLDR
- Allow contracts to take an optional input when creating challenge: strategy or vault
- If the address is specified, treat it like ERC4626, verify if the underlying asset is the challenge token
- deposit into the vault, and store the responding
sharethe user entitled for this challenge - when claiming, swap the share back to the original token by
withdrawwith receiver being the user
Details
- What if withdraw fail (no liquidity in lending protocol for example) -> transfer the share back for users?
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
smart contractSmart contract features / updateSmart contract features / update