Skip to content

Commit

Permalink
Merge pull request #145 from algorand-devrel/dev
Browse files Browse the repository at this point in the history
0.46: optimize literal math ops
  • Loading branch information
joe-p authored Oct 6, 2023
2 parents 6e91ad7 + c46309a commit ae5fdd2
Show file tree
Hide file tree
Showing 231 changed files with 1,147 additions and 1,487 deletions.
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#pragma version 9

// This TEAL was generated by TEALScript v0.45.0
// This TEAL was generated by TEALScript v0.46.0
// https://github.com/algorand-devrel/TEALScript

// This contract is compliant with and/or implements the following ARCs: [ ARC4 ]
Expand Down Expand Up @@ -287,9 +287,7 @@ tokensToSwap:

// examples/amm/amm.algo.ts:79
// factor = SCALE - FEE
int 1_000
int 5
-
int 995
frame_bury -4 // factor: uint64

// examples/amm/amm.algo.ts:80
Expand Down
2 changes: 1 addition & 1 deletion examples/amm/tealscript_artifacts/ConstantProductAMM.json

Large diffs are not rendered by default.

Loading

0 comments on commit ae5fdd2

Please sign in to comment.