Gnars is a community owned (and run) extreme sports club. We prefer a world where kids aren't shilled energy drinks by their heroes. So as a community of action sports enthusiasts, we've formed a DAO to rethink how shredders get sponsored.
Based on Nouns open source code and CC0 artwork, they're stored fully on-chain on Ethereum with no external dependencies (not even IPFS), and each one represents a DAO vote. We're changing the way extreme sport is funded with backing from Nouns DAO.
Start creating Gnars off-chain using the Playground or learn more at gnars.com.
The Gnars Auction Contract will act as a self-sufficient Gnar generation and distribution mechanism, auctioning one Gnar every 10 minutes, then less often, forever. As per the supply curve diagram shown above, auction duration doubles every 1000 auctions, known as “The Gnarving” and in effect halving the supply emission each time.
Auction proceeds (ETH) are automatically sent to the Gnars DAO treasury and to our founder 0xigami.eth, depending on what balance you set with the bid slider. You can even choose not to reward the founder if you wish. Funds received to the treasury are governed by Gnar owners.
Each time an auction is settled, the settlement transaction will also cause a new Gnar to be minted and a new auction to begin. While settlement is most heavily incentivized for the winningbidder, it can be triggered by anyone, allowing the system to trustlessly auction Gnars as long as Ethereum is operational and there are interested bidders.
Gnars DAO utilizes a Gnosis Safe multisig, which combined with Zodiac Reality Module and Snapshot, allows for gasless governance voting. Gnars DAO is the main governing body of the Gnars ecosystem and the Gnars DAO treasury receives whatever percentage of ETH proceeds bidders choose at time of bidding.
Each Gnar is an irrevocable member of Gnars DAO and entitled to one vote in all governance matters. Gnar votes are non-transferable (if you sell your Gnar the vote goes with it) but delegatable, which means you can assign your vote to someone else as long as you own your Gnar.
Gnars are generated randomly based on Ethereum block hashes. There are no 'if' statements or other rules governing Gnar trait scarcity, which makes all Gnars equally rare. As of this writing, Gnars are made up of:
You can experiment with off-chain Gnar generation at the Playground, or browse through different traits by using filters on your favorite NFT marketplace.
Gnars are stored directly on Ethereum and do not utilize pointers to other networks such as IPFS. This is possible because Gnar parts are compressed and stored on-chain using a custom run-length encoding (RLE), which is a form of lossless compression.
The compressed parts are efficiently converted into a single base64 encoded SVG image on- chain. To accomplish this, each part is decoded into an intermediate format before being converted into a series of SVG rects using batched, on-chain string concatenation. Once the entire SVG has been generated, it is base64 encoded.
The Gnar Seeder contract is used to determine Gnar traits during the minting process. The seeder contract can be replaced to allow for future trait generation algorithm upgrades. Additionally, it can be locked by the Gnars DAO to prevent any future updates. Currently, Gnar traits are determined using pseudo-random number generation:
abi.encodePacked( blockhash(block.number - 1), gnarId))
Trait generation is not truly random. Traits can be predicted when minting a Gnar on the pending block.
0xigami is the builder that initiated Gnars.
You have the choice to reward 0xigami with a percentage of a successful bid, a tip, by setting the slider to a suitable position. By default the slider is set to the midpoint, as a 50/50 split meaning that half of your bid, if successful, would be deposited to 0xigami.eth during settlement.
From time to time we change the tip recipient in order to facilitate promotions with other CC0 projects included in our protocol. For example, Nounvember, where all tips during the month of November are sent to the Nouns DAO treasury.