deposit() function | On-chain | Accepts stablecoin, mints kToken variant, records deposit in ledger. Immutable record. |
| Intent Class flag | On-chain | Stored per deposit in ledger. Cannot be changed after deposit. |
| kToken-fx / kToken-full | On-chain | Two separate ERC-20 contracts per currency, each with own Liquidity Index. |
| Routing Decision Logic | Off-chain (Backend) | Reads pool balances and admin config. Instructs on-chain deposit() with target pool. |
| Pending Queue | Off-chain (Backend) | FIFO queue for overflow deposits. Auto-processes when capacity opens. |
| Admin Config Store | Off-chain (Backend) | Pool thresholds, fee tiers, split ratios. Read by routing engine. Changeable by admin without on-chain tx. |
| Fee Tier Multiplier | Off-chain (config) + On-chain (execution) | Config stored off-chain; fee split calculation executed on-chain in Vault updateIndex(). |
| Overflow Tagging | Off-chain (Backend) | Tags Class B overflow capital in Yield Pool for priority recall. |