Theta Syndicate
Pool - Earn - Rotate - Cheat Proof
Created on 29th January 2026
•
Theta Syndicate
Pool - Earn - Rotate - Cheat Proof
The problem Theta Syndicate solves
Traditional group savings (arisan) in Indonesia rely entirely on trust — one default destroys the entire pool. There's no enforcement, no transparency, and no accountability.
Meanwhile, most DeFi users hold stablecoins in wallets without deploying them into sustainable yield opportunities. Option vaults like Thetanuts Finance offer 15-20% APY from selling option premiums, but they're too complex and require large capital for individual retail users.
Theta Syndicate solves all of this:
- Broken Trust → Smart contract enforcement replaces human trust. No one can cheat — it's enforced by code.
- Idle Stablecoins → Pooled capital is deployed to Thetanuts Finance vaults, earning option premium yield automatically.
- High Capital Barrier → Group pooling makes option vault strategies accessible to smaller participants.
- Complex DeFi UX → Users just join a syndicate — the protocol handles vault deposits, epoch management, and rotating payouts.
- No Yield in Arisan → Unlike traditional arisan where money sits idle, every dollar in Theta Syndicate earns yield — including the 125% commitment fee.
The 125% commitment fee model uses game theory to make cheating mathematically unprofitable. If you receive your payout and try to run, you lose more than you gained. No trust needed — just math.
Challenges I ran into
1. Modeling Thetanuts Vault Epoch System
Thetanuts Finance uses a weekly epoch cycle with 3 phases (DepositOpen → Locked → Settlement). Deposits during the Locked phase are queued as pending. Building a MockThetanutsVault that accurately simulates this behavior — including pending deposits, pending withdrawals, and premium distribution at settlement — was the most complex part of the smart contract work.
2. Designing a Cheat-Proof Commitment Model
The original design allowed freely configurable commitment amounts, but we realized the first payout recipient could profitably run away (e.g., receive 1,000 USDC payout but only lose 100 USDC commitment). We had to rethink the entire game theory model and landed on the 125% auto-calculated commitment fee — ensuring cheating always results in a net loss.
3. ERC-4626 Integration with Rotating Payouts
Combining an ERC-4626 vault (designed for individual depositors) with a group rotation system required careful accounting. Contributions and commitment fees both get deployed to the vault, and we had to track shares, yields, and penalties separately per member while maintaining a single vault position.
4. ABI Mismatch After Contract Updates
After changing from configurable
commitmentAmount
to auto-calculatedgetCommitmentFee()
, the deployed contracts on Base Sepolia had a different ABI than the frontend expected. This caused client-side errors on Vercel. We had to redeploy all contracts and update fallback addresses in the frontend code.5. Gasless UX with Base Paymaster v0.4
Integrating Base Paymaster for gasless transactions required EIP-5792 compatible calls. The 2-step approval flow (Approve USDC → Execute Transaction) had to work seamlessly with the paymaster, which took several iterations to get right with Wagmi v2 and OnchainKit.
Tracks Applied (1)
