Source Code
Last updated
Was this helpful?
Last updated
Was this helpful?
Content Out of Date
This content is not maintained and refers to an out-of-date version of Perpetual Protocol.
For the latest documentation, see
The source code Curie smart contracts now appear on GitHub as well as Etherscan and are now more structured and easier to read. For the core smart contracts that underlie Perp v2, the full audit reports can be found .
The Curie, Curie Periphery and Oracle contracts are all now publicly available on GitHub. If you are a smart contract developer, check out the repository links below to get started with building on top of Perp v2:
Note: the Curie contract is subject to the bug bounty program with .
For more details about implementation, check out the docs . All of the contracts above are licensed under GPL-3.0, meaning that any changes must be documented and ensure that the entire ecosystem benefits from any re-use of the code.
You’ll be able to closely follow every change made by our team in these different repositories. We invite anyone to review our code, provide feedback through the issues tracker, submit pull requests and start building on top of our highly composable on-chain derivatives protocol.
By open sourcing the software development kit for Perp v2’s frontend, it’s now easier for BUIDLers to create alternative front ends!
We invite anyone to review our code, provide feedback through the issues tracker, submit pull requests and start building alternative frontends.
Open sourcing the Perp subgraph provides more transparency and enables anyone to query historical data, especially those that are difficult to fetch from the contract.
Anyone can become a collateral liquidator to earn collateral liquidation profits in USDC without any upfront capital needed.
Access Control
Contract owner can withdraw funds (USDC) from the contract and perform liquidations,
Whitelisted EOA can directly interact with the contract to liquidate more efficiently.
The Perp Frontend SDK is publicly available on GitHub:
The Perp Curie Subgraph is publicly available on GitHub:
If you want to start BUIDLing using the materials linked above, you may be interested in our , where any project or idea that builds on Perpetual Protocol and benefits our ecosystem can apply for funding.
The Collateral Liquidator is publicly available on GitHub: