Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 7 additions & 1 deletion contracts/vault_router/src/lib.rs
Original file line number Diff line number Diff line change
@@ -1,6 +1,12 @@
#![no_std]
use soroban_sdk::{contract, contractimpl, Env};

/// VaultRouter is the user-facing entry point for the YieldLadder protocol.
///
/// It routes deposit, withdrawal, and early-exit operations to the appropriate
/// tier vault ( ault_l3, ault_l6, or ault_l12) based on the lock-up
/// period chosen by the user. All share minting and yield accounting is
/// delegated to the selected tier vault.
#[contract]
pub struct VaultRouter;

Expand All @@ -22,4 +28,4 @@ mod tests {
let env = Env::default();
let _id = env.register_contract(None, VaultRouter);
}
}
}
Loading