Skip to content

Commit

Permalink
Fixed comments
Browse files Browse the repository at this point in the history
  • Loading branch information
RuslanProgrammer committed Jan 22, 2024
1 parent 4ee252a commit 4845eb5
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 4 deletions.
2 changes: 1 addition & 1 deletion contracts/interfaces/IDistribution.sol
Original file line number Diff line number Diff line change
Expand Up @@ -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.
*/
Expand Down
5 changes: 2 additions & 3 deletions contracts/interfaces/IL2MessageReceiver.sol
Original file line number Diff line number Diff line change
Expand Up @@ -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;

Expand Down

0 comments on commit 4845eb5

Please sign in to comment.