diff --git a/contracts/interfaces/IDistribution.sol b/contracts/interfaces/IDistribution.sol index cb16a23..7fd0bc6 100644 --- a/contracts/interfaces/IDistribution.sol +++ b/contracts/interfaces/IDistribution.sol @@ -209,7 +209,7 @@ interface IDistribution { function l1Sender() external view returns (address); /** - * The function to get the amount of deposit tokens that are staked in the pool. + * The function to get the amount of deposit tokens that are staked in all of the public pools. * @dev The value accumulates the amount amount despite the rate differences. * @return The amount of deposit tokens. */ diff --git a/contracts/interfaces/IL2MessageReceiver.sol b/contracts/interfaces/IL2MessageReceiver.sol index 3dd3668..e825f5d 100644 --- a/contracts/interfaces/IL2MessageReceiver.sol +++ b/contracts/interfaces/IL2MessageReceiver.sol @@ -64,16 +64,15 @@ interface IL2MessageReceiver is ILayerZeroReceiver { function setParams(address rewardToken_, Config calldata config_) external; /** - * LayerZero endpoint call this function to check a transaction capabilities. + * The function to call the nonblockingLzReceive. * @param senderChainId_ The source endpoint identifier. * @param senderAndReceiverAddresses_ The source sending contract address from the source chain. - * @param nonce_ The ordered message nonce. * @param payload_ The signed payload is the UA bytes has encoded to be sent. */ function nonblockingLzReceive( uint16 senderChainId_, bytes memory senderAndReceiverAddresses_, - uint64 nonce_, + uint64, bytes memory payload_ ) external;