Skip to content
RED SAG Skills
medium10 pts · first answer countssmart-contract-securityoraclesarithmetic

Casting a negative price

A contract reads an int256 answer from an oracle and does uint256 price = uint256(answer); without checks. The answer is -1 due to a feed issue. What is price?

Choose one answer

Discussion 0

Join free to post in the discussion.

Related questions