0

With Uniswap V2 specifying the path for router function was quite simple:

address[] path;
path[0] = address1;
path[1] = address2;
path[2] = address3;

However, with Unswap V3, path is no more of type address[]. It's of type byte. I've looked through their documentation but don't understand what the byte variable should consist of and how to do the conversion.

Any help will be appreciated.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.