Skip to content
docs

KyberRouterBuild

KyberRouterBuild = "generic" | "lite"

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

Router build on a chain. generic: the 2022 build (18.6 KB) with swapGeneric and an owner-managed whitelist — its owner can make the router call any whitelisted contract, so an allowance left on it is exposed to that owner. lite: the later build (13.7 KB) without swapGeneric and without the whitelist. Both share swap(). Read on-chain 2026-11-24 (eth_getCode, selectors in the bytecode, owner(); how-to-project/kyber-data).