Skip to main content

2 docs tagged with "Sale"

View All Tags

Sale

This is Fileshop's primary contract. It stores information about the sale such as the seller's wallet address, price, a hash of the file's location on IPFS and other metadata related to the sale. Once a Sale clone has been deployed the contract address is returned to the frontend and is used for generating the sale link.

Sales Manager

This is the smart contract that deploys clones of the Sale contract. The Fileshop frontend interacts with this contract to create and deploy a Sale using details entered by the user. Once a Sale clone has been deployed the contract address is returned to the frontend and is used for generating the sale link.