allocate()function. The PCV allocation gets split into a weighted list of PCV deposit contracts, (see PCVSplitter). While allocations can be called at any time, there is a 100 RUSD incentive for calling it after each 24 hour window. To determine eligibility for the incentive, simply call
isTimeEnded()on the contract. The time until the next incentive is available is
amountInETH along bonding curve. The price here is reported as USD per RUSD.
amountOutof RUSD received for a purchase of
allocate()while the incentive is active.
amountOutRUSD along the bonding curve for
amountInETH and send the RUSD to address
_buffer. Must be less than
ratios. The ratios must sum to
ALLOCATION_GRANULARITYwhich is constant at 10,000.