> ## Documentation Index
> Fetch the complete documentation index at: https://rain-sandbox-trial.mintlify.site/llms.txt
> Use this file to discover all available pages before exploring further.

# Smart Contracts

## EVM

<Update label="v2.04" description="">
  ### Approved Liquidation Destinations

  * Added an admin-approved allowlist for non-treasury liquidation destinations, restricting liquidation proceeds to the treasury or to destinations explicitly approved through signed admin authorization.
</Update>

<Update label="v2.02" description="">
  ### Time-Locked Withdrawals & Wallet Pull Support

  * Introduced time-locked withdrawals, which enforce a mandatory delay before a scheduled withdrawal executes, with controls to cancel a pending request or expedite it when authorized.
  * Added support for pulling approved assets directly from an account holder's wallet into collateral, and for returning those funds through scheduled, time-locked reversals.
  * Extended eligible liquidation destinations beyond the treasury to approved, role-registered addresses.
</Update>

<Update label="v2.01" description="">
  ### Smart Account Support

  * Added ERC-1271 signature validation to enable compatibility with contract-based smart accounts.
</Update>

<Update label="v2.00" description="">
  ### Liquidation Controls & Deterministic Deployment

  * Introduced asset liquidation limits to cap the maximum amount Rain can liquidate per operation.
  * Adopted CREATE2 for deterministic contract deployment, ensuring consistent collateral contract addresses across supported EVM chains.
</Update>

<Update label="v1.00" description="">
  ### Initial Release

  * Deployed the first production version of the EVM-based collateral contract.
</Update>

## Solana

<Update label="v2.02" description="">
  ### Smart Account Support

  * Added support for a unified single-account model, enabling compatibility with smart account abstractions.
</Update>

<Update label="v2.01" description="">
  ### Rent Optimization

  * Reduced admin account list size from 32 to 4 to minimize on-chain rent costs.
</Update>

<Update label="v2.00" description="">
  ### Initial Release

  * Implemented the Solana collateral program aligned with EVM Collateral Contract v2.00 architecture and logic.
</Update>

## Stellar

<Update label="v2.00" description="">
  ### Initial Release

  * Implemented the Soroban-based collateral contract aligned with EVM Collateral Contract v2.00 architecture and functional design.
  * Smart accounts are supported.
</Update>
