Skip to content

slice-so/contracts-pricing

Repository files navigation

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.

About

Product pricing strategies for Slice products

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published