Valorem Clear is a DeFi money lego, enabling writing covered calls and cash-secured puts, physically settled or cash settled, American, European, and Exotic options.
Valorem Options Clearinghouse V1
Valorem is a DeFi money lego, enabling writing covered call and covered put, physically settled, American, European, or Exotic options.
Introduction to the Protocol
The Valorem Options Clearinghouse V1 consists of a clearing and settling engine which allows users to write options, exercise options, and redeem claims on assets, while handling fair assignment of exercises to claims written. It is designed to be gas efficient, minimal, and provide a secure settlement layer upon which more complex systems can be built.
The Clearinghouse follows the ERC-1155 multi-token standard. Options can be written for any pair of valid ERC-20 assets (excluding rebasing, fee-on-transfer, and ERC-777 tokens). When written, an option contract is represented by semi-fungible Option tokens, which can be bought/sold/transferred between addresses like any ERC-1155 token.
An option writer's claim to the underlying asset(s) (if not exercised) and exercise asset(s) (if exercised) is represented by a non-fungible option lot Claim token. This Claim NFT can be redeemed for their share of the underlying plus exercise assets, based on currently exercised.
The structure of an option is as follows:
- Underlying asset: the ERC-20 address of the asset to be received upon exercise.
- Underlying amount: the amount of the underlying asset contained within an option of this type.
- Exercise asset: the ERC-20 address of the asset needed for exercise.
- Exercise amount: the amount of the exercise asset required to exercise this option.
- Exercise timestamp: the timestamp after which this option can be exercised and physically settled.
- Expiry timestamp: the timestamp before which this option can be exercised.
Read the litepaper for more insight into the business use cases that Valorem enables.
Building the Project
- Clone the git repository
- Copy
.env.templateto.envand replace "XYZ" with yourRPC_URL(e.g., https://mainnet.infura.io/v3/apikey or https://eth-mainnet.g.alchemy.com/v2/apikey) - Run
forge test(this will install dependencies, build the project's smart contracts, and run the tests on a local fork of mainnet)
Security Info
- Audits: PDF reports
- Security contact: info(at)valorem.xyz