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
Available: 0.0000 USDog
Available: 0.0000 USDog
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
USDog Savings Rate – Core Mechanism
| Feature | Functionality Description |
|---|---|
| Interest Accrual | Users' deposits earn yield based on the USR and time in system |
| Savings Management | Deposits and withdrawals update normalized balances |
| Rate Updates | The USR can be changed by authorized parties |
| Shutdown | The 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
0x29A4Fd1E443ab056B09988bd96A6BA567c95D745