QuoterUtils
Functions
parseRevertReason
Parse a revert reason returned from a swap call
function parseRevertReason(bytes memory reason) internal pure returns (uint256);
Parameters
| Name | Type | Description |
|---|---|---|
reason |
bytes |
Bytes reason from revert |
Returns
| Name | Type | Description |
|---|---|---|
<none> |
uint256 |
value Extracted amount |