Interactions Disabled

Deployed contracts are temporarily disabled and will be redeployed once DAO membership is finalized. Frontend interactions are paused.

USDog Savings Rate

Earn yield by depositing your USDog stablecoins into our savings mechanism

Your Savings Balance
0.0000 USDog
Savings Rate
0% APY
Wallet Balance
0.0000 USDog
Deposit USDogEarn 0% APY
Use the step-by-step process below to deposit your USDog and start earning yield

Available: 0.0000 USDog

Use the manual step-by-step process below to deposit safely.
Withdraw USDog
Withdraw your USDog plus accrued interest

Available: 0.0000 USDog

Step-by-Step Deposit ProcessManual Mode
Execute each step individually to deposit USDog safely
💧

Update Rates

Update savings rate via drip() (required before deposit)

🔓

Approve DaiJoin

Allow DaiJoin to spend USDog tokens

🏦

Join Vat

Convert USDog tokens to dai in the Vat

🔑

Authorize Pot

Authorize the Pot contract to move your dai

💰

Deposit to Pot

Deposit dai into the savings contract

Note: Execute each step in order to deposit your USDog safely into the savings contract.

About the Pot Contract

The Pot contract is a core component of the USDog Savings Rate (USR) system in decentralized finance, specifically enabling USDog holders to earn yield by depositing their stablecoins into a savings mechanism. The contract tracks deposited balances, accrues interest, and allows users to enter or exit the USR system safely, all while managing system-level administration and rate adjustment.

Main Functions and Purpose

The contract lets users deposit USDog stablecoins, building up a normalized balance ("pie") that earns interest at the global savings rate ("dsr").

Interest is tracked via the "chi" rate accumulator, which is updated with regular calls to the "drip" function—this function synchronizes interest accrual to the latest blockchain timestamp and distributes the accumulated interest to all savers.

Depositing (via join) and withdrawing (via exit) operations move the user's USDog to/from the contract, updating tracked balances so accrued interest is reflected mathematically.

Key Features

  • Interest Accrual: The contract accrues interest for all USR participants based on the global savings rate. The interest is distributed proportionally to all users based on their normalized balances.
  • Deposit/Withdrawal: Anyone can deposit USDog to start earning yield or withdraw their principal plus accrued interest at any time after the system is updated.
  • Rate and Administration: Administrators (with auth rights) can set the USR (dsr) value, configure system debt handling, and even "cage" (disable) the contract in emergencies.
  • Security: The contract uses safe math, custom access controls, and special mathematical routines to ensure correct calculation and avoid overflows.

Simplified Flow

Deposit – join(wad): A user deposits USDog, establishing a normalized savings balance (pie) that immediately starts earning at the current USR.
Interest Accrual – drip(): Periodically called to update the global rate accumulator (chi) and distribute new interest to all savers for the elapsed time period.
Withdraw – exit(wad): User withdraws some or all savings, receiving USDog plus interest (calculated using chi).
Admin Controls – file, cage: Management functions for rate adjustment or system shutdown.

USDog Savings Rate – Core Mechanism

FeatureFunctionality Description
Interest AccrualUsers' deposits earn yield based on the USR and time in system
Savings ManagementDeposits and withdrawals update normalized balances
Rate UpdatesThe USR can be changed by authorized parties
ShutdownThe system can be halted through cage()

This mechanism is central to USDog's USR, letting USDog holders benefit from programmable interest while preserving control and security of deposited funds.

Contract Information

Pot Contract Address:0x29A4Fd1E443ab056B09988bd96A6BA567c95D745