Convert a gross-denominated cap into the face amount the forward consumes.
Composable execution is NET-on-pull (ADR-0026): the program pulls
gross = face + fee from the user, then skims the fee in the input mint.
For a PayAsYouGo policy whose maxChunkAmount binds on GROSS, the forward
can consume at most face = floor(grossCap × 10000 / (10000 + feeBps)).
Convert a gross-denominated cap into the face amount the forward consumes.
Composable execution is NET-on-pull (ADR-0026): the program pulls
gross = face + feefrom the user, then skims the fee in the input mint. For a PayAsYouGo policy whosemaxChunkAmountbinds on GROSS, the forward can consume at mostface = floor(grossCap × 10000 / (10000 + feeBps)).Pure function — no I/O.