BalancerAdapter
BalancerAdapter
balancerVault
constructor
swapExactInput
swap with exact input
Parameters
Name | Type | Description |
---|---|---|
recipient | address | recipient of amountOut of tokenOut |
tokenIn | address | address of a token to swap on dex |
tokenOut | address | address of a token to receive from dex |
amountIn | uint256 | exact amount of tokenIn to swap |
minAmountOut | uint256 | minimal amount of tokenOut to receive |
data | bytes | data for AdapterCallback |
swapExactOutput
swap with exact output
Parameters
Name | Type | Description |
---|---|---|
recipient | address | recipient of amountOut of tokenOut |
tokenIn | address | address of a token to swap on dex |
tokenOut | address | address of a token to receive from dex |
maxAmountIn | uint256 | maximal amount of tokenIn to swap |
amountOut | uint256 | exact amount of tokenOut to receive |
data | bytes | data for AdapterCallback |
FundManagement
SingleSwap
SwapKind
IVault
swap
IAsset
IBasePool
getPoolId
Last updated