This forum is a read-only archive. Posting, replying and signing in are disabled.

Teal 4 AVM 0.9 mathematical operations on byte slices

innomon

I am curious if there is any blog / document explaining the usecases & rationale behind introducing the mathematical operations on byte slices in Teal 4? Has the algorand dev team compiled their design decisions on extending the opcodes?

✔ Solved by fabrice in post #2
fabrice

They allow operations over up to 256-bit integers.
Such operations can be useful for example for AMM (automated market maker).