Skip to content
docs

kyberExactAllowanceOnly

kyberExactAllowanceOnly(chain): boolean

Defined in: protocol-swap2-kyberswap/src/router.ts:324

The provider’s exactAllowanceOnly (protocol-swap2-core): true on the chains whose router is the generic build — swapGeneric behind an owner-managed executor whitelist, so the router’s owner (a single key on all but Linea) could make it spend an allowance left on it. The engine then approves exactly the input and revokes it when the swap does not spend it, whatever the app’s allowanceReuse / revokeUnspentApproval say. False on the lite chains; true for a chain this module does not know (fail closed).

string

boolean