Sealed Commitment Auctions with Overcollateralized Bid Bands.
.---.
/o o\
__(= " =)__
//\'-=-'/\\
) (_
/ `"=-._
/ \ ``"=.
/ / \ \ `=..--.
___/ / \ \___ _, , `\
`-----' `""""`'-----``"""` \ \_/
`-`
Seals is a highly modular, unconventially named Protocol to run Sealed Auctions using Commitment Schemes.
Each Sealed Commitment Auction is created using wighawag and ZeframLou's Clones With Immutable Args factory pattern.
The factory contract is called Floe - a floating sheet of ice where Seals are spawned,
Floe deploys three contracts per auction:
- Bloc - The Sealed Auction Manager Contract.
- Nibs - The Project Shares issued once the reveal session ends.
- Coffer - A Lockbox Contract that stores auction collaterals.
TODO
lib
├─ ds-test — https://github.com/dapphub/ds-test
├─ forge-std — https://github.com/brockelmore/forge-std
├─ solmate — https://github.com/Rari-Capital/solmate
├─ clones-with-immutable-args — https://github.com/wighawag/clones-with-immutable-args
src
├─ tests
│ └─ Seal.t — "Seal Tests"
└─ Seal — "The Seal Coordination Contract"We use Primitive and Maker's approach of Unconvential Naming inspired by The Dangers of Surprising Code h/t Alex Mistrusting Variable Names.
`
seals is built with Foundry but remains backwards compatible with DappTools.
Set up your environment by following the instructions outlined in abigger87/foundry-starter.
# Setup
make setup# Build #
make build# Testing #
make testUsing foundry.toml, Foundry is easily configurable.
To install with DappTools, run:
dapp install abigger87/sealsTo install with Foundry, run:
forge install abigger87/sealsTo install with Hardhat, run:
npm i -D seals- lil Juicebox created by Miguel Piedrafita
- Soulbound
- NFT Call Options built by verumlotus
- foundry
- solmate
- forge-std
- clones-with-immutable-args.
- foundry-toolchain by onbjerg.
- forge-template by FrankieIsLost.
- Georgios Konstantopoulos for forge-template resource.
These smart contracts are being provided as is. No guarantee, representation or warranty is being made, express or implied, as to the safety or correctness of the user interface or the smart contracts. They have not been audited and as such there can be no assurance they will work as intended, and users may experience delays, failures, errors, omissions, loss of transmitted information or loss of funds. The creators are not liable for any of the foregoing. Users should proceed with caution and use at their own risk.