Looking for a Solidity Smart Contract developer with experience using Assembly to fix a small issue

Search more jobs
I'm trying to optimize the gas cost for a swap smart contract. The goal is to make a swap using assembly however the issue is that it doesn't work. The code is from this repository:


If you try running the code on remix it won't execute properly. I'm trying to figure out how the transfer and swap functions are done in assembly as you can see in lines 86 and lines 119.

I'm looking for someone to explain how they work and fix it. the calldata you must use to execute the fallback() function is this:


The smart contract will then extract the different parameters from it using assembly. Check it out and let me know.

Remember the goal is to understand how the lines 86 and 119 work so I can optimize them properly and fix it. The contract is simply executing a simple swap() from uniswap v2 contracts.
  • Less than 30 hrs/week
  • < 1 month
  • Intermediate
    Experience Level
  • $10.00-$50.00
  • Remote Job
  • One-time project
    Project Type

Skills and Expertise

Blockchain & NFT Programming Languages
Blockchain Platform
Ethereum Bitcoin

Activity on this job

  • 20 to 50
    20 to 50
  • 6 days ago
    Last viewed by client
    6 days ago
  • 10
  • 0
    Invites sent
  • 0
    Unanswered invites

About the client

Member since Nov 28, 2021
  • Spain
    Madrid 3:45 pm
  • 29 jobs posted
    56% hire rate, 2 open jobs
  • $5.9K total spent
    29 hires, 2 active
  • $6.34 /hr avg hourly rate paid
    446 hours
  • Media & Entertainment
    Mid-sized company (10-99 people)
  • Member since Nov 28, 2021

Explore similar jobs on Upwork

NFT Developer
Fixed-price ‐ Posted 17 hours ago
NFT NFT Art NFT Design NFT Collection Generation Cryptocurrency Blockchain, NFT & Cryptocurrency Ethereum Bitcoin
NFT enthusiast
Fixed-price ‐ Posted 18 hours ago
NFT NFT Design Cryptocurrency Blockchain, NFT & Cryptocurrency Metaverse Blockchain Ethereum Bitcoin

How it works

Post a job icon
Create your free profile

Highlight your skills and experience, show your portfolio, and set your ideal pay rate.

Talent comes to you icon
Work the way you want

Apply for jobs, create easy-to-by projects, or access exclusive opportunities that come to you.

Payment simplified icon
Get paid securely

From contract to payment, we help you work safely and get paid securely.

Want to get started?

About Upwork

Stars rating
(Average rating of clients by professionals)
G2 2021
#1 freelance platform
Signed contract every week
Freelancers earned on Upwork in 2020

Find the best freelance jobs

Growing your career is as easy as creating a free profile and finding work like this that fits your skills.

Trusted by
Microsoft Logo Airbnb Logo Bissell Logo GoDaddy Logo