https://github.com/primitivefinance/v1-cross-margin-spec
Collateral management contracts for Primitive protocol.
https://github.com/primitivefinance/v1-cross-margin-spec
Last synced: over 1 year ago
JSON representation
Collateral management contracts for Primitive protocol.
- Host: GitHub
- URL: https://github.com/primitivefinance/v1-cross-margin-spec
- Owner: primitivefinance
- License: mit
- Created: 2021-01-21T03:27:03.000Z (over 5 years ago)
- Default Branch: develop
- Last Pushed: 2021-03-18T18:29:34.000Z (about 5 years ago)
- Last Synced: 2025-01-21T17:12:51.997Z (over 1 year ago)
- Language: Solidity
- Size: 3.68 MB
- Stars: 0
- Watchers: 3
- Forks: 0
- Open Issues: 11
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Primitive House Contract Repository
## Documentation
The database of Primitive protocol contracts and documentation is hosted on notion here: [Primitive Protocol HQ](https://www.notion.so/primitivefi/Primitive-Protocol-HQ-fc081b939bb04e2a90ccaebf36faa78e)
## Contracts
Primitive is a protocol for decentralized option tokens.
[description]
The live contract addresses are [here](https://www.notion.so/primitivefi/dc3b883ff9d94044b6738701b2826f7a?v=9e56507d430d4f4fb1939242cfb23736).
We use [Hardhat](https://hardhat.org) 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`
# Contributing
Join the developers and team in the Primitive discord: [Discord](https://discord.gg/JBM6APT)
# 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 security@primitive.finance. 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.