Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@quant-finance/rolla-order-protocol

Package Overview
Dependencies
Maintainers
1
Versions
9
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@quant-finance/rolla-order-protocol

Rolla Order Protocol

  • 0.9.2
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
0
decreased by-100%
Maintainers
1
Weekly downloads
 
Created
Source

Rolla Finance

Coverage Status Build Status

Rolla Order Protocol

Overview

The following repo contains the smart contracts and tests for the Rolla Order Protocol.

Rolla order protocol is a smart contract that allows a user to sell options for a premium. It is responsible for co-ordinating a trade between a maker and a taker but uses the rolla quant protocol for minting options and managing collateral pre and post settlement. Code for the quant-protocol can be found here: https://github.com/RollaProject/quant-protocol

The contract allows some maker to create some order in the specified format using their ethereum private key. The order the user is for is known as the taker and so long as all the conditional checks of the order are ok, the transaction will take place. The order allows the maker to buy a specified option from the taker which will be minted on demand from the taker's underlying balance.

The following features are supported:

  • Cancellation of a single order and multiple orders by the maker. They can do this either by the order or the creation timestamp of the order respectively.
  • Support cancellation by order id
  • Orders are provided for one taker only (can't be taken by others), and can be fulfilled once only. Partial fills are allowed to happen but will render the order filled so it can't be taken again (at all).

The protocol supports trading of qTokens only through the quant-protocol. i.e. some premium can be paid in an ERC20 token for an option which is also an ERC20 token. The option seller will receive the collateral token (ERC1155) which is required to claim back their collateral post-expiry.

FAQs

Package last updated on 10 Jan 2023

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc