xdefi-contracts

1.0.4 • Public • Published

Collection of DEFI Contracts

1. Core contracts

-> XSwap ERC20 Token - Token for pool management , LP Tokens, minted and burned to maintain the liquidity ownership

-> XSwap PAIR - This Contract handles , the swapping , minting , and burning for the Token pair

-> XSwap Factory - Manages and Creates the variour pair contracts

-> Lending Pool - Lending / Borrowing Pool for a token , manages both operations

-> Staking Pool - Staking Pool to stake tokens and earn rewards

2. Frontends ( Periphery ) Contracts

-> XSwap Router - Contract that interacts with Factory and Pair contracts for Swapping and quotes for Swapping

-> XSwap Price Oracle - Fetch the price of the tokens on-Chain from the Tokens pair pool

-> Lending Router - Contract interacting with Factory and pool contract to facilitate Lending and Borrowing service

-> Staking Router - Contract enabling Staking and rewards services on the platform

3. Others Contract

-> WXDC Token - XDC Wrapper ERC20 token

-> Stablecoin - USDX stablecoin backed by XDC

-> ETH Wrapper - ETH Wrapper token

-> Token - ERC20 token contract used for deploying all the tokens

4. Extras

-> Contracts Also includes all the interfaces , libraries used for the project

NOTE : Swapping contracts are ready for Mainnet Deployement . The contracts are properly audited , gas optimized and quailty approved .

NOTE : LENDING and STAKING contracts Not fit for mainnet, No Audit has been done for these contracts. Issues maybe present.

Package Sidebar

Install

npm i xdefi-contracts

Weekly Downloads

0

Version

1.0.4

License

MIT

Unpacked Size

85.3 kB

Total Files

34

Last publish

Collaborators

  • 0xdhruv