Skip to content

Latest commit

 

History

History
29 lines (16 loc) · 1.13 KB

README.md

File metadata and controls

29 lines (16 loc) · 1.13 KB

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:

ERC721 Gated Discount

A discount strategy that allows a product owner to set a discount for a product if the buyer owns a specific ERC721 token.

Contributing

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