Documentation
Docs30. DeFi on Kortana
30. DeFi on Kortana
Kortana’s low latency (1.5s blocks) and deterministic finality make it a powerful environment for DeFi.
30.1 AMM / DEX Compatibility (Uniswap V2 Verified)
The Uniswap V2 architecture has been fully verified on the Kortana testnet.
- Factory & Pair Deployment: Works without modification.
- Router Deployment: Ensure you update the
pairForInit Code Hash in the Router to match the hash of the Pair contract compiled by your specific Solidity version. - Liquidity & Swap Verification: The shared state trie ensures atomicity across pools.
30.2 Bridged USDC (USDC.e)
Because Circle does not deploy native USDC on new chains immediately, Kortana utilizes Bridged USDC (USDC.e).
- Contract Architecture: Standard upgradeable ERC-20.
- Roles: The contract strictly separates the
Owner,Master Minter(controls the Bridge Gate),Pauser, andBlocklister. - EIP-2612
permit: Fully supported, allowing gasless token approvals.
30.3 BridgeMinter — Rate-Limited Bridge Gate
To protect the ecosystem from cross-chain bridge hacks, the Master Minter role is not granted directly to a bridge protocol. Instead, it is granted to the BridgeMinter contract, which acts as a security firewall.
- Token-Bucket Rate Limiting: Limits the amount of USDC.e that can be minted within a specific time window.
- Per-Transfer Caps: Absolute limits on a single mint transaction.
- Replay Protection: Strictly enforced nonces for bridge payloads.
- Incident Response: If a bridge is compromised, the
BridgeMinterrate limit prevents the attacker from draining the entire market cap instantly, giving thePausertime to halt the contract.