Open Abeeujah opened 4 hours ago
Can I attempt this issue?
I'd like to handle this task.
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!
Could I be assigned to this?
May I handle this issue?
May I take care of this?
Mind if I take this issue?
Would love to tackle this! @Abeeujah kindly assign :)
Would love to tackle this!
Hi, Can i handle this task? This is my first time contributing to this repository, and I’m excited about the opportunity to collaborate and bring my skills to the table.
here's how i'll handle tackle this issue: I will create a backend service to log swap transactions accurately. The service will validate payloads containing details like wallet_address, from_token, to_token, percentage, amount_from, and amount_to before recording them in the transactions_log table. I’ll ensure proper data validation, error handling, and seamless integration with the database and swap event triggers.
Can I start working on this?
Overview
This service logs all swap transactions for record-keeping and analytics purposes.
Payload
The service should handle incoming payloads with the following structure:
wallet_address
: The user's wallet address.from_token
: The token swapped from.to_token
: The token swapped to.percentage
: The percentage of thefrom_token
swapped.amount_from
: The amount offrom_token
swapped.amount_to
: The amount ofto_token
received.Functionality
Acceptance Criteria
Examples
Input Payload:
Database Insert:
wallet_address
: 0xUserAddressfrom_token
: STRKto_token
: USDTpercentage
: 50amount_from
: 500amount_to
: 480Dependencies
transactions_log
.