Skip to content

Commit

Permalink
feat: define delegatecall vouchers
Browse files Browse the repository at this point in the history
  • Loading branch information
guidanoli committed Apr 9, 2024
1 parent 04d4801 commit 54347db
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions contracts/common/Outputs.sol
Original file line number Diff line number Diff line change
Expand Up @@ -22,4 +22,14 @@ interface Outputs {
uint256 value,
bytes calldata payload
) external;

/// @notice A single-use permission to execute a specific delegate call
/// from the context of the application contract.
/// @param destination The address that will be called
/// @param payload The payload, which—in the case of Solidity
/// libraries—encodes a function call
function DelegateCallVoucher(
address destination,
bytes calldata payload
) external;
}

0 comments on commit 54347db

Please sign in to comment.