Deliver, with bonuses
Last updated
Last updated
Sponsor can deposit tokens before claiming. Then, tokens get distributed as part of the claim. At the closing time, we will be able to calculate the token delivery amounts using the “multiple“ curve.
Address of delivery token to be distributed in the claim phase.
Sponsor must approve the delivery token before deposit the amount.
In this function, the sponsor will deposit the delivery token to the Deal contract. This amount will be used to calculate the bonus for every stake in the Deal contract. The sponsor will specify the amount of delivery token to deposit. The contract will then transfer the delivery token from the sponsor's wallet to the contract's wallet.
In case that the Deal is cancelled or not successful, the delivery amount can be recovered to the Sponsor wallet.