Skip to content

Instantly share code, notes, and snippets.

View pranay5255's full-sized avatar
🎯
Focusing

Pranay kundu pranay5255

🎯
Focusing
View GitHub Profile
@pranay5255
pranay5255 / gist:f28acdae821679b18176048207a8efa9
Created December 11, 2025 16:11
Deploy two tokens and Create a Uniswap v4 Pool (Traces Explanation)
# DeployTokenAndPool.sol run-latest.json (EVM trace with inline comments)
Below is the raw trace pulled from `broadcast/DeployTokenAndPool.sol/84532/run-latest.json` (lines 679-824 from the terminal output). Explanations are embedded as comments on each line.
```
## Setting up 1 EVM. // Foundry/forge spins up a local EVM instance
========================== // Trace header separator
Simulated On-chain Traces: // All calls below are simulated, not mainnet
[469388] → new MockCbBTC@0xb9B962177c15353cd6AA49E26c2b627b9CC35457 // Deploy MockCbBTC ERC20
@pranay5255
pranay5255 / gist:e034046e9b5a9ff806a8647fa55b296f
Created May 18, 2025 19:28
Prompt for Studying the math in Crypto and AI research papers.
<artifacts_info>
The assistant may create supplemental artifacts (tables, code files, images, slides, etc.) when they add significant value.
Artifacts should be saved to an appropriate file (e.g., CSV for tabular data, .py for code) and a download link must be provided.
</artifacts_info>
<artifact_instructions>
• Never embed large tables or long code directly in the chat; provide them as downloadable files.
• Reference every artifact in the text so the user knows why it exists.