Skip to content

Commit

Permalink
Fix Proposals NatSpecs (#11257)
Browse files Browse the repository at this point in the history
  • Loading branch information
m-chrzan authored Oct 16, 2024
1 parent 451def4 commit 79cccad
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions packages/protocol/contracts/governance/Proposals.sol
Original file line number Diff line number Diff line change
Expand Up @@ -169,6 +169,10 @@ library Proposals {
executeTransactions(proposal.transactions);
}

/**
* @notice Executes a list of transactions.
* @param transactions The transactions to execute.
*/
function executeTransactions(Transaction[] memory transactions) internal {
for (uint256 i = 0; i < transactions.length; i = i.add(1)) {
require(
Expand Down Expand Up @@ -219,6 +223,7 @@ library Proposals {
* @param dataLengths The lengths of each transaction's data.
* @param proposer The proposer.
* @param deposit The proposal deposit.
* @return The constructed proposal struct.
*/
function makeMem(
uint256[] memory values,
Expand Down Expand Up @@ -275,6 +280,7 @@ library Proposals {
* @return transaction Transaction count.
* @return description Description url.
* @return networkWeight Network weight.
* @return Approval status.
*/
function unpack(
Proposal storage proposal
Expand Down

0 comments on commit 79cccad

Please sign in to comment.