You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
currently when calculating router address, we only fixed supplyAmount and targetToken. I think we should also fix supplyToken and targetAmount, so that each router address represents a unique swap instruction: "swap X amount of token A to Y amount of token B".
for previous routers we can use the same router address for multiple tokens, since we don't need to consider exchange rate, only recipient.
The text was updated successfully, but these errors were encountered:
currently when calculating router address, we only fixed
supplyAmount
andtargetToken
. I think we should also fixsupplyToken
andtargetAmount
, so that each router address represents a unique swap instruction: "swap X amount of token A to Y amount of token B".for previous routers we can use the same router address for multiple tokens, since we don't need to consider exchange rate, only recipient.
The text was updated successfully, but these errors were encountered: