Skip to content

Commit

Permalink
Added view to get single swap
Browse files Browse the repository at this point in the history
  • Loading branch information
glottologist committed Nov 20, 2023
1 parent 4f25ac7 commit a580b81
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 6 deletions.
2 changes: 1 addition & 1 deletion Dockerfile.tick.beta.ghostnet
Original file line number Diff line number Diff line change
Expand Up @@ -12,5 +12,5 @@ WORKDIR /etc/run

COPY ./tick.sh /etc/run/

CMD [ "/etc/run/tick.sh", "-b", "KT1TuSwEu2hqcsSCWSj9qXwTMfYL1BvhLtxy", "-m", "KT1VpMZjKtPa2oEdD2tQJiV7Mj3r4xY4QKFQ", "-f", "150" ]
CMD [ "/etc/run/tick.sh", "-b", "KT195vSTp60vCMjha8cbf4fmV5fMRjqD4F2i", "-m", "KT1VpMZjKtPa2oEdD2tQJiV7Mj3r4xY4QKFQ", "-f", "150" ]

6 changes: 1 addition & 5 deletions batcher/batcher.mligo
Original file line number Diff line number Diff line change
Expand Up @@ -1225,13 +1225,9 @@ let does_batch_need_liquidity
| _ -> (None: batch option)


[@inline]
[@view]
let get_valid_swap (pair,storage:string * storage): valid_swap_reduced = get_valid_swap_reduced pair storage





[@view]
let get_batches_needing_liquidity ((),storage: unit * storage) : batch list=
let collect_batches (acc, (_s, i) : batch list * (string * nat)) : batch list =
Expand Down

0 comments on commit a580b81

Please sign in to comment.