i-m-aditya / jpex-contracts

Jpex Smart Contracts

Home Page:https://jpex.netlify.app/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Jpex

On-chain NFTs option trading platform which allows user to speculate, hedge and earn income from NFTs.

Contracts

contracts
├─ NftOptionBuyersVaultFactory"Create buyers vaults using this contract eg: Bayc Vault, Cryptopunks Vault"
├─ NftOptionBuyersVault"Entry point for creation and start of epoch. It offers following functionalities" 
│  ├─ startNewEpoch
│  ├─ depositInOptionBuyersVault
│  ├─ withdrawFromOptionBuyersVault
│  ├─ claimEarningForStrike
│  ├─ provideLiquidityToOptionSellersVault
├─ NftOptionSellersVaultFactory - "Create sellers vault which allows option writers to deposit NFT and mint option"
├─ NftOptionSellersVault"It offers following functionalities:"
│  ├─ bootstrap - "Bootstraps a new epoch and mints option tokens equivalent to user deposits for the epoch"
│  ├─ depositNftAndMintOption
│  ├─ depositMultipleNftAndMintOptions
│  ├─ withdrawAllClaimableNFTs
│  ├─ settle
│  ├─ liquidateNFT - "When option writer have not deposited the settlement difference in the alloted settlement window"

Safety

This is experimental software and is provided on an "as is" and "as available" basis. Contracts are not optimized, will be optimizing them in public.

Acknowledgements

These contracts were inspired by or directly modified from many sources, primarily:

About

Jpex Smart Contracts

https://jpex.netlify.app/

License:MIT License


Languages

Language:Solidity 76.3%Language:TypeScript 23.7%