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 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
- clones-with-immutable-args by wighawag written in Huff.☆27Updated 2 years ago
- Curve style voting escrow (ve) Uniswap v4 hook contract☆24Updated last year
- This repo contains smart contract to perform basic arithmetic operations implemented using Huff☆24Updated 11 months ago
- Strategies for BentoBox☆11Updated 2 years ago
- ☆29Updated 2 years ago
- ☆37Updated 3 years ago
- Submodules Kill Solidity☆38Updated last year
- Example code for testing using Echidna explained during the Spearbit presentation☆40Updated 2 years ago
- ☆51Updated last year
- A Foundry template to compile and test Huff contracts.☆52Updated 2 years ago
- ☆65Updated 2 years ago
- secp256k1 elliptic curve cryptography in pure Solidity for on- and offchain operations☆60Updated 3 weeks ago
- Example setup of Forge tests and CI to do basic checks for storage collisions when iterating on upgradeable contract implementations.☆28Updated 2 years ago
- ☆34Updated 6 months 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
- A Solidity library designed to cram as many arbitrary values into as small a space as possible.☆44Updated 2 years ago
- Pack data tightly together and save space.☆71Updated 2 years ago
- Solidity By Example rewritten in Huff, the most based low-level EVM language.☆33Updated last year
- Various ERC-721 Dutch Auctions for StarkNet☆30Updated 2 years ago
- ☆44Updated 4 months ago
- Rolling Liquidity Vault: an ERC4626 compliant vault, passive liquidity vault built atop Sense Space Pools☆27Updated last year
- Optimized, in-memory, memory safe data structures written in Solidity.☆36Updated last year
- Uniswap V4 Huff Hooks☆40Updated last year
- ERC721 contract written entirely in assembly, with custom storage mappings.☆23Updated 2 years ago
- EIP-1167 Minimal Proxy Contract written in Huff☆25Updated 2 years ago
- A collection of practical security-focused guides and checklists for Morpho smart contract development.☆26Updated last year
- Example code for testing using Echidna explained during the Spearbit presentation☆32Updated 2 years ago