Open Abeeujah opened 3 days ago
May I take this issue on?
My Background I am a Full Stack Blockchain Developer with proficiency in Solidity/Rust, Next.js, TypeScript, React, and Node.js. I've demonstrated my ability to adjust to a variety of requirements, perform well under pressure, and reliably produce user-centric blockchain solutions with 46 significant contributions spread over 12 OnlyDust projects.
I'd love to work on this!
my name is Gideon Bature, a Software Engineer with experience working on Rust projects. If assigned this task, will send my first PR within 48 hours.
Thank you!
Hey, I understand the issue well. Please give me a chance to implement a callback for handling events emitted on percentage change.
I al a good rust Dev. I can handle this
May I handle this issue?
I'd like to handle this task.
Can I take this from here?
May I pick this up?
I'd like to handle this task. @Abeeujah please kindly assign
Can I attempt this issue?
I’d like to resolve this.
here's how i'll tackle this task:
To tackle this task, I will develop a service that processes events when a user updates their auto-swap percentage for a specific token. The service will receive payloads containing the wallet address, the token being updated, and the new percentage value. I will validate the incoming data to ensure it is complete and accurate. Then, I will update the swap_subscription_from_token table by matching the wallet address and token and setting the new percentage value. To ensure reliability, I will implement error handling for scenarios such as invalid tokens or database issues. After completing the implementation, I will thoroughly test the service to confirm it correctly updates the percentage and handles all edge cases, ensuring the system functions as expected.
I'd love to work on this!
Overview
This service handles events emitted when a user updates the percentage for auto-swap from a specific token.
Payload
The service should handle incoming payloads with the following structure:
wallet_address
: The user's wallet address.from_token
: The token for which the percentage is being updated.percentage
: The new percentage value.Functionality
percentage
value for the specifiedfrom_token
in theswap_subscription_from_token
table.Acceptance Criteria
percentage
for the specifiedfrom_token
is updated correctly.Examples
Input Payload:
Database Update:
wallet_address
= 0xUserAddressfrom_token
= STRKpercentage
= 75Dependencies
swap_subscription_from_token
.