From 0b8952887168fb40629fcec3a7d59f087706b3d4 Mon Sep 17 00:00:00 2001 From: Hadrien Charlanes Date: Tue, 27 Apr 2021 09:44:18 +0200 Subject: [PATCH] doc: added signature paramters to natspec docs --- contracts/misc/WETHGateway.sol | 4 ++++ contracts/protocol/lendingpool/LendingPool.sol | 2 ++ 2 files changed, 6 insertions(+) diff --git a/contracts/misc/WETHGateway.sol b/contracts/misc/WETHGateway.sol index 1ddceaa0..39ecf909 100644 --- a/contracts/misc/WETHGateway.sol +++ b/contracts/misc/WETHGateway.sol @@ -136,6 +136,10 @@ contract WETHGateway is IWETHGateway, Ownable { * @param lendingPool address of the targeted underlying lending pool * @param amount amount of aWETH to withdraw and receive native ETH * @param to address of the user who will receive native ETH + * @param deadline validity deadline of permit and so depositWithPermit signature + * @param permitV V parameter of ERC712 permit sig + * @param permitR R parameter of ERC712 permit sig + * @param permitS S parameter of ERC712 permit sig */ function withdrawETHWithPermit( address lendingPool, diff --git a/contracts/protocol/lendingpool/LendingPool.sol b/contracts/protocol/lendingpool/LendingPool.sol index a86dc4aa..664b2fe3 100644 --- a/contracts/protocol/lendingpool/LendingPool.sol +++ b/contracts/protocol/lendingpool/LendingPool.sol @@ -247,6 +247,7 @@ contract LendingPool is VersionedInitializable, ILendingPool, LendingPoolStorage * is a different wallet * @param referralCode Code used to register the integrator originating the operation, for potential rewards. * 0 if the action is executed directly by the user, without any middle-man + * @param deadline validity deadline of permit and so depositWithPermit signature * @param permitV V parameter of ERC712 permit sig * @param permitR R parameter of ERC712 permit sig * @param permitS S parameter of ERC712 permit sig @@ -275,6 +276,7 @@ contract LendingPool is VersionedInitializable, ILendingPool, LendingPoolStorage * @param onBehalfOf Address of the user who will get his debt reduced/removed. Should be the address of the * user calling the function if he wants to reduce/remove his own debt, or the address of any other * other borrower whose debt should be removed + * @param deadline validity deadline of permit and so depositWithPermit signature * @param permitV V parameter of ERC712 permit sig * @param permitR R parameter of ERC712 permit sig * @param permitS S parameter of ERC712 permit sig