Files
smom-dbis-138/contracts/bridge/integration/ICWReserveVerifier.sol
defiQUG 76aa419320 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
2026-04-07 23:40:52 -07:00

22 lines
796 B
Solidity

// SPDX-License-Identifier: MIT
pragma solidity ^0.8.20;
/**
* @title ICWReserveVerifier
* @notice Interface for canonical reserve verification used by the cW hard-peg bridge path.
*/
interface ICWReserveVerifier {
/**
* @notice Verify that a new outbound c* -> cW* lock is still safe after bridge accounting is applied.
* @param canonicalToken Canonical token locked on Chain 138
* @param destinationChainSelector Destination chain selector for the wrapped mint
* @param amount Amount being wrapped
* @return verified True when the outbound lock satisfies all configured reserve checks
*/
function verifyLock(
address canonicalToken,
uint64 destinationChainSelector,
uint256 amount
) external view returns (bool verified);
}