HISA Automated Market Maker (AMM)

A decentralized finance platform with JANI, UMOJA, and CHAT ecosystems. Swap tokens, provide liquidity, calculate rewards, analyze arbitrage, and simulate price impact.

Ecosystem Overview

Pool Reserves

HISA

Reserve amount

100000

USDC

Reserve amount

500000

Constant Product Formula

50000000000

HISA Reserve × USDC Reserve = k (Constant)

x * y = k

Swap Tokens

You will receive: 0 USDC

Add Liquidity

Result: Enter amounts to see result

LP Rewards Calculator

MetricValue
Liquidity Value$0
Daily Volume$0
Daily Fees$0
User Daily Share$0
Period Rewards$0
Estimated APY0%
ROI0%

Arbitrage Calculator

MetricValue
Pool Price0
External Price0
Price Difference0
Price Diff %0%
Arbitrage OpportunityNo
Optimal Amount0
Estimated Profit$0

Price Impact Simulator

MetricValue
Amount Out0
Fee0
Price Impact0%
New Price A/B0
New Price B/A0

Pool Information

HISA/USDC Price Relationship

Price: 1 HISA = 5 USDC

Ecosystem Prices

TokenPrice (USDC)

How AMMs Work

Automated Market Makers (AMMs) use mathematical formulas to provide liquidity automatically. The constant product formula (x * y = k) ensures that the product of the quantities of two tokens in a pool remains constant.

When you swap one token for another, the pool adjusts the price based on the ratio of the remaining tokens, ensuring there's always liquidity available.

Price Impact

The price of tokens in an AMM changes with each trade. Larger trades have greater price impact because they significantly change the ratio of tokens in the pool.

Price = (Reserve of token you're selling) / (Reserve of token you're buying)

Liquidity Provider Fees

Each swap includes a fee (typically 0.3%) that goes to liquidity providers. This fee is added to the pool, increasing the value of liquidity provider tokens.

In this simulation, fees are automatically calculated and added to the reserves after each swap.