Router architecture
MarginlyRouter
constructor
constructor(struct AdapterInput[] _adapters) publicswapExactInput
function swapExactInput(uint256 swapCalldata, address tokenIn, address tokenOut, uint256 amountIn, uint256 minAmountOut) external returns (uint256 amountOut)Name
Type
Description
swapExactOutput
function swapExactOutput(uint256 swapCalldata, address tokenIn, address tokenOut, uint256 maxAmountIn, uint256 amountOut) external returns (uint256 amountIn)Name
Type
Description
addDexAdapters
Name
Type
Description
transferMarginlyRouterOwnership
Name
Type
Description
acceptMarginlyRouterOwnership
Last updated