-
Notifications
You must be signed in to change notification settings - Fork 28
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add a new column to the table that displays the fee per line item transparently #161
Comments
/start |
Tip
|
@0x4007 @gentlementlegen according to this code section, the reward is the amount gotten by multiplying the feeRate and the original. In that sense, if the feeRate is 20% (0.2) and the original reward is 100, then rewardAfterFee is 20. wouldn't that make the fee 80? is this how it is supposed to be? |
It should be that a 20% fee rate is applied to the total, so the final result should be |
Yes. From the algorithm, if i am looking at it correctly, |
I think i got where my confusion is coming from. i think the value is wrong for the feeRate. I think the value should be result[key].feeRate = new Decimal(1).minus(feeRateDecimal).toNumber(); or result[key].feeRate =new Decimal(env.PERMIT_FEE_RATE).div(100).toNumber() What do you think? |
I think the correct calculation is result[key].feeRate = new Decimal(env.PERMIT_FEE_RATE).toNumber() since the |
Yes.. it only affects the displayed fees. Should i make the change within this issue PR since it depends on the correct feeRate or you’ve got it ? |
Okay |
I just realized something. with this implementation, the feeRate will be |
It's a percentage so |
That also means that this line of code will change as well. Yeah? |
@gentlementlegen I have updated the PR. The feeRate is now in percentage. |
Passed the deadline and no activity is detected, removing assignees: @jaykayudo. |
I think we need to set our settings for disqualifier to be slower like 7 days for follow up. This is because the new algorithm will divide by priority level.
|
And also now we instantly remove if there is no PR opened which is why more people get kicked out. |
Note The following contributors may be suitable for this task: gentlementlegen
|
Thanks for the QA
As part of a separate task, I think we should consider adding a new column to the table that displays the fee per line item transparently
Originally posted by @0x4007 in #159 (comment)
The text was updated successfully, but these errors were encountered: