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
- clones-with-immutable-args by wighawag written in Huff.☆27Updated 2 years ago
- Submodules Kill Solidity☆37Updated last year
- ☆29Updated 2 years ago
- ☆54Updated 2 years ago
- Curve style voting escrow (ve) Uniswap v4 hook contract☆22Updated last year
- ☆50Updated last year
- ☆50Updated last year
- ☆39Updated this week
- utilities for more granular and realistic gas measuring in forge tests☆29Updated 9 months ago
- Example code for testing using Echidna explained during the Spearbit presentation☆39Updated 2 years ago
- ☆61Updated 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
- ☆37Updated 2 years ago
- Various ERC-721 Dutch Auctions for StarkNet☆30Updated 2 years ago
- This repo contains smart contract to perform basic arithmetic operations implemented using Huff☆24Updated 6 months ago
- ☆34Updated last month
- ☆65Updated last year
- 🥪🦄 Uniswap V2 but resistant to sandwich attacks☆42Updated 2 months ago
- Huff Implementation of VRGDAs☆41Updated 2 years ago
- An Isolated Safe Environment to Execute Foundry Projects.☆44Updated 2 years ago
- Codegen pretty-printing and deep equality Solidity functions for the Forge testing framework☆65Updated last year
- Strategies for BentoBox☆10Updated last year
- secp256k1 elliptic curve cryptography in pure Solidity for on- and offchain operations☆57Updated last week
- Solidity By Example rewritten in Huff, the most based low-level EVM language.☆33Updated 8 months ago
- Uniswap V4 Huff Hooks☆40Updated last year
- Optimized, in-memory, memory safe data structures written in Solidity.☆36Updated 9 months ago
- Cross-chain message testing for Arbitrum with Foundry☆60Updated last year
- Rolling Liquidity Vault: an ERC4626 compliant vault, passive liquidity vault built atop Sense Space Pools☆27Updated last year