@@ -222,6 +222,7 @@ contract SpokePoolPeriphery is SpokePoolPeripheryInterface, Lockable, MultiCalle
222
222
223
223
/**
224
224
* @inheritdoc SpokePoolPeripheryInterface
225
+ * @dev Does not support native tokens as swap output. Only ERC20 tokens can be deposited via this function.
225
226
*/
226
227
function swapAndBridge (SwapAndDepositData calldata swapAndDepositData ) external payable override nonReentrant {
227
228
// If a user performs a swapAndBridge with the swap token as the native token, wrap the value and treat the rest of transaction
@@ -245,6 +246,7 @@ contract SpokePoolPeriphery is SpokePoolPeripheryInterface, Lockable, MultiCalle
245
246
246
247
/**
247
248
* @inheritdoc SpokePoolPeripheryInterface
249
+ * @dev Does not support native tokens as swap output. Only ERC20 tokens can be deposited via this function.
248
250
*/
249
251
function swapAndBridgeWithPermit (
250
252
address signatureOwner ,
@@ -278,6 +280,7 @@ contract SpokePoolPeriphery is SpokePoolPeripheryInterface, Lockable, MultiCalle
278
280
279
281
/**
280
282
* @inheritdoc SpokePoolPeripheryInterface
283
+ * @dev Does not support native tokens as swap output. Only ERC20 tokens can be deposited via this function.
281
284
*/
282
285
function swapAndBridgeWithPermit2 (
283
286
address signatureOwner ,
@@ -310,6 +313,7 @@ contract SpokePoolPeriphery is SpokePoolPeripheryInterface, Lockable, MultiCalle
310
313
311
314
/**
312
315
* @inheritdoc SpokePoolPeripheryInterface
316
+ * @dev Does not support native tokens as swap output. Only ERC20 tokens can be deposited via this function.
313
317
*/
314
318
function swapAndBridgeWithAuthorization (
315
319
address signatureOwner ,
0 commit comments