Skip to content
This repository was archived by the owner on Aug 22, 2025. It is now read-only.

snapshot-labs-archived/nft-claimer

Repository files navigation

SnapIt! contracts

You will find here the smart-contracts and associated tests for the SnapIt! product.

Architectural overview

  1. A factory is deployed by Snapshot (see SpaceCollectionFactory).
  2. Space owners on Snapshot can decide to create their own SpaceCollection by calling the deployProxy method on the factory. This method expects verifiedSigner (snapshot owned server) to sign the arguments. This ensures that the owner of a SpaceCollection is indeed the owner of the corresponding Space.
  3. Users can collect NFTs for proposals in which they participate (including past ones!). To do this, they simply need to call the mint function on the corresponding SpaceCollection. They will also need to hand a signature (given by verifiedSigner) to ensure they are minting a valid proposal.

Fees

mints are required to be paid in WETH on the Polygon chain. The space sets its own mintPrice and mintSupply. Two different fees exist:

  • The proposerFee : goes to the proposer of the proposal.
  • The snapshotFee: goes to a multisig owned by Snapshot. This fee is computed after the proposerFee.

Devs

This repo uses foundry for tests. Interesting files are in src.

About

wip

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 2

  •  
  •