kLPsare added to a job with
addLiquidityToJob, the job starts immediately to mine new KP3R credits, that can be collectable only by the keepers, in reward for working the job. The credit mining system requires no further action from the
inflationPeriod, thereby minting the proportional amount each
rewardPeriodas KP3R credits for the job. These credits are only to be earned by keepers when working the job, and by the end of each
rewardPeriod, unused credits older than previous
rewardPeriodStartare meant to expire.
rewardPeriodstarts, the first keeper to work the first job will:
quoteLiquiditywill use the average quote for the last
epochfor the given liquidity
jobLiquidityCredits) and pending mined credits to be rewarded (aggregated with current credits in
totalJobCreditsis greater than the payment. If
jobLiquidityCreditsare not enough to pay the keeper, then the keeper will have to reward the job by rewarding the job with its mined credits.
totalJobCreditsto reward the keeper for working the job (and some extra to pay the keeper for rewarding the credits), the transaction will revert with
jobOwnercan withdraw the liquidity bonded to the job, provided he either removes the total of it, or that he remains a minimum allowed amount.
unbondLiquidityFromJob, instantly diminishing the job KP3R credits proportional to the impact of removing such liquidity. After an
jobOwnercan withdraw the liquidity tokens from the protocol with