Huff implmentation of GOO (Gradual Ownership Optimization) Issuance. Read the whitepaper here.
Note: This codebase is experimental and is not ready to be used in production, it is meant as a learning resource.
Generated with: Versatile Huff Project Template using Foundry.
The following will need to be installed in order to use this template. Please follow the links and instructions.
- Git
- You'll know you've done it right if you can run
git --version
- You'll know you've done it right if you can run
- Foundry / Foundryup
- This will install
forge
,cast
, andanvil
- You can test you've installed them right by running
forge --version
and get an output like:forge 0.2.0 (f016135 2022-07-04T00:15:02.930499Z)
- To get the latest of each, just run
foundryup
- This will install
- Huff Compiler
- You'll know you've done it right if you can run
huffc --version
and get an output like:huffc 0.2.0
- You'll know you've done it right if you can run
- Clone this repo or run:
git clone https://github.com/PraneshASP/huff-goo-issuance
cd huff-goo-issuance
- Install dependencies:
Once you've cloned and entered into your repository, you need to install the necessary dependencies. In order to do so, simply run:
forge install
- Build & Test:
To build and test your contracts, you can run:
forge build
forge test
For more information on how to use Foundry, check out the Foundry Github Repository and the foundry-huff library repository.
lib
├─ forge-std — https://github.com/foundry-rs/forge-std
├─ foundry-huff — https://github.com/huff-language/foundry-huff
src
├─ utils
| └─ WadMath.huff - Wad Math lib
|
├─ wrappers
| └─ LibGOOWrapper.huff - A testing wrapper for LibGOO.huff
|
└─ LibGOO.huff - A GOO library implementation
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.