The Uniswap v2 wrapper is written in AssemblyScript, and like the official Uniswap SDK, it has a robust test suite, performs arbitrary precision arithmetic, and supports rounding to significant digits or fixed decimal places. The Uniswap business logic can be deployed on a decentralized endpoint, like IPFS.
Documentation for the Uniswap v2 wrapper is available at https://docs.polywrap.io/uniswapv2/uniswapv2-polywrap-intro.