mirror of
https://github.com/zoo-apps/fund.git
synced 2026-10-30 14:57:02 +00:00
- Full app extraction from zoo monorepo (source only) - Configured for GitHub Pages deployment - Static export enabled - Custom domain: zoo.fund - Excludes node_modules and build artifacts
33 lines
1.1 KiB
Solidity
33 lines
1.1 KiB
Solidity
// SPDX-License-Identifier: AGPL-3.0
|
|
pragma solidity ^0.8.30;
|
|
|
|
/// @dev the ERC-165 identifier for this interface is `0x51945447`
|
|
interface IERC6551Executable {
|
|
/**
|
|
* @dev Executes a low-level operation if the caller is a valid signer on the account.
|
|
*
|
|
* Reverts and bubbles up error if operation fails.
|
|
*
|
|
* Accounts implementing this interface MUST accept the following operation parameter values:
|
|
* - 0 = CALL
|
|
* - 1 = DELEGATECALL
|
|
* - 2 = CREATE
|
|
* - 3 = CREATE2
|
|
*
|
|
* Accounts implementing this interface MAY support additional operations or restrict a signer's
|
|
* ability to execute certain operations.
|
|
*
|
|
* @param to The target address of the operation
|
|
* @param value The Ether value to be sent to the target
|
|
* @param data The encoded operation calldata
|
|
* @param operation A value indicating the type of operation to perform
|
|
* @return The result of the operation
|
|
*/
|
|
function execute(
|
|
address to,
|
|
uint256 value,
|
|
bytes calldata data,
|
|
uint8 operation
|
|
) external payable returns (bytes memory);
|
|
}
|