Open hats-bug-reporter[bot] opened 1 month ago
Analysis misses to take into account demurrage as documented and coded
Analysis misses to take into account demurrage as documented and coded
I don't know which one is original issue.
@benjaminbollen the issue is on the first mint itself. why do the demurrage applied here ?
demurrage is applied daily, let's call the daily demurrage factor d
so if you mint 14 days:
these terms added up is your total mint of 335.something CRC < 336 CRC
Github username: -- Twitter username: -- Submission hash (on-chain): 0x4116fc4fe0ab203d6634ef80359db88e7fdab9123a57017d0e6a83572555d1ec Severity: medium
Description: Description\
As per circle document, user is allowed to mint their own token one per hour.
But, for 14 days (336 hours.) the contrac mint around 335.5 tokens.
Attachments
Proof of Concept (PoC) File
Revised Code File (Optional)