Feature/restructure market creation incentives
MarketRegistry contract to be upgraded with new implmentation.
Market creation incentives to be now distributed as per the estimate of gas cost of the market creation transaction.
Incentives will be transaction cost worth of PLOT(as per the price prevailing at the time of market creation)
Fast gas price to be fetched from Chainlink Fast gas/ GWei aggregator
Formulae for incentive calculation: min(gas price given, chainlinkfeed*1.25, max Gas price)* gasUsed for tx worth of PLOT
1.25 is to be considered as maximum deviation of fast gas price from Chainlink aggregator.
gas price given is the gas price set by user while signing the transaction
max Gas price is pre set configurable variable of value 100GWei
A part of reward pool of market will also be distributed to market creator only if leveraged participation of market reches threshold of 1Eth(Configurable)
Formulae for Percent of market reward pool to be distributed to market creator
Minimum( maxRewardPoolPercForMC, (minRewardPoolPercForMC + tokensLocked/plotStakeForRewardPoolShare))
maxRewardPoolPercForMC: Maximum reward pool share percent(configurable)- Default: 5%
minRewardPoolPercForMC: Minimum reward pool share percent(configurable)Default: 0.5%
tokensLocked: Tokens staked by market creator for reason SM
plotStakeForRewardPoolShare: Minimum plot stake required to increase reward pool share% (configurable)Default: 25000PLOT