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
Alternatives and similar repositories for LibDDRV:
Users that are interested in LibDDRV are comparing it to the libraries listed below
- ♠️ 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
- Oracles for greeks, realized volatility, implied volatility, risk free rate, black scholes using on chain data. Useful for pricing option…☆13Updated 2 years ago
- ☆34Updated 3 months ago
- Curve style voting escrow (ve) Uniswap v4 hook contract☆24Updated last year
- Example code for testing using Echidna explained during the Spearbit presentation☆39Updated 2 years ago
- Submodules Kill Solidity☆37Updated last year
- ☆51Updated last year
- ☆29Updated 2 years ago
- Strategies for BentoBox☆11Updated last year
- This repo contains smart contract to perform basic arithmetic operations implemented using Huff☆24Updated 8 months ago
- ☆37Updated 3 years ago
- ☆65Updated 2 years ago
- Example code for testing using Echidna explained during the Spearbit presentation☆32Updated 2 years ago
- ELO calculation as a solidity library (algorithm of 400 / chess ELO)☆33Updated 2 years ago
- Helper functions enabling players to solve past curta puzzles on their own time.☆32Updated last year
- Huff Implementation of VRGDAs☆41Updated 2 years ago
- Optimized, in-memory, memory safe data structures written in Solidity.☆36Updated 11 months ago
- ☆33Updated 2 years ago
- Secp256k1 Elliptic Curve Library Written In Huff☆5Updated last year
- Proof of slashed validator inside the EVM☆20Updated 8 months ago
- ☆44Updated 2 months ago
- A Solidity library designed to cram as many arbitrary values into as small a space as possible.☆44Updated 2 years ago
- Rolling Liquidity Vault: an ERC4626 compliant vault, passive liquidity vault built atop Sense Space Pools☆27Updated last year
- ☆50Updated last year
- Uniswap V4 Huff Hooks☆40Updated last year
- EIP-1167 Minimal Proxy Contract written in Huff☆24Updated 2 years ago
- ☆18Updated 5 months ago
- ☆10Updated last year