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
{{ message }}
This repository has been archived by the owner on Jun 8, 2023. It is now read-only.
I have a question about auto perimting allowance when calling mutilcall. I saw two parameters (Token0Permit, Token1Permit) in CommonAddLiquidityOptions:
// Options for producing the calldata to add liquiditytypeCommonAddLiquidityOptionsstruct {
SlippageTolerance*core.Percent// How much the pool price is allowed to moveDeadline*big.Int// When the transaction expires, in epoch secondsUseNative*core.Ether// Whether to spend ether. If true, one of the pool tokens must be WETH, by default falseToken0Permit*PermitOptions// The optional permit parameters for spending token0Token1Permit*PermitOptions// The optional permit parameters for spending token1
}
I know it would be wrapped in AddCallParameters automatically. But I don't know how to wrap the VRS(signature data).
Can you give me a simple example for calling AddCallParameters with perimited parameters?
The text was updated successfully, but these errors were encountered:
I haven't used these features, so can not help you. But I advice you to take a look at official js version of uniswap v3 sdk, I assume this sdk follows the same logic.
Hi, guys. Thanks for sharing this SDK.
I have a question about auto perimting allowance when calling
mutilcall
. I saw two parameters (Token0Permit, Token1Permit) inCommonAddLiquidityOptions
:These two permit parameters defined in https://github.com/daoleno/uniswapv3-sdk/blob/master/periphery/selfpermit.go
I know it would be wrapped in AddCallParameters automatically. But I don't know how to wrap the VRS(signature data).
Can you give me a simple example for calling AddCallParameters with perimited parameters?
The text was updated successfully, but these errors were encountered: