feat: bridges, PMM, flash workflow, token-aggregation, and deployment docs
- CCIP/trustless bridge contracts, GRU tokens, DEX/PMM tests, reserve vault. - Token-aggregation service routes, planner, chain config, relay env templates. - Config snapshots and multi-chain deployment markdown updates. - gitignore services/btc-intake/dist/ (tsc output); do not track dist. Run forge build && forge test before deploy (large solc graph). Made-with: Cursor
This commit is contained in:
@@ -0,0 +1,18 @@
|
||||
// SPDX-License-Identifier: MIT
|
||||
pragma solidity ^0.8.19;
|
||||
|
||||
import "../RouteTypesV2.sol";
|
||||
|
||||
interface IRouteExecutorAdapter {
|
||||
function validate(RouteTypesV2.RouteLeg calldata leg) external view returns (bool ok, string memory reason);
|
||||
|
||||
function quote(
|
||||
RouteTypesV2.RouteLeg calldata leg,
|
||||
uint256 amountIn
|
||||
) external view returns (uint256 amountOut, uint256 gasEstimate);
|
||||
|
||||
function execute(
|
||||
RouteTypesV2.RouteLeg calldata leg,
|
||||
uint256 amountIn
|
||||
) external returns (uint256 amountOut);
|
||||
}
|
||||
Reference in New Issue
Block a user