chore: move single tests to TychoRouterProtocolIntegration.t.sol

They were in TychoRouterSplitSwap.t.sol
Add docs to _balancerOf

Took 2 hours 8 minutes


Took 18 seconds
This commit is contained in:
Diana Carvalho
2025-04-24 13:05:52 +01:00
parent 6b3a26f392
commit fa872f5f0e
3 changed files with 133 additions and 141 deletions

View File

@@ -790,6 +790,9 @@ contract TychoRouter is AccessControl, Dispatcher, Pausable, ReentrancyGuard {
return result;
}
/**
* @dev Gets balance of a token for a given address. Supports both native ETH and ERC20 tokens.
*/
function _balanceOf(address token, address owner)
internal
view