OriginProtocol / origin-dollar

OUSD and OETH are stablecoins that passively accrue yield while you are holding it
https://originprotocol.com
MIT License
115 stars 75 forks source link

add rate limit to calling manually fix accounting #2057

Closed sparrowDom closed 2 months ago

sparrowDom commented 2 months ago

add rate limit to calling manually fix accounting

github-actions[bot] commented 2 months ago
Warnings
:warning: :eyes: This PR needs at least 2 reviewers

Generated by :no_entry_sign: dangerJS against d60fb5f9df579504e4f4fed43193d5a1633a3a29

sparrowDom commented 2 months ago

The workaround to continually trigger this would be:

Above steps can be repeated continually if there is no rate limit on manuallyFixAccounting function and strategist account has been compromised.