1

Is it safe to assume that chainlink oracles have an upper bound on the price feed, eg it fits into uint96, or perhaps a smaller or larger number? It would be great to know the absolute largest number that a chainlink oracle price feed could provide, and potential escaping mechanisms in case this price is exceeded.

Thanks a lot for helping!

Patrick Collins
  • 11,186
  • 5
  • 44
  • 97

1 Answers1

1

The largest number can be a number that fits into an int256

More info:

Chainlink price feeds can be implemented whatever way works in the future, right now they use an int256 since it should cover most use cases, and should be big enough. In the event, a bigger number was needed (which would be a HUGE number), a different price feed would likely be deployed with a solution to that problem.

Patrick Collins
  • 11,186
  • 5
  • 44
  • 97