Skip to content

Commit

Permalink
Merge pull request #36 from algorand-devrel/dev
Browse files Browse the repository at this point in the history
0.10.1
  • Loading branch information
joe-p authored Apr 14, 2023
2 parents 13e16e5 + 97972fa commit d2921e0
Show file tree
Hide file tree
Showing 58 changed files with 12,608 additions and 13,217 deletions.
1 change: 0 additions & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,6 @@ jobs:
with:
node-version: '16.x'
registry-url: 'https://registry.npmjs.org'
- run: npm ci
- run: npm publish
env:
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
32 changes: 0 additions & 32 deletions examples/amm/tealscript_artifacts/ConstantProductAMM.approval.teal
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,6 @@ bare_route_create:
==
&&
assert
byte 0x
pop
callsub create
int 1
return
Expand Down Expand Up @@ -123,8 +121,6 @@ doOptIn:

// examples/amm/amm.algo.ts:48
// this.doAxfer(this.app.address, asset, 0)
byte 0x
pop
int 0
frame_dig -1 // asset: asset
txna Applications 0
Expand Down Expand Up @@ -304,8 +300,6 @@ abi_route_set_governor:
!=
&&
assert
byte 0x
pop
txna ApplicationArgs 1
btoi
txnas Accounts
Expand Down Expand Up @@ -340,8 +334,6 @@ abi_route_bootstrap:
!=
&&
assert
byte 0x
pop
txna ApplicationArgs 2
btoi
txnas Assets
Expand Down Expand Up @@ -413,24 +405,18 @@ bootstrap:
// examples/amm/amm.algo.ts:104
// this.poolToken.put(this.doCreatePoolToken(aAsset, bAsset))
byte "p"
byte 0x
pop
frame_dig -3 // bAsset: asset
frame_dig -2 // aAsset: asset
callsub doCreatePoolToken
app_global_put

// examples/amm/amm.algo.ts:106
// this.doOptIn(aAsset)
byte 0x
pop
frame_dig -2 // aAsset: asset
callsub doOptIn

// examples/amm/amm.algo.ts:107
// this.doOptIn(bAsset)
byte 0x
pop
frame_dig -3 // bAsset: asset
callsub doOptIn

Expand Down Expand Up @@ -605,8 +591,6 @@ skip_and1:
// if0_consequent
// examples/amm/amm.algo.ts:139
// this.tokensToMintIntial(aXfer.assetAmount, bXfer.assetAmount)
byte 0x
pop
frame_dig -2 // bXfer: axfer
gtxns AssetAmount
frame_dig -1 // aXfer: axfer
Expand Down Expand Up @@ -661,8 +645,6 @@ if0_else:

// examples/amm/amm.algo.ts:151
// this.doAxfer(this.txn.sender, poolAsset, toMint)
byte 0x
pop
frame_dig -6 // toMint: uint64
frame_dig -3 // poolAsset: asset
txn Sender
Expand Down Expand Up @@ -786,8 +768,6 @@ burn:

// examples/amm/amm.algo.ts:177
// aAmt = this.tokensToBurn(
byte 0x
pop
frame_dig -1 // poolXfer: axfer
gtxns AssetAmount
txna Applications 0
Expand All @@ -802,8 +782,6 @@ burn:

// examples/amm/amm.algo.ts:183
// bAmt = this.tokensToBurn(
byte 0x
pop
frame_dig -1 // poolXfer: axfer
gtxns AssetAmount
txna Applications 0
Expand All @@ -818,17 +796,13 @@ burn:

// examples/amm/amm.algo.ts:189
// this.doAxfer(this.txn.sender, aAsset, aAmt)
byte 0x
pop
frame_dig -6 // aAmt: uint64
frame_dig -3 // aAsset: asset
txn Sender
callsub doAxfer

// examples/amm/amm.algo.ts:190
// this.doAxfer(this.txn.sender, bAsset, bAmt)
byte 0x
pop
frame_dig -7 // bAmt: uint64
frame_dig -4 // bAsset: asset
txn Sender
Expand All @@ -837,8 +811,6 @@ burn:
// examples/amm/amm.algo.ts:192
// this.ratio.put(this.computeRatio())
byte "r"
byte 0x
pop
callsub computeRatio
app_global_put
retsub
Expand Down Expand Up @@ -976,8 +948,6 @@ ternary1_end:

// examples/amm/amm.algo.ts:219
// this.doAxfer(this.txn.sender, outId, toSwap)
byte 0x
pop
frame_dig -6 // toSwap: uint64
frame_dig -4 // outId: asset
txn Sender
Expand All @@ -986,8 +956,6 @@ ternary1_end:
// examples/amm/amm.algo.ts:221
// this.ratio.put(this.computeRatio())
byte "r"
byte 0x
pop
callsub computeRatio
app_global_put
retsub
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 d2921e0

Please sign in to comment.