pezpallet-asset-conversion

Crates.iopezpallet-asset-conversion
lib.rspezpallet-asset-conversion
version10.0.0
created_at2025-12-29 12:10:49.78428+00
updated_at2025-12-29 12:10:49.78428+00
descriptionFRAME asset conversion pezpallet
homepagehttps://pezkuwichain.io/
repositoryhttps://github.com/pezkuwichain/pezkuwi-sdk.git
max_upload_size
id2010505
size284,245
(SatoshiQaziMuhammed)

documentation

https://docs.pezkuwichain.io/

README

asset-conversion

A swap pezpallet

This pezpallet allows assets to be converted from one type to another by means of a constant product formula. The pezpallet based is based on Uniswap V2 logic.

Overview

This pezpallet allows you to:

  • create a liquidity pool for 2 assets
  • provide the liquidity and receive back an LP token
  • exchange the LP token back to assets
  • swap 2 assets if there is a pool created
  • query for an exchange price via a new runtime call endpoint
  • query the size of a liquidity pool.

Please see the rust module documentation for full details:

cargo doc -p pezpallet-asset-conversion --open

License

License: Apache-2.0

Commit count: 185

cargo fmt