-
Notifications
You must be signed in to change notification settings - Fork 20
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[#4] Create SafeProtcolMediator contract
- Loading branch information
Showing
2 changed files
with
37 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,35 @@ | ||
// SPDX-License-Identifier: LGPL-3.0-only | ||
pragma solidity ^0.8.18; | ||
import {ISafeProtocolMediator} from "./interfaces/Mediator.sol"; | ||
import {ISafe} from "./interfaces/Accounts.sol"; | ||
import "./DataTypes.sol"; | ||
|
||
/** | ||
* @title | ||
* @notice | ||
*/ | ||
contract SafeProtocolMediator is ISafeProtocolMediator { | ||
/** | ||
* @notice TODO | ||
* @param safe TODO | ||
* @param transaction TODO | ||
* @return success TODO | ||
* @return data TODO | ||
*/ | ||
function executeTransaction( | ||
ISafe safe, | ||
SafeTransaction calldata transaction | ||
) external view override returns (bool success, bytes memory data) {} | ||
|
||
/** | ||
* @notice TODO | ||
* @param safe TODO | ||
* @param rootAccess TODO | ||
* @return success TODO | ||
* @return data TODO | ||
*/ | ||
function executeRootAccess( | ||
ISafe safe, | ||
SafeRootAccess calldata rootAccess | ||
) external view override returns (bool success, bytes memory data) {} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters