Skip to content

Commit

Permalink
[#4 #13] Update natspec docstring in ISafeProtocolMediator interface
Browse files Browse the repository at this point in the history
  • Loading branch information
akshay-ap committed Jul 3, 2023
1 parent 8f55555 commit ccf7c6e
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions contracts/interfaces/Mediator.sol
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,8 @@ import {SafeRootAccess, SafeTransaction} from "../DataTypes.sol";
*/
interface ISafeProtocolMediator {
/**
* @notice TODO
* @notice This function allows enabled modules to execute non-delegate call transactions thorugh a Safe.
* It should validate the status of the module through the registry and allows only listed and non-flagged components to execute transactions.
* @param safe Instance of a Safe account
* @param transaction SafeTransaction instance containing payload information about the transaction
* @return data Array of bytes types returned upon the successful execution of all the actions. The size of the array will be the same as the size of the actions
Expand All @@ -20,7 +21,8 @@ interface ISafeProtocolMediator {
function executeTransaction(ISafe safe, SafeTransaction calldata transaction) external returns (bytes[] memory data);

/**
* @notice TODO
* @notice This function allows enabled modules to execute delegate call transactions thorugh a Safe.
* It should validate the status of the module through the registry and allows only listed and non-flagged components to execute transactions.
* @param safe Instance of a Safe account
* @param rootAccess SafeTransaction instance containing payload information about the transaction
* @return data Arbitrary length bytes data returned upon the successful execution. The size of the array will be the same as the size of the actions
Expand Down

0 comments on commit ccf7c6e

Please sign in to comment.