Request form
iZiSwap
  • DEX
  • Liquidity
  • Dexes
  • Protocol
  • Audited
Docs
Source
ChefGPT

A next-generation DEX on BNB Chain to maximize capital efficiency with the innovative Discretized-Liquidity-AMM model

Ownable.sol
ERC20.sol
IERC20Metadata.sol
IERC20.sol
Context.sol
flash.sol
IERC20Minimal.sol
IiZiSwapCallback.sol
IiZiSwapFactory.sol
IiZiSwapFlashCallback.sol
IiZiSwapPool.sol
IOwnable.sol
iZiSwapFactory.sol
iZiSwapPool.sol
AmountMath.sol
Converter.sol
LimitOrder.sol
Liquidity.sol
LogPowMath.sol
MaxMinMath.sol
MulDivMath.sol
Oracle.sol
OrderOrEndpoint.sol
Point.sol
PointBitmap.sol
State.sol
SwapCache.sol
SwapMathX2Y.sol
SwapMathX2YDesire.sol
SwapMathY2X.sol
SwapMathY2XDesire.sol
TokenTransfer.sol
TwoPower.sol
UserEarn.sol
limitOrder.sol
liquidity.sol
swapX2Y.sol
swapY2X.sol
TestAddLimOrder.sol
TestCalc.sol
TestFlash.sol
TestMint.sol
TestMulDivMath.sol
TestPreComputePoolAddress.sol
TestQuoter.sol
TestStorageGas.sol
TestSwap.sol
TestTickMath.sol
Token.sol
console.sol

TVL

$136.94M

8 downloads

Chains

Authors

iZiSwap
  • DEX
  • Liquidity
  • Dexes
  • Protocol
  • Audited
Info
Source
ChefGPT
Expand
Share

Get Cookin'

8 downloads

Chains

Authors

iZiSwap-core

Core contracts for iZiSwap, a next-generation DEX to maximize capital efficiency by supporting concentrated liquidity and realizing Limit Order in a decentralized way. iZiSwap Periphery contracts are suggested entrances to interact with the core contracts.

Overview

iZiSwap core includes the core logic implementation for swap, liquidity management, and limit orders. Due to the size limitations of individual contracts on most EVM-compatible blockchains, we have modularized the core logic into separate modules. In the main contract, iZiSwapPool, we utilize the delegateCall() method to invoke these modules.

More details can be found in the iZiSwap whitepaper and the Developer Doc.

Licensing

The primary license for iZiSwap Core is the Business Source License 1.1 (BUSL-1.1), see LICENSE.

Use source code as npm package

$ npm install iziswap_core

An example to usage this package

import '@izumifinance/iziswap_core/contracts/interfaces/IiZiSwapPool.sol';

contract Foo {
  IiZiSwapPool pool;

  function bar() {
      // pool.addLimOrderWithY(...)
      // pool.addLimOrderWithX(...)
  }
}
A next-generation DEX on BNB Chain to maximize capital efficiency with the innovative Discretized-Liquidity-AMM model
Ownable.sol
ERC20.sol
IERC20Metadata.sol
IERC20.sol
Context.sol
flash.sol
IERC20Minimal.sol
IiZiSwapCallback.sol
IiZiSwapFactory.sol
IiZiSwapFlashCallback.sol
IiZiSwapPool.sol
IOwnable.sol
iZiSwapFactory.sol
iZiSwapPool.sol
AmountMath.sol
Converter.sol
LimitOrder.sol
Liquidity.sol
LogPowMath.sol
MaxMinMath.sol
MulDivMath.sol
Oracle.sol
OrderOrEndpoint.sol
Point.sol
PointBitmap.sol
State.sol
SwapCache.sol
SwapMathX2Y.sol
SwapMathX2YDesire.sol
SwapMathY2X.sol
SwapMathY2XDesire.sol
TokenTransfer.sol
TwoPower.sol
UserEarn.sol
limitOrder.sol
liquidity.sol
swapX2Y.sol
swapY2X.sol
TestAddLimOrder.sol
TestCalc.sol
TestFlash.sol
TestMint.sol
TestMulDivMath.sol
TestPreComputePoolAddress.sol
TestQuoter.sol
TestStorageGas.sol
TestSwap.sol
TestTickMath.sol
Token.sol
console.sol