Skip to content

Latest commit

 

History

History
26 lines (21 loc) · 1.66 KB

README.md

File metadata and controls

26 lines (21 loc) · 1.66 KB

D2Kit Dex Smart Contract Boilerplate

👨‍💻Language: Solidity

🚀Carrier: Hardhat

This repository includes standard cryptocurrency exchange protocol based on Uniswap V2 of UniswapLabs and NFT exchange protocol based on Niftyswap of 0xsequence.

D2Kit V2 exchange Inheritance Map

D2Kit NFT exchange Inheritance Map

Key Change on D2Kit V2

Original pairFor() method was commented to elastic deployment on dev environment in D2kitV2Library. Alternative pairFor() method was provided.

function pairFor(address factory, address tokenA, address tokenB) internal view returns (address pair) 
{
  pair = ID2KitFactory(factory).getPair(tokenA,tokenB);
}