Skip to main content
Purpose: Single entry point for all user-facing protocol operations.

Description

The Gateway contract serves as the trusted ENTRY_POINT role holder and coordinates interactions between users and the protocol’s internal contracts.

Key Functions

Deposits

Deposits USDC and mints iUSD to the caller.

Redemptions

Burns iUSD and returns USDC to the caller. May queue if reserves are insufficient.

Staking

Stakes iUSD to receive siUSD.

Locking

Locks iUSD for the specified number of weeks to receive liUSD-xw.

Access Control

The Gateway holds the ENTRY_POINT role, enabling it to call internal protocol functions on behalf of users.