integrated 4meme protocol #23
Open
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This pull request introduces a comprehensive integration of the Four.meme protocol, a fair-launch meme token platform on the BNB Chain, into the codebase. It adds new actions for buying tokens, retrieving token information, and provides all necessary constants, ABIs, and helper functions to interact with the protocol. The integration supports multi-token trading pairs, bonding curve pricing, slippage protection, and automatic liquidity provisioning.
Four.meme Protocol Integration
New Actions
BuyTokenActioninbuyToken.tsto handle purchasing meme tokens during the bonding curve phase, including slippage protection, real-time estimates, and comprehensive transaction feedback.GetTokenInfoActioningetTokenInfo.tsto retrieve detailed information about any Four.meme token, including bonding curve status, trading metrics, and liquidity details.Core Protocol Support
constants.tscontaining all Four.meme contract addresses, supported quote tokens, ABIs for the relevant contracts, type definitions for contract responses, and helper functions for token address/symbol resolution. This file centralizes protocol-specific logic and enables seamless interaction with the Four.meme smart contracts.