How the Storage Fund Works
The storage fund maintains a balance that represents the cost of storing all current on-chain objects:Two Components
Total Object Storage Rebates
Sum of storage rebates for all active objects. Flows in when objects are created, flows out when deleted.
Non-Refundable Balance
Permanent fund from non-refundable fees and other inflows. Used for long-term storage sustainability.
Storage Fund Lifecycle
Object Creation
Object Deletion
Epoch Processing
Economic Flow
Querying Storage Fund
Why This Matters
- Sustainability
- Incentives
- Scalability
Traditional blockchains face a tragedy of the commons:
- Validators must store all data forever
- Users pay once but impose perpetual costs
- System becomes unsustainable
- Users essentially “rent” storage
- Deleting data returns most of the cost
- Long-term costs covered by non-refundable fees
Example: Object Lifecycle
Impact on Gas Costs
Storage costs are separate from computation:Storage Fund Inflows and Outflows
Inflows
Storage Charges
Storage Charges
Fees paid when creating or expanding objects
Non-Refundable Fees
Non-Refundable Fees
Portion of storage rebates kept by the system
Staking Reward Overflow
Staking Reward Overflow
Excess staking rewards beyond distribution needs
Storage Fund Reinvestment
Storage Fund Reinvestment
Returns from fund investments (if implemented)
Outflows
Storage Rebates
Storage Rebates
Refunds when objects are deleted or shrunk
System Operations
System Operations
Potential use for network-wide storage costs
Monitoring Storage Costs
Best Practices
Design for storage efficiency
Design for storage efficiency
Implement cleanup mechanisms
Implement cleanup mechanisms
Use dynamic fields wisely
Use dynamic fields wisely
Long-Term Sustainability
The storage fund ensures Sui can scale sustainably:- Bounded Growth: Storage costs prevent spam
- Economic Viability: Validators compensated for storage
- User Incentives: Delete unused data to recover funds
- Permanent Fund: Non-refundable fees accumulate for future needs
Related Topics
Gas Mechanism
Understand gas costs
Object Storage
How objects are stored
SUI Token
Learn about SUI