V2 路由
Router v2
Contract info
Types
Name
Type
Description
Entry Functions
Create Pair
public entry fun create_pair<X, Y>(sender: &signer)Params
Name
Type
Descripton
Add Liquidity
Params
Name
Type
Description
Remove Liquidity
Params
Name
Type
Description
Swap Exact Input
Params
Name
Type
Description
Swap Exact Output
Params
Name
Type
Description
Swap Exact Input Double Hop
Params
Name
Type
Description
Swap Exact Output Double Hop
Params
Name
Type
Description
Swap Exact Input Triple Hop
Params
Name
Type
Description
Swap Exact Output Triple Hop
Name
Type
Description
Swap Exact Input Quadruple Hop
Name
Type
Description
Swap Exact Output Quadruple Hop
Name
Type
Description
Public Functions
Swap Exact X to Y
Input Values
Name
Type
Description
Return Values
Type
Description
Swap X to Exact Y
Input Values
Name
Type
Description
Return Values
Position
Type
Description
Get Amount In
Input Values
Name
Type
Description
Return Values
Type
Last updated
Was this helpful?