In the protocol, the variable FEED_PRECISION
is declared as 10^8, which equates to 1 BTC = 10^8 but is not used in code.
The variable FEED_PRECISION
is declared but not used.
It is my assuption that value should be use in functions _get_usd_valu
e and _get_token_amount_from_usd
as a normalizer for BTC and ETH implementation.
**Low vulnerability in the scope of gas consumption. **
Medium vulnerability because the _get_usd_value
and _get_token_amount_from_usd
parameters lack proper implementation for BTC and ETH.
manual review
Please rething protocol.
Consider this equation:
The contest is live. Earn rewards by submitting a finding.
This is your time to appeal against judgements on your submissions.
Appeals are being carefully reviewed by our judges.