valorem-labs-inc / LibDDRV
Generate discrete random variates from a set of dynamically weighted elements in Solidity using a forest of trees data structure, based on a novel algorithm laid out in a paper found in the esoteric footnotes of Knuth. Runs in iterative log time for on-chain use cases.
☆11Updated last year
Related projects ⓘ
Alternatives and complementary repositories for LibDDRV
- ♠️ Dive into our ETH Denver 2023 Hackathon project where we built a Dynamic PMF Random Variate Generator using Solidity for blockchain-ba…☆13Updated last year
- Oracles for greeks, realized volatility, implied volatility, risk free rate, black scholes using on chain data. Useful for pricing option…☆13Updated 2 years ago
- Example code for testing using Echidna explained during the Spearbit presentation☆39Updated 2 years ago
- ☆29Updated 2 years ago
- Curve style voting escrow (ve) Uniswap v4 hook contract☆23Updated last year
- ☆43Updated 2 weeks ago
- clones-with-immutable-args by wighawag written in Huff.☆27Updated 2 years ago
- ☆34Updated 2 months ago
- Uniswap V4 Huff Hooks☆40Updated last year
- ☆50Updated last year
- ☆65Updated last year
- Rolling Liquidity Vault: an ERC4626 compliant vault, passive liquidity vault built atop Sense Space Pools☆27Updated last year
- ☆10Updated last year
- This repo contains smart contract to perform basic arithmetic operations implemented using Huff☆24Updated 6 months ago
- ELO calculation as a solidity library (algorithm of 400 / chess ELO)☆33Updated last year
- Example setup of Forge tests and CI to do basic checks for storage collisions when iterating on upgradeable contract implementations.☆28Updated last year
- Submodules Kill Solidity☆37Updated last year
- ☆15Updated 11 months ago
- ☆63Updated last year
- ☆54Updated 2 years ago
- An Isolated Safe Environment to Execute Foundry Projects.☆44Updated 2 years ago
- Optimized, in-memory, memory safe data structures written in Solidity.☆36Updated 9 months ago
- ERC721 contract written entirely in assembly, with custom storage mappings.☆23Updated 2 years ago
- A graph library built with Cairo☆28Updated 2 years ago
- Strategies for BentoBox☆10Updated last year
- 🔎 Highly optimized Solidity library of statistical functions rationally approximated☆20Updated last month
- ☆50Updated last year
- secp256k1 elliptic curve cryptography in pure Solidity for on- and offchain operations☆57Updated 2 weeks ago
- Starport is a kernel for building lending protocols☆24Updated 5 months ago
- Example code for testing using Echidna explained during the Spearbit presentation☆32Updated 2 years ago