Skip to content

Instantly share code, notes, and snippets.

View Ericselvig's full-sized avatar

Yash Goyal Ericselvig

View GitHub Profile
# **Olympus X Whitepaper: A Decentralized Ethereum Treasury Built for Long-Term Holders**
## **Introduction**
If you've ever bought into a project — putting in your time, money, and belief — only to watch it pump briefly before collapsing into endless **red candles**, you're not alone. Loyal holders often stick together, even locking up their tokens, yet they still get punished when a few liquid holders **panic-sell** into thin liquidity and drag the **price down for everyone** else. Early sellers walk away with profits, while the most loyal group — **the stakers** — are left locked in, earning rewards in a token **bleeding value** by the day. **OlympusX is built to solve exactly that**.
**We treat stakers like the elite group they are**. Instead of allowing all the profits to flow to the fastest sellers, OlympusX ensures the most loyal groups engaged in the best behaviors are rewarded. **OlympusX TAXES ALL MARKET SELLING and then invests it** into a sustainable **ETH Validator and Liquidity Providing Trea
@Ericselvig
Ericselvig / .deps...npm...hardhat...console.sol
Created March 30, 2024 13:40
Created using remix-ide: Realtime Ethereum Contract Compiler and Runtime. Load this file by pasting this gists URL or ID at https://remix.ethereum.org/#version=soljson-v0.8.25+commit.b61c2a91.js&optimize=false&runs=200&gist=
// SPDX-License-Identifier: MIT
pragma solidity >=0.4.22 <0.9.0;
library console {
address constant CONSOLE_ADDRESS =
0x000000000000000000636F6e736F6c652e6c6f67;
function _sendLogPayloadImplementation(bytes memory payload) internal view {
address consoleAddress = CONSOLE_ADDRESS;
/// @solidity memory-safe-assembly