This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| import logging | |
| import os | |
| import math | |
| from decimal import Decimal | |
| from typing import Dict | |
| from pydantic import Field | |
| from hummingbot.connector.utils import split_hb_trading_pair | |
| from hummingbot.core.data_type.order_candidate import OrderCandidate | |
| from hummingbot.core.event.events import OrderFilledEvent, OrderType, TradeType |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| { | |
| "version": "0.1.0", | |
| "name": "pump", | |
| "instructions": [ | |
| { | |
| "name": "initialize", | |
| "docs": [ | |
| "Creates the global state." | |
| ], | |
| "accounts": [ |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| """ | |
| lp_manage_position_simple.py | |
| Simplified CLMM LP position manager that automatically rebalances positions. | |
| This is a simpler version of lp_manage_position.py that: | |
| - Monitors existing positions or creates new ones with user-specified token amounts | |
| - Automatically rebalances when price moves out of position bounds | |
| - Switches to single-sided liquidity after first rebalance for capital efficiency |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/usr/bin/env node | |
| /** | |
| * HumidiFi Swap Parser | |
| * Parses and decodes obfuscated swap data from HumidiFi transactions on Solana. | |
| * | |
| * HumidiFi obfuscates swap parameters using XOR encryption. This script decrypts | |
| * the data and extracts: pool address, tokens involved, and swap amounts. | |
| * | |
| * Usage: | |
| * node humidifi-swap-parser.js <transaction_signature> |
OlderNewer