Business
Jobs
  • About Us
  • Solutions
    • Job Postings
      Post your job and receive qualified candidates in 48h.
    • Candidate Assessments
      500+ technical and psychological tests, plus anti-fraud.
    • Headhunting
      Tailor-made executive search from start to finish.
    • Payroll + EOR
      Payroll dispersal and EOR across 15+ LATAM countries.
  • Pricing
  • Jobs

0

148
Views
Edit Pancake SDK Routing

I am attempting to chang the multi-call on pancake SDK to my new router

The swapExactEthForTokens has 3 new parameters, those being: _factory, initicodehash, lastVal, thousands. The swapExactTokensForEth also adds 3 new parameters, however it gets rid of the “to” parameter.

Im trying to change pancake SDK to do the following Call the functions of the router “getAmountsOut”, “getAmountsOutPancakeV1” and “getAmountsOutWaultswap” via a multicall. The lastVal and thousands should be 9975 and 10000 Once the multicall is done, select the best price and call the “swapExactEthForTokens” or “swapExactTokensForEth”

I cant get it to call properly - what exactly do i change within the SDK - the old pancakeswap router is this: 0x10ED43C718714eb63d5aA57B78B54704E256024E the new router to use is this: 0x45a0DCA705EDeDffd6cE60feB1C8007Ca280a410

about 4 years ago · Juan Pablo Isaza
Answer question
Find remote jobs

Discover the new way to find a job!

Top jobs
Top job categories
Business
Post vacancy Pricing Sales
Legal
Terms and conditions Privacy policy
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Show me some job opportunities
There's an error!