All Projects → primitivefinance → v1-contracts

primitivefinance / v1-contracts

Licence: MIT License
Primitive protocol solidity contracts.

Programming Languages

solidity
1140 projects
javascript
184084 projects - #8 most used programming language

Projects that are alternatives of or similar to v1-contracts

core
SIREN Core Smart Contracts
Stars: ✭ 39 (-7.14%)
Mutual labels:  options, defi
rainbow
DeFi options comparator to detect market opportunities with CLI (Go) and web (Vue3).
Stars: ✭ 40 (-4.76%)
Mutual labels:  options, defi
Wallet3
A secure mobile wallet for web3
Stars: ✭ 13 (-69.05%)
Mutual labels:  defi
hardhat-dependency-compiler
📦 Compile Solidity sources directly from NPM dependencies
Stars: ✭ 19 (-54.76%)
Mutual labels:  buidler
Setheum
Setheum Network - Islamic Finance DeFi, Multi-Stablecoins, Payments, EVM, DeFi on Rockets to Heaven => 🚀ready for hacking🚀
Stars: ✭ 15 (-64.29%)
Mutual labels:  defi
whale
The super index for DeFi Blockchain to simplify DeFi light implementation. 🚧 Consolidating into DeFiCh/jellyfish as a single monorepo project.
Stars: ✭ 17 (-59.52%)
Mutual labels:  defi
HouraiOptions
Simplified and automatic game option creation for Unity3D games.
Stars: ✭ 18 (-57.14%)
Mutual labels:  options
CherrySwap
🍒 Interest Swaps with a Cherry on Top 🍒
Stars: ✭ 45 (+7.14%)
Mutual labels:  defi
sdk
Li.Fi - Bridge & DEX aggregation: Any-to-Any Cross-Chain-Swap SDK
Stars: ✭ 18 (-57.14%)
Mutual labels:  defi
uniswap-python
🦄 The unofficial Python client for the Uniswap exchange.
Stars: ✭ 533 (+1169.05%)
Mutual labels:  defi
layer2-finance-contracts
Contracts for the Layer 2 Finance DeFi aggregator, powered by optimistic rollup.
Stars: ✭ 40 (-4.76%)
Mutual labels:  defi
Aave-FlashLoan-using-solidity
This contains all the code to execute a successful flash-loan on the Kovan test-net of Ethereum. Flash-loan will be taken from the aave lending pool where will will take 1 DAI as a flash-loan, please keep in mind that you can take very huge flash-loans but make sure you have topped-up enough DAI in to your smart contract i.e. in this instance to…
Stars: ✭ 32 (-23.81%)
Mutual labels:  defi
hardhat-abi-exporter
🧰 Export Solidity contract ABIs on compilation ⚙️
Stars: ✭ 29 (-30.95%)
Mutual labels:  buidler
awesome-waves
Curated list of awesome things for development on Waves blockchain.
Stars: ✭ 60 (+42.86%)
Mutual labels:  defi
Black-Scholes-Option-Pricing-Model
Black Scholes Option Pricing calculator with Greeks and implied volatility computations. Geometric Brownian Motion simulator with payoff value diagram and volatility smile plots. Java GUI.
Stars: ✭ 25 (-40.48%)
Mutual labels:  options
compound-borrow-examples
Code examples for borrowing Ethereum assets from the Compound Protocol.
Stars: ✭ 76 (+80.95%)
Mutual labels:  defi
deployment
This repository list all public deployed smart contract address on Ethereum mainnet for mushrooms ecosystem: https://www.mushrooms.finance/
Stars: ✭ 22 (-47.62%)
Mutual labels:  defi
arbitrage-bot
An arbitrage bot that detects arbitrage opportunities between pancake and bakery swaps and manages flash swap calls, to the flash swap contract
Stars: ✭ 132 (+214.29%)
Mutual labels:  defi
setprotocol.js
🥞 Javascript library for a collateralized basket of ERC20 tokens
Stars: ✭ 57 (+35.71%)
Mutual labels:  defi
ricochet
Enter the world of real-time investing
Stars: ✭ 21 (-50%)
Mutual labels:  defi

Primitive Protocol

Twitter Follow Discord

Documentation

The database of Primitive protocol contracts and documentation is hosted on notion here: Primitive Protocol HQ

Contracts

Primitive is a decentralized protocol for options that is focused on security and simplicity. Users and developers will tap into the protocol to offer and underwrite tokenized options on any ERC-20 token. The protocol operates without any centralized control, enabling an immutable set of smart contracts to work in perpetuity on Ethereum.

This repository has the core contracts for the Option primitives.

The live contract addresses are here.

We use Hardhat as a development environment for compiling, testing, and deploying the contracts.

Testing

Run Tests

yarn test

Run Coverage

yarn coverage

Deployments

yarn deploy:mainnet

yarn deploy:rinkeby

Verify Deployments

yarn verify:rinkeby

yarn verify:mainnet

Reports

Coverage

The coverage report is available here.

Gas

The gas report is available here.

Contributing

Join the developers and team in the Primitive discord: Discord

Security

The disclosure of security vulnerabilities helps us ensure the security of our users.

How to report a security vulnerability?

If you believe you’ve found a security vulnerability in one of our contracts or platforms, send it to us by emailing [email protected]. Please include the following details with your report:

  • A description of the location and potential impact of the vulnerability.
  • A detailed description of the steps required to reproduce the vulnerability.
Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].