osmosis-models/models/descriptions/from_decimal.md
Jessica Huhnke 15832efa73
An 1249 lp actions (#25)
* LP actions model and tests

* Fix to one token LPs

* flattened out tokens, added decimal, updated docs and test

* pool id change - remove array

* aggregates currencies and groups by msg_index

* Revert "pool id change - remove array"

This reverts commit dc4185d51f.

* lucid chart change round 1

* transfers updates

* LP actions - flattened

* change vote weight to float
2022-05-31 14:51:37 -05:00

134 B

{% docs from_decimal %}

Divide the swap_from_amount by POW(10, swap_from_decimal) to get the amount the user swapped.

{% enddocs %}