/contracts-pricing

Product pricing strategies for Slice products

Primary LanguageSolidityMIT LicenseMIT

Slice pricing strategies

This repo contains custom pricing strategies for products sold on Slice.

Each strategy inherits the ISliceProductPrice interface and serves two main purposes:

  • Allow a product owner to set price params for a product via setProductPrice;
  • Return product price via productPrice;

Strategies

VRGDA

Variable Rate Gradual Dutch Auctions. Read the whitepaper here.

Slice-specific implementations modified from https://github.com/transmissions11/VRGDAs:

Contributing

You will need a copy of Foundry installed before proceeding. See the installation guide for details.