Empresas
Empleos
  • Sobre nosotros
  • Soluciones
    • Publicación de vacantes
      Publica tu vacante y recibe candidatos calificados en 48h.
    • Evaluación de candidatos
      500+ pruebas técnicas y psicológicas, más anti-fraude.
    • Headhunting
      Búsqueda ejecutiva a la medida de principio a fin.
    • Nómina + EOR
      Dispersión de nómina y EOR en más de 15 países de LATAM.
  • Precios
  • Empleos

0

149
Vistas
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
Responde la pregunta
Encuentra empleos remotos

¡Descubre la nueva forma de encontrar empleo!

Top de empleos
Top categorías de empleo
Empresas
Publicar vacante Precios Comercial
Legal
Términos y condiciones Política de privacidad
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Recomiéndame algunas ofertas
Necesito ayuda