Scaling Swap Calldata With ScaleHelper
For modifying effective amount in on-chain (at most ±5%)
Scale Helper contract
Interface
function getScaledInputData(
bytes calldata inputData,
uint256 newAmount
) external view returns (bool isSuccess, bytes memory newScaledData);How to use
Contract address
📝 Usage Notes
✅ Auto-scaling with Partial Support
⚠️ Handling Failures
🔒 Scaling Restrictions
🔧 Enable/Disable Scale Helper
💡 Upgradeability Notice
Last updated
Was this helpful?