- Archived multiple non-EVM adapters (Algorand, Hedera, Tron, TON, Cosmos, Solana) and compliance contracts (IndyVerifier) to `archive/solidity/contracts/`. - Updated documentation to reflect the historical status of archived components. - Adjusted `foundry.toml` and `README.md` for clarity on historical dependencies and configurations. - Enhanced Makefile and package.json scripts for improved contract testing and building processes. - Removed obsolete contracts (AlltraCustomBridge, CommodityCCIPBridge, ISO4217WCCIPBridge, VaultBridgeAdapter) from the main directory. - Updated implementation reports to indicate archived status for various components.
16 lines
586 B
Solidity
16 lines
586 B
Solidity
// SPDX-License-Identifier: MIT
|
|
pragma solidity ^0.8.20;
|
|
|
|
/**
|
|
* @title IVaultStrategy
|
|
* @notice Interface for vault strategies (deferred implementation)
|
|
* @dev Defined now for forward compatibility
|
|
*/
|
|
interface IVaultStrategy {
|
|
function onDeposit(address token, uint256 amount) external;
|
|
function onWithdraw(address token, uint256 amount) external;
|
|
function onBridgePending(address token, uint256 amount, uint256 estimatedWait) external;
|
|
function execute(bytes calldata strategyData) external;
|
|
function getStrategyType() external pure returns (string memory);
|
|
}
|